
08-26-2002, 03:09 PM
All of that is controlled by the "localization.txt" file.
Just search the forums for "localization.txt" and you're bound to pull up a bunch of information about it.
Basically, you go into your pak6.pk3 file and grab the "localization.txt" file from the \global\ folder. If you do search the forums you'll see a lot of references to "pak3.pk3" but if you pull the file from there, it's an old version. The one being used after patch 1.11 is in the pak6.pk3. Then you create your own \global\ folder in your \main\ folder and put the "localization.txt" file in there. Now you can go in and modify any of the lines you want.
Inside the "localization.txt" file each line will look similar to this:
{"Hey buddy! Get down!" "Hey buddy! Get down!"}
So to change the message you need to edit THE SECOND part of the line so its like this:
{"Hey buddy! Get down!" "You're going to die! Duck!"}
And in the game players will see whats in the second part.
If you change a line and it doesn't work, then look at the message in the game very carefully and then look at the "localization.txt" file again and compare the two. The first part of the line has to match EXACTLY how it looks in the game.. even capitalization. There's a bunch of typos in that "localization.txt" so you might have to fix some of the lines yourself to get it to work. Sometimes the actual game will use a "." instead of the "!" that the "localization.txt" file uses so you have to fix it in the file. Or there might be 2 spaces between some words and the "localization.txt" file only has one. Also, several of the lines have "&&&" where its supposed to print someone's name. You need to remove those if you want to change those particular messages.. for instance (this is just an example, I can't think of any of the real entries):
{"was killed by &&&" "was killed by &&&"}
If you want to change the death message you need to do it like this:
{"was killed by" "was shot by"}
Otherwise you're custom message won't work.. there's only a few instances that use "&&&"'s in them, so you shouldn't have too much a problem with it.
So that should get you on your way.. good luck..
|