Vehicles in CTF

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
Captain_Mazda

Vehicles in CTF

Post 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 :?:
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

RE: Vehicles in CTF

Post by [RDH]Zerted »

Are the spawn points in a layer active in both Conquest and CTF modes?
Captain_Mazda

RE: Vehicles in CTF

Post by Captain_Mazda »

No, my CTF layer has its own spawn points. Some of them I created right where the Conquest spawns were.
xwingguy

RE: Vehicles in CTF

Post 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.
Captain_Mazda

RE: Vehicles in CTF

Post by Captain_Mazda »

Hmm, I didn't quite understand that. CPs in the same layer as regions and paths, ok, but CPs separate???
Lord-Bandu

RE: Vehicles in CTF

Post by Lord-Bandu »

I think he means keep the ctf cp's and con cp's seperate. So neither mode shares a cp.
xwingguy

RE: Vehicles in CTF

Post 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.
Captain_Mazda

RE: Vehicles in CTF

Post 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.
Captain_Mazda

RE: Vehicles in CTF

Post 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?
User avatar
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

Post by PR-0927 »

Do you have the memory lines set up?

- Majin Revan
Captain_Mazda

RE: Vehicles in CTF

Post 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.
Post Reply