Page 1 of 1

Vehicles in CTF

Posted: Sat Apr 01, 2006 3:08 am
by Captain_Mazda
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 :?:

RE: Vehicles in CTF

Posted: Sat Apr 01, 2006 5:53 am
by [RDH]Zerted
Are the spawn points in a layer active in both Conquest and CTF modes?

RE: Vehicles in CTF

Posted: Sat Apr 01, 2006 11:51 am
by Captain_Mazda
No, my CTF layer has its own spawn points. Some of them I created right where the Conquest spawns were.

RE: Vehicles in CTF

Posted: Sat Apr 01, 2006 4:33 pm
by xwingguy
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

Posted: Sun Apr 09, 2006 11:03 pm
by Captain_Mazda
Hmm, I didn't quite understand that. CPs in the same layer as regions and paths, ok, but CPs separate???

RE: Vehicles in CTF

Posted: Sun Apr 09, 2006 11:09 pm
by Lord-Bandu
I think he means keep the ctf cp's and con cp's seperate. So neither mode shares a cp.

RE: Vehicles in CTF

Posted: Sun Apr 09, 2006 11:20 pm
by xwingguy
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

Posted: Sun Apr 09, 2006 11:21 pm
by Captain_Mazda
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.

RE: Vehicles in CTF

Posted: Mon Apr 10, 2006 9:14 pm
by Captain_Mazda
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?

RE: Vehicles in CTF

Posted: Tue Apr 11, 2006 1:27 pm
by PR-0927
Do you have the memory lines set up?

- Majin Revan

RE: Vehicles in CTF

Posted: Tue Apr 11, 2006 3:20 pm
by Captain_Mazda
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.