
Vehicles in CTF
Moderator: Moderators
Vehicles in CTF
I haven't been able to get my vehicles to spawn for CTF. They work perfectly in Conquest but refuse to spawn in CTF, although I've added them in the LUA and their spawns are correct. Is there a specific code to add because the CTF LUA has a line that calls to enable "SPHeroRules". Perhaps this is disallowing the vehicles from spawning
:

- [RDH]Zerted
- Gametoast Staff
- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
RE: Vehicles in CTF
Are the spawn points in a layer active in both Conquest and CTF modes?
RE: Vehicles in CTF
No, my CTF layer has its own spawn points. Some of them I created right where the Conquest spawns were.
RE: Vehicles in CTF
Put all the cps and all the spawn paths in the same layer but keep the cps seperate (as in seperate objects). Now in the con LUA script use KillObjectName() to kill all of the ctf cps when the game loads. Next, do the same thing to the conquest cps in the ctf script. This is how the shipped maps work the different cps so I recommend it.
RE: Vehicles in CTF
Hmm, I didn't quite understand that. CPs in the same layer as regions and paths, ok, but CPs separate???
RE: Vehicles in CTF
I think he means keep the ctf cp's and con cp's seperate. So neither mode shares a cp.
RE: Vehicles in CTF
It means that all the cps and spawn paths are dumped into the same layer but you just kill off the cps you don't want in the LUA scripts. Kill off ctf cps in conquest and kill off conquest cps in ctf.
RE: Vehicles in CTF
Oh of course I've done that, heh.
I've got a Conquest layer that has CPs, vehicle spawns, regions, paths, and health/ammo droids.
Then I've got a CTF layer that has its own CPs, vehicle spawns, regions, paths, health/ammo droids, and gates that keep the entrance of the city closed.
I've got a Conquest layer that has CPs, vehicle spawns, regions, paths, and health/ammo droids.
Then I've got a CTF layer that has its own CPs, vehicle spawns, regions, paths, health/ammo droids, and gates that keep the entrance of the city closed.
RE: Vehicles in CTF
Is there anything that has to be done to make vehicles work in CTF and 1-flag that is different from Conquest? Conquest is simply "place-and-script". Is there a third step for CTF modes?
- PR-0927
- Old School Staff
- Posts: 844
- Joined: Fri Dec 31, 2004 9:15 pm
- Location: Kent, OH, U.S.A.
RE: Vehicles in CTF
Do you have the memory lines set up?
- Majin Revan
- Majin Revan
RE: Vehicles in CTF
Mem-o-ry? What is this "mem-o-ry" you speak of?
lol
If you do give me assistance, I won't be able to try it out anyways until my maps get fixed magically.
lol
If you do give me assistance, I won't be able to try it out anyways until my maps get fixed magically.