Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: sigtau on May 04, 2009, 12:52:11 pm

Title: Replacing builtin messages
Post by: sigtau on May 04, 2009, 12:52:11 pm
I need to replace some of the built-in messages with some of my own voice acting from various sources.

How would I go about replacing builtin messages?
Title: Re: Replacing builtin messages
Post by: karajorma on May 04, 2009, 12:59:02 pm
Messages.tbl is where they all live.
Title: Re: Replacing builtin messages
Post by: Mobius on May 04, 2009, 01:01:16 pm
[mobius]All you need to do is editing the messages.tbl table. I'm attaching the retail one to this post so that it's easier for you to get it. It can be easily extracted from the root VP in your FreeSpace 2 directory by using a dedicated program, like VP View. :)

Open the table with Notepad and make the changes you want to make. Please note that, if you alter the text, it's appropriate to change the numbers you see at the end of every entry and replace them with "-1" (without the quotes). Doing that prevents people who changed language via the registry (and switched to, let's say, German or French) to get retail texts instead of the ones you created.

Finally, it's worth noting that you need to install the new table as a mod - check Karajorma's FreeSpace FAQ (you can find a link in my signature) and look for the installing mods tutorial. The modified table will go in <YourModFolder>/data/tables. Note how you need to create subfolders if you want your mod to work properly. :)[/mobius]

[attachment deleted by evil Tolwyn]
Title: Re: Replacing builtin messages
Post by: sigtau on May 04, 2009, 02:25:02 pm
If I want to mod my FSO copy, can my mod and the MediaVPs coexist together so that I have the nice graphics and my campaign?
Title: Re: Replacing builtin messages
Post by: General Battuta on May 04, 2009, 02:32:41 pm
Yes. Use a mod.ini.

You really need to play more campaigns, my friend. You've got Inferno, right? You can take a look at the Inferno messages.tbl to see how they did things, I believe?
Title: Re: Replacing builtin messages
Post by: karajorma on May 04, 2009, 02:39:10 pm
The process for creating a mod.ini is explained in my FAQ. Admittedly there it's for installing a mod but the process is pretty much the same if you are making one.