Page 1 of 1
Command Post name change (e.g., changing "cp1" to "Outpost")
Posted: Sat Dec 06, 2008 5:43 pm
by Superm9
Ok, I don't know if this has been mentioned/addressed somewhere else (if so, please forgive me!

)
I am wondering if it is possible to change the command post names to something besides cp1, cp2, etc. For example, in SWBF 1, the cp's had names like "Reactor" or "Hallway"; I'm looking for something like that. I tried messing around with it in ZE and the lua, but I always either achieved a crash, or no ai spawning in...
Any help would be appreciated.

Re: Command Post name change (e.g., changing "cp1" to "Outpost")
Posted: Sat Dec 06, 2008 5:48 pm
by destos
http://www.gametoast.com/forums/viewtop ... =27&t=7972
there ya go.... it was in the everything u need thread.....
Re: Command Post name change (e.g., changing "cp1" to "Outpost")
Posted: Sat Dec 06, 2008 6:45 pm
by Aman/Pinguin
That doesn't have anything to do with his question.
Re: Command Post name change (e.g., changing "cp1" to "Outpost")
Posted: Sat Dec 06, 2008 6:52 pm
by Superm9
I already read that tut, but it didn't mention changing the names.
Re: Command Post name change (e.g., changing "cp1" to "Outpost")
Posted: Mon Dec 08, 2008 10:17 pm
by Maveritchell
Aman/Pinguin wrote:
That doesn't have anything to do with his question.
Superm9 wrote:I already read that tut, but it didn't mention changing the names.
Then did we read the same tutorial or do I have a gross misunderstanding of what you're trying to do?
Because that tutorial tells you exactly how to make CP messages pop up saying "CIS has captured the etc..." whenever teams capture or lose a post, and that would be the only time you'd be able to see any names for a command post.
Re: Command Post name change (e.g., changing "cp1" to "Outpost")
Posted: Mon Dec 08, 2008 10:22 pm
by Fluffy_the_ic
Well, there was never an outcome posted in that topic, so does that mean it didnt work?
Re: Command Post name change (e.g., changing "cp1" to "Outpost")
Posted: Tue Dec 09, 2008 12:15 am
by Maveritchell
That's the right way to do it. I can't say for sure if that exact code worked, but they're in essence posting everything you need to do it.
Re: Command Post name change (e.g., changing "cp1" to "Outpost")
Posted: Tue Dec 09, 2008 9:11 am
by RogueKnight
I think what he means is that he wants to change the ACTUAL cp name, not the sound effects. He wants it to say "Outpost" on the map instead of cp1.
Re: Command Post name change (e.g., changing "cp1" to "Outpost")
Posted: Tue Dec 09, 2008 9:15 am
by Soulshard
Superm9 wrote:in SWBF 1, the cp's had names like "Reactor" or "Hallway"; I'm looking for something like that.
Never played SWBF 1, if you just want to rename command posts names, just like weapons or characters, can't you just use localizing tools?
DarthRogueKnight wrote:I think what he means is that he wants to change the ACTUAL cp name
I thought exactly the same.
Re: Command Post name change (e.g., changing "cp1" to "Outpost")
Posted: Tue Dec 09, 2008 9:28 am
by Aman/Pinguin
Soulshard wrote:
DarthRogueKnight wrote:I think what he means is that he wants to change the ACTUAL cp name
I thought exactly the same.
Same.
For the CP Messages use this code (change the things which are marked) and don't forget to localize it.
This will detect every CP-capture. If the CP which has (in ZE) the name "cp2" gets captured, the game will search for this localize string:
(Teamnumber will be
2 in this example and the teamname
cis. 3-Letter-Name (MODID) is XYZ here.)