[?] control point names

Making or wanting help making your own asset? Check in here
Post Reply
xxcarpathia
Posts: 59
Joined: 2006-08-12 02:24

[?] control point names

Post 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"?
azreal64
Posts: 188
Joined: 2008-02-10 20:21

Re: control point names

Post 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.
Retired Forgotten Hope 2 Developer
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

Re: control point names

Post 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.
Image
Post Reply

Return to “PR:BF2 Community Modding”