Editing/Modding‎ > ‎

Available Tooltip Text and Objective Text

(Built-In Strings that can be used for objective scripts)

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

  • OBJ_DESTROYTURRET
  • OBJ_DESTROY_SUBGATECONTROL
  • OBJ_DEFEND_SUBGATECONTROL
  • OBJ_REPAIRBOUNCER
  • OBJ_CAPTURESURFACE
  • OBJ_DEFENDSURFACE
  • OBJ_MOVEHERE
  • OBJ_DEFENDHERE
  • OBJ_ATTACKCOMMANDCENTER
  • OBJ_DEFENDCOMMANDCENTER
  • OBJ_CONTROLGATECONTROL
  • OBJ_HC_DEFEND_LARGE
  • OBJ_HC_DESTROY_LARGE
  • OBJ_HC_DEFEND
  • OBJ_HC_DESTROY
  • OBJ_JA_DEFEND_WALL
  • OBJ_JA_ATTACK_WALL
  • OBJ_REPAIR
  • OBJ_DESTROY
  • OBJ_CAPTURE
  • OBJ_HCNEXUS_GOHERE
  • OBJ_HCNEXUS_DEFEND
  • OBJ_HENERGY_ELIMINATE_OPPOSING_TEAM
  • OBJ_RSHSTN_CAPTURE
  • OBJ_DC_DEFEND
  • OBJ_DC_DESTROY

Entity Tooltips

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

  • ENTITY_TOOLTIP_SURFACEBEACON_CPT
  • ENTITY_TOOLTIP_BOUNCER
  • ENTITY_TOOLTIP_FORCEWALL_CPT
  • ENTITY_TOOLTIP_TURRET_CPT
  • ENTITY_TOOLTIP_TURRET_NOCAP
  • ENTITY_TOOLTIP_BONUSZONE_SHIELD
  • ENTITY_TOOLTIP_BONUSZONE_PRODUCTION
  • ENTITY_TOOLTIP_BONUSZONE_PRODUCTION_200
  • ENTITY_TOOLTIP_BONUSZONE_REPAIR
  • ENTITY_TOOLTIP_BONUSZONE_PROJDAMAGE
  • ENTITY_TOOLTIP_BONUSZONE_PROJDAMAGE_150
  • ENTITY_TOOLTIP_FORCEWALL_SUBGATE
  • ENTITY_TOOLTIP_FORCEWALL_ARENA
  • ENTITY_TOOLTIP_FORCEWALL_DESTROY
  • ENTITY_TOOLTIP_FORCEWALL_CONTROLLED
  • ENTITY_TOOLTIP_GATESWITCH
  • ENTITY_TOOLTIP_CTRL_BONUS_REPAIR
  • ENTITY_TOOLTIP_FORCEWALL_DESTROY_ONCE
  • ENTITY_TOOLTIP_SUPPLY_STATION

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:

  • The file must be in your map folder and must be called "localstrings.csv"
  • Entity tooltips only need the TT_HEAD and TT_BODY
  • Try to avoid using quotes "" in it.
  • The auto packager will automatically include CSVs with your map
  • Use the built-in strings if you possibly can, as they might be localized to other languages more easily in the future.
Comments