so I saw in the ***c_Con.lua that there was a place with the names of the CP's, can those be changed from the numbers to names maybe?
And if so where all would I have to change to get the names to show up ingame?
Changing CP names?
Moderator: Moderators
- matax91
- Recruit Womprat Killer
- Posts: 13
- Joined: Mon Feb 09, 2009 11:32 pm
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Changing CP names?
CP name and numbers are only relevant in the game in two places. One, is the number you're referring to, which each CP must have to be represented on the minimap. (You also need to learn the difference between an integer and a string and what they mean in programming terms. The function must have an integer input in this case.)
The second place that a CP name shows up is if you are following THIS tutorial found in the FAQ thread that lets the actual names that you give the CPs to pop up when they change hands.
The second place that a CP name shows up is if you are following THIS tutorial found in the FAQ thread that lets the actual names that you give the CPs to pop up when they change hands.
- matax91
- Recruit Womprat Killer
- Posts: 13
- Joined: Mon Feb 09, 2009 11:32 pm
Re: Changing CP names?
so there isn't a way to change the way the function wants the input from integer to string?
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Changing CP names?
Functions are hard coded into the executable.
- matax91
- Recruit Womprat Killer
- Posts: 13
- Joined: Mon Feb 09, 2009 11:32 pm
Re: Changing CP names?
ah darnit, oh well, thx anyway
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Changing CP names?
What function are you guys talking about?
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Changing CP names?
A really bad memory I suppose.[RDH]Zerted wrote:What function are you guys talking about?
Thanks for making me check what I was saying. Yes, the function in the Lua does take a string and that is the name you assign in ZE. However, the essence of what I was saying should still stand. As far as I know, you can't change the integer numbers on the minimap to names, and the only way for the names of the command posts to matter are through the link I posted.
Checking myself does leave a question though, how does the game assign numbers to the command posts for the minimap? From what I could gather, after listing the command posts in number order in the Lua, cp1 showed up as "2" on the minimap, and cp3 showed up as "0."
