Vehicles not spawning

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
Marvel4
Rebel Colonel
Rebel Colonel
Posts: 556
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Vehicles not spawning

Post by Marvel4 »

I have a problem with vehicles not spawning: It works in conquest but not in CTF.

I get this in the error log:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP4"

The CPs in the conquest layer and in the ctf layer are called the same and they use the same control regions (which are in the base layer). All vehicle spawns are in a seperate layer called "vehicles".

I don't understand what could be wrong...
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Vehicles not spawning

Post by AceMastermind »

Marvel4 wrote:I have a problem with vehicles not spawning...
...
...
The CPs in the conquest layer and in the ctf layer...
...All vehicle spawns are in a seperate layer called "vehicles".

I don't understand what could be wrong...
ZeroEditor_GameModes.doc wrote:...
Any vehicle spawns MUST be in the SAME LAYER as the command post they are associated with...
...
User avatar
Marvel4
Rebel Colonel
Rebel Colonel
Posts: 556
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: Vehicles not spawning

Post by Marvel4 »

So why does it work in conquest? :?
I want the same vehicles for both modes, like in all of my conversions and it worked always...
EDIT: Oh, and Pandemic had vehicles in a different layer in some stock maps, too.
EDIT: I have the same error in my other conversions, but the vehicles spawn anyway.
User avatar
ps2owner
Corporal
Corporal
Posts: 155
Joined: Wed Jun 23, 2010 8:25 pm

Re: Vehicles not spawning

Post by ps2owner »

put the cps and the vehicals in the base layer
User avatar
linksith
Command Sergeant Major
Command Sergeant Major
Posts: 284
Joined: Mon Jul 12, 2010 12:19 pm
Projects :: Waaay too many projects
Games I'm Playing :: too many
xbox live or psn: me has no xbox
Location: looking for a wifi connection

Re: Vehicles not spawning

Post by linksith »

ps2owner wrote:put the cps and the vehicals in the base layer
base layer doesn't work so do what Ace said. Sure it's a little more work than what we would like to do but it is what we will need to do to get it to work. Why it works in conquest..... we may never know.
User avatar
sim-al2
2nd Lieutenant
2nd Lieutenant
Posts: 412
Joined: Mon Jul 06, 2009 10:26 pm
Projects :: Mapping on occasion
Games I'm Playing :: SWBFII + MW4 + SC4
Location: In the cockpit of some vehicle...

Re: Vehicles not spawning

Post by sim-al2 »

linksith wrote: base layer doesn't work
Ermm if your vehicle spawn is associated with a CP (ie the vehicle spawns will change when that CP is captured), then you must put in that layer. Otherwise, it doesn't matter what layer (most of the time you will want to put it with the associated CP layer though).
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Vehicles not spawning

Post by lucasfart »

Yup. Sim-al2 and Ace are right. If you want vehicles in ctf, associate a control region with your ctf cp's and add the vehicle spawns to the ctf layer and it should work.
Post Reply