Page 1 of 1

String files

Posted: Sun Oct 10, 2004 11:58 pm
by Jon the Great
How do you use Unstrung?
What do you do with the files?
Can custom strings be used in a multiplayer level?

I'm really clueless on this one. Is there a tutorial on this somewhere?

Posted: Mon Oct 11, 2004 3:19 am
by Sirius
Uhm... yes, custom strings can be used... but they only require some scripting, not special tools.

Posted: Mon Oct 11, 2004 7:10 am
by DCrazy
In my experience Unstrung screws up string tables. Open up Anarchy.str, which comes with the D3-SDK, and you'll see exactly what the format of a string table is. Basically each line looks something like this:

!=! The text of the string

Posted: Mon Oct 11, 2004 7:59 pm
by Jon the Great
So if i wanted to replace one of the HUD messages in DMFC.str for a particular multiplayer level could I just edit the file and include it in the mn3?

I tried it and I got an error saying it couldn't find the right string..

Posted: Mon Oct 11, 2004 8:10 pm
by DCrazy
No, you can only do that if you load the string table in a D3M (a mod). D3 automatically loads its own string table in singleplayer, and in multiplayer the mod is responsible for loading the string table. Check to see if there is a DALLAS function for loading a string table.

Posted: Mon Oct 11, 2004 8:39 pm
by Skyalmian
Only way to get your SP MN3 level to use the string file is to use the -mission command line.

Posted: Tue Oct 12, 2004 11:18 pm
by Jon the Great
Darn.
Well thanks for your help guys, I appreciate it.

Posted: Wed Oct 13, 2004 3:44 pm
by Interceptor6
Actually, the easiest way to edit the string files is to Extract all of the .str files from D3.hog, edit them with notepad, and put them in your mn3. I never could figure out how to get unstrung to work either. Its easier to just do it the old fashioned way. :P

Posted: Mon Oct 18, 2004 5:48 pm
by Jon the Great
I'd like to revist this topic if I may,

Would it work to have just the server that is hosting the level run the custom string? Not the client?

Also I've noticed some people have custom chat messages in game. Like instead of the hud showing:
Jon the Great says: hi
it would say:
Jon the Great just has to say: hi

How is that accomplished?

Posted: Mon Oct 18, 2004 6:22 pm
by DCrazy
I believe that's a client-side stringtable modification.