More than one cp in space maps [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
daniel
Master Sergeant
Master Sergeant
Posts: 167
Joined: Sun Mar 22, 2009 12:21 pm

More than one cp in space maps [Solved]

Post by daniel »

hello,
how can i make mmore than one cp in space maps(Diet Dr. Pepper, cmn) ? (This question especially concerns the lua stuff).
User avatar
eliminator
Second Lance Corporal
Second Lance Corporal
Posts: 118
Joined: Wed Aug 19, 2009 3:39 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: more than one cp in space maps

Post by eliminator »

you select a cp and select in the left toolbar "place" and place it like the other object, but you must place it very high
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: more than one cp in space maps

Post by Darth_Spiderpig »

daniel wrote:(This question especially concerns the lua stuff).
eliminator wrote:you select a cp and select in the left toolbar "place" and place it like the other object
:lol:

For the LUA stuff: I think you have to add it like a normal command post
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: more than one cp in space maps

Post by Fiodis »

Assuming you have another ship to place the CP in, you'd also need this.
User avatar
daniel
Master Sergeant
Master Sergeant
Posts: 167
Joined: Sun Mar 22, 2009 12:21 pm

Re: more than one cp in space maps

Post by daniel »

i know how to add cps in ZE :wink: , but i meant how can i add them in the lua scripts, since the _Diet Dr. Pepper and _cmn scripts are a lot different than the normal conquest-scripts, meaning that the _Diet Dr. Pepper scripts don't have the cp-lines.

And no i don't have two ships, i just want more than one cp in my Imp-ship, since i've expanded the inside of the ship a bit 8)
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: more than one cp in space maps

Post by Fiodis »

Looking through the stock space luas, none of them call for any CPs. If a stock lua doesn't call for something, you can be reasonably sure that yours doesn't have to. Try it without adding them to the lua, just set their team in ZE and all (and be sure to place uncapturable ones).
User avatar
daniel
Master Sergeant
Master Sergeant
Posts: 167
Joined: Sun Mar 22, 2009 12:21 pm

Re: More than one cp in space maps

Post by daniel »

well i did that. i don't an error log, and the cp does show up in-game and all....but i can't spawn from them (can't even click on them). Do you know what to do ?
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: More than one cp in space maps

Post by Darth_Spiderpig »

Darth_Spiderpig wrote:For the LUA stuff: I think you have to add it like a normal command post
Try it, maybe that is it :| :wink:
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: More than one cp in space maps

Post by Fiodis »

daniel wrote:well i did that. i don't an error log, and the cp does show up in-game and all....but i can't spawn from them (can't even click on them). Do you know what to do ?
Double-check your spawn path placement and reference in the CP's properties box. Remember, it's case-sensitive and capital and lower case letters look almost the same in ZE, so it's tricky to tell.
User avatar
daniel
Master Sergeant
Master Sergeant
Posts: 167
Joined: Sun Mar 22, 2009 12:21 pm

Re: More than one cp in space maps

Post by daniel »

ahh thanks for advise :D . yes, it was my mistake, i forgot to hit the space bar at one point. :yes:
hmmm.. kinda annoying that u just have to forget one little thing to make something completely not work :cpu: .....

thanks again
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: More than one cp in space maps [Solved]

Post by Fiodis »

You wouldn't believe how many times I was foiled by forgetting to capitalize something or adding an extra space.

Glad to have been of assistance.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: More than one cp in space maps [Solved]

Post by MercuryNoodles »

Space maps don't need to lua reference CPs because the stock ones (as well as the ones created by VM) don't have a Conquest mode that would require it. If I remember correctly, the lua reference is only necessary for the victory timer.
Post Reply