Page 1 of 1
Vehicles not spawning for custom team names.
Posted: Sat Aug 30, 2008 3:52 pm
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?
Re: Vehicles not spawning for custom team names.
Posted: Sat Aug 30, 2008 5:07 pm
by Caleb1117
Add your vehicles to those sides? Only include them in the req.
Re: Vehicles not spawning for custom team names.
Posted: Sat Aug 30, 2008 6:44 pm
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.
Re: Vehicles not spawning for custom team names.
Posted: Sat Aug 30, 2008 9:41 pm
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?
Re: Vehicles not spawning for custom team names.
Posted: Sat Aug 30, 2008 9:43 pm
by Maveritchell
Just "neutral," which is, I think, the first box.
Re: Vehicles not spawning for custom team names.
Posted: Sat Aug 30, 2008 9:55 pm
by SBF_Dann_Boeing
Oh yeah.

Re: Vehicles not spawning for custom team names.
Posted: Sun Aug 31, 2008 2:58 pm
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.)
Re: Vehicles not spawning for custom team names.
Posted: Sun Aug 31, 2008 10:46 pm
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.