Overcome text limitation

titoufred

Member!
Joined
Feb 11, 2004
Messages
18
Reaction score
0
Website
Visit site
Does anybody know how to overcome the text limitation for UMS maps ?

The number of text strings used for comments, displays, location names, briefings... is limited (to 256 i think).
If you try to add more text you get a blank (SEditor,Starforge1) a warning (SCXE) or you crash the program (Starforge2).
I noticed with Starforge that texts used in triggers that have been deleted are still in the text list, occupying space for nothing.
Does anybody know how to get rid of old texts ?
 

eX-reaver

BattleForums Junior Member
Joined
Jan 23, 2004
Messages
117
Reaction score
0
Location
Australia,N.S.W
Website
www.I RULE.com
well im thinking that you cant get rid of teh text becuase its permanent and just search around in starfroge theres a little menu thingy that can change the number of units locations etc placed on a map.

well i think
 

Bolt Head

Member!
Joined
May 20, 2003
Messages
1,194
Reaction score
0
Website
www.shadowfortress.net
Thats not what that is in starforge. Those are simply there to reduce lag by setting them to lower values.

The String limite is 1024 by the way, You should be able to delete all strings just by delete what made them except Wavs and maybe renamed switches.
 

Heimdal

Member!
Joined
Jul 4, 2003
Messages
342
Reaction score
0
I didn't add a delete string feature to the string table because you could do some pretty nasty things if you didn't use it right.

One thing you can do is make a new trigger that uses your old string (they will all be listed in the parameter list) and then after saving it, changing the string in either the string table or the trigger editor.

If you use any string more than once in the trigger editor it will only take up one string (SE and SCXE will have it take two). You may be able to use this to squeeze a few more strings into your map.

Just a note: if you double-click on an item in the usage list of the string table, it will open the appropriate editor for it. So, if there is a string used in a display text, comment, or transmission, you can double-click it and it will open the trigger editor for the trigger that uses it.
 

Heimdal

Member!
Joined
Jul 4, 2003
Messages
342
Reaction score
0
If more than one trigger uses it, there will be more than one entry in the usage list, along with the index of the trigger that uses it. The one you double-click is the one that it opens.

You double click an item in the usage list, not the string list.
 

titoufred

Member!
Joined
Feb 11, 2004
Messages
18
Reaction score
0
Website
Visit site
Ok thank you all

Some remarks:

1. I have a string that I use 10 times and it occupies 10 slots (of the 1024). I guess I should have used starforge...

2.Deleting the triggers does not make more space in the text list.

3.I tried to make a new trigger that uses the old strings then change the string in the trigger editor, but it does not work, i just get a blank.(I already use 1024 strings)

4.I tried to save the triggers and load them in a map that has no triggers and it works! the unused strings are deleted but there is an issue with the locations (see my other post). I did not find an editor that deals with Save/Load Triggers that have locations correctly.


2 questions.

1)How can I change a text in the string table ?

2)What is the usage list mentioned by Heimdal?
 

Heimdal

Member!
Joined
Jul 4, 2003
Messages
342
Reaction score
0
Here:
 

titoufred

Member!
Joined
Feb 11, 2004
Messages
18
Reaction score
0
Website
Visit site
Ok
I never knew starforge had this feature that is accesible by an icon only...
THANK YOU for all your work.
 

Heimdal

Member!
Joined
Jul 4, 2003
Messages
342
Reaction score
0
Yeah, I forgot to add it to the scenario menu.:rolleyes: It'll be there in the next release.
 

titoufred

Member!
Joined
Feb 11, 2004
Messages
18
Reaction score
0
Website
Visit site
I finally succeeded, thanks heimdal.

To recover place lost in string table (which is limited to 1024) with old triggers:

1.Use Starforge2

2.Find an unused string (remaining from an old trigger) by browsing the string list in the trigger editor.

3.Create a trigger using this unused string.

4.Change the old string by the one you really want to use in STRING TABLE EDITOR (not the trigger editor). Don't forget to save by clicking in the string list on the left.

that's it !
thanks starforge2.
PS:it would be cool if the string table was automatically purged of unused strings...
 

New threads

Top