Vehicles not spawning for custom team names.

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
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

Vehicles not spawning for custom team names.

Post by SBF_Dann_Boeing »

Ok, now in my pepperland map, I have lots of different modes with different teams. So I gotta use more than All, imp, cis, and rep. However, if i change all, imp, cis, and rep to anything else, no vehicle spawns for that team.

The reason why is because in the vehicle spawn instance properties in zeroedit, it only denotes spaces for all, imp, cis, rep, locals, and his (idk what "his" is).

Is there function or whatever that I can put in the LUA that merely Labels a team differently, so i can give them a different localized team name? But keeping all the setup with alls, imps, etc, so I can get vehicles to spawn for those teams?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Vehicles not spawning for custom team names.

Post by Caleb1117 »

Add your vehicles to those sides? Only include them in the req.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Vehicles not spawning for custom team names.

Post by Maveritchell »

Why don't you just use neutral spawns? There are very few cases where you should actually need to assign a vehicle spawn to a control region.
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

Re: Vehicles not spawning for custom team names.

Post by SBF_Dann_Boeing »

Maveritchell wrote:Why don't you just use neutral spawns? There are very few cases where you should actually need to assign a vehicle spawn to a control region.
Oh really? I never knew that. The problem with that is, is that cps are capturable in one mode. Which means that the vehicle would stay the same, and not change depending on who is owner of the control cp. However, I suppose that isn't absolutely necessary. And for doing a vehicle spawn without a control region, where do i put the vehicle names under? All of them?
Last edited by SBF_Dann_Boeing on Sat Aug 30, 2008 9:44 pm, edited 1 time in total.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Vehicles not spawning for custom team names.

Post by Maveritchell »

Just "neutral," which is, I think, the first box.
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

Re: Vehicles not spawning for custom team names.

Post by SBF_Dann_Boeing »

Oh yeah. :roll:
Last edited by SBF_Dann_Boeing on Sun Aug 31, 2008 10:48 pm, edited 1 time in total.
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Vehicles not spawning for custom team names.

Post by Frisbeetarian »

SBF_Dann_Boeing wrote:...and not change depending on who is owner of the control cp.
You could put two spawns on the same place with each of them spawning a different vehicle then control via the Lua which one is in used based upon who has the CP. However, that would be a lot of work for a little change, and might not deal with the problem of destroying a team's vehicles once the other team takes the CP. (I also don't know what would happen to the vehicles associated with the deactivated spawn.)
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

Re: Vehicles not spawning for custom team names.

Post by SBF_Dann_Boeing »

No longer a problem. What i did was use the neutral vehicle spawns for the mode that doesnt have capturable cps, and used controlled vehicle spawns for the one that does have capturable cps. And since i have different vehicles for different eras, I used 2 different layers for each layers.
Post Reply