Page 1 of 1

More than one cp in space maps [Solved]

Posted: Sat Oct 17, 2009 12:35 pm
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).

Re: more than one cp in space maps

Posted: Sat Oct 17, 2009 1:57 pm
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

Re: more than one cp in space maps

Posted: Sat Oct 17, 2009 2:01 pm
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

Re: more than one cp in space maps

Posted: Sat Oct 17, 2009 2:05 pm
by Fiodis
Assuming you have another ship to place the CP in, you'd also need this.

Re: more than one cp in space maps

Posted: Sat Oct 17, 2009 2:17 pm
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)

Re: more than one cp in space maps

Posted: Sat Oct 17, 2009 2:21 pm
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).

Re: More than one cp in space maps

Posted: Sat Oct 17, 2009 3:50 pm
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 ?

Re: More than one cp in space maps

Posted: Sat Oct 17, 2009 3:55 pm
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:

Re: More than one cp in space maps

Posted: Sat Oct 17, 2009 4:13 pm
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.

Re: More than one cp in space maps

Posted: Sat Oct 17, 2009 4:56 pm
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

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

Posted: Sat Oct 17, 2009 5:30 pm
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.

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

Posted: Sun Oct 18, 2009 4:58 pm
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.