Page 1 of 1

[?] control point names

Posted: 2009-02-21 21:50
by xxcarpathia
control point names!

I put a few new control points on my map, you have to use "_" as a space for the names
i.e. "USMC_Main"

Why does it show up like this in game instead of like "USMC Main"?

Re: control point names

Posted: 2009-02-21 22:47
by azreal64
First, just place and name all your control points like normal. Something like cp_name_64 would work. Then go into your map's level directory. Go here: GameModes>gpm_64>64. You should see a file called GamePlayObjects.con. Open it and scroll down towards the bottom until you see something like this.
Spoiler:
rem [ControlPointTemplate: cp_sidi_saleh_64]
ObjectTemplate.create ControlPoint cp_sidi_saleh_64
ObjectTemplate.activeSafe ControlPoint cp_sidi_saleh_64
ObjectTemplate.modifiedByUser "Mike"
ObjectTemplate.setNetworkableInfo ControlPointInfo
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
rem -------------------------------------
ObjectTemplate.addTemplate flagpole
rem -------------------------------------
ObjectTemplate.setControlPointName "Sidi Saleh"
ObjectTemplate.radius 10
ObjectTemplate.team 2
ObjectTemplate.controlPointId 101
ObjectTemplate.hoistMinMax 0.2/0.9

The part in bold is what you change to what you want the flag's actual name to be ingame and that should be it.

Re: control point names

Posted: 2009-02-22 00:55
by AncientMan
Your supposed to have _'s in the cp name, then define the name in localisation. But I guess the above method would work fine for a custom map.