Page 1 of 1
Vehicles underground
Posted: Thu Mar 04, 2010 7:48 pm
by wishihadaname
I've been having an odd issue with the hoth hanger, I can't seem to spawn vehicles in it. The control region, cp, and vehicle spawn are all inside the hanger, in the same layer, and are all technically beneath the terrain. The vehicles don't spawn and I get an error that says they can't find cp11. I'm not sure what that means.
Re: Vehicles underground
Posted: Thu Mar 04, 2010 9:21 pm
by Eggman
wishihadaname wrote:I've been having an odd issue with the hoth hanger, I can't seem to spawn vehicles in it. The control region, cp, and vehicle spawn are all inside the hanger, in the same layer, and are all technically beneath the terrain. The vehicles don't spawn and I get an error that says they can't find cp11. I'm not sure what that means.
That has nothing to do with being underground. You made a mistake somewhere in linking the vehicle spawn, cp, and control region together. You might also have made a mistake adding the cp in your .lua.
Post the exact error message you have. "They can't find cp11" could refer to several things.
Re: Vehicles underground
Posted: Thu Mar 04, 2010 10:45 pm
by wishihadaname
Here is the error
Message Severity: 3
.\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "cp11"
Its odd though. Do the spawn point and the CP have to be in the same layer? I probably missed something obvius.
Re: Vehicles underground
Posted: Thu Mar 04, 2010 10:50 pm
by Xavious
wishihadaname wrote:Its odd though. Do the spawn point and the CP have to be in the same layer?
They should be.
Re: Vehicles underground
Posted: Fri Mar 05, 2010 7:48 am
by lucasfart
Xavious wrote:wishihadaname wrote:Its odd though. Do the spawn point and the CP have to be in the same layer?
They should be.
Not sure if this is exactly what you're saying xav, but they HAVE to be in the same layer. read that in one of Psychofreds docs. If its not in the same layer, it wont work at all.
Re: Vehicles underground
Posted: Fri Mar 05, 2010 6:39 pm
by wishihadaname
Really? I have the air battle set up like that though and the fighters spawn. The cp and the control region are in the base layer and the vehicle spawns are in the air layer and it works just fine.
Re: Vehicles underground
Posted: Fri Mar 05, 2010 7:05 pm
by lucasfart
wishihadaname wrote:Really? I have the air battle set up like that though and the fighters spawn. The cp and the control region are in the base layer and the vehicle spawns are in the air layer and it works just fine.
hmm......now that i think about it, i think its only necessary for the cp object, cp regions and spawn paths to be on the same layer. The control region has to be on the same layer as the cp, but, if what you're saying is right, the vehicle spawn doesn't need to be.
EDIT: Just went into the modtools documentation. In the ZeroEditor_GameModes.doc read Act III.
Herein lies a list of the NEW RULES that must be obeyed now that layers are-self contained:
- Any vehicle spawns MUST be in the SAME LAYER as the command post they are associated with, if they are associated with one.
-The capture and control regions for a command post MUST be in the SAME LAYER as the command post.
With you sky layer, was the sky cp on the same layer as the vehicle spawns?
Re: Vehicles underground
Posted: Fri Mar 05, 2010 8:22 pm
by wishihadaname
nope. Don't know why it works but the point is that it does and it makes me

. It doesn't work for vehicles though because when I moved those tanks to the same layer as the CP they suddenly started to spawn. So I guess i've disscovered something. Fliers don't need to be on the same layer as their associated CP's.