String files

For Descent, Descent II and Descent3 level editing and modification assistance.
Post Reply
User avatar
Jon the Great
DBB Captain
DBB Captain
Posts: 538
Joined: Fri Nov 28, 2003 3:01 am
Location: California

String files

Post 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?
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Post by Sirius »

Uhm... yes, custom strings can be used... but they only require some scripting, not special tools.
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post 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
User avatar
Jon the Great
DBB Captain
DBB Captain
Posts: 538
Joined: Fri Nov 28, 2003 3:01 am
Location: California

Post 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..
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post 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.
User avatar
Skyalmian
DBB Admiral
DBB Admiral
Posts: 1722
Joined: Wed Aug 18, 1999 2:01 am

Post by Skyalmian »

Only way to get your SP MN3 level to use the string file is to use the -mission command line.
User avatar
Jon the Great
DBB Captain
DBB Captain
Posts: 538
Joined: Fri Nov 28, 2003 3:01 am
Location: California

Post by Jon the Great »

Darn.
Well thanks for your help guys, I appreciate it.
User avatar
Interceptor6
DBB Ace
DBB Ace
Posts: 138
Joined: Sat Mar 01, 2003 3:01 am
Location: baton rouge, LA, USA

Post 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
User avatar
Jon the Great
DBB Captain
DBB Captain
Posts: 538
Joined: Fri Nov 28, 2003 3:01 am
Location: California

Post 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?
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy »

I believe that's a client-side stringtable modification.
Post Reply