Built-In Strings that can be used for objective scripts

These are used for the 'objective' scripts. Not on the prop object itself.

Entity Tooltips

Use these when destroyable prop objects need a tooltip Only use these when the prop object is not an objective

Adding strings of your own, that are not here

You can also add as many custom strings as you want to your map, to serve as objective indicators or text for tooltips etc.

Simply create a file called "localstrings.csv" in your map folder. You may edit it with any text editor, but if you have a spreadsheet editor like OpenOffice calc or MS Excel, you can use that

each line of the document must look like this

[kp],STRING,<text>,<category>,<actual text user sees>,end

The categories are TXT, TT_HEAD, TT_BODY - for 'text', 'tooltip heading', and 'tooltip body'

So a full objective entry might look like this:

[kp],STRING,OBJ_DESTROYTURRET,TXT,"Destroy this turret to win",end
[kp],STRING,OBJ_DESTROYTURRET,TT_HEAD,"Destroy the turret",end
[kp],STRING,OBJ_DESTROYTURRET,TT_BODY,"If you wish to win, this turret must be destroyed.",end 

Tips:

Objective Strings (last edited 2007-08-03 18:25:34 by VekTuz)