Page 1 of 1

How do I put vehicles in?

Posted: Mon Jan 18, 2010 1:21 pm
by AaTc Snake
Hey guys I understand that I put a spawn path in and something about having the vehicle in the .req file but I don't know anything else. Can someone help?

Re: How do I put vehicles in?

Posted: Tue Jan 19, 2010 6:10 pm
by giftheck
Could you clarify?

I'm sorry, this is the fourth time I have tried to respond but it doesn't reply at all.

Re: How do I put vehicles in?

Posted: Tue Jan 19, 2010 10:33 pm
by AaTc Snake
Sorry, this is what I know of instructions but I don't really understand what some of the things are.

"I'm not sure of the exact instructions but the most likely thing that you're doing wrong is adding the .odf of the vehicle itself instead of a com_item_vehicle_spawn.odf

I believe these are the instructions on how to do it:

1. HAVE THE VEHICLE INCLUDED IN THE REQ FILES (duh)
2. Create a com_item_vehicle_spawn object (located in Data****/Common/ODF with **** as the map name)
3. Position and orient the spawn object (It will be an arrow and the arrow should point the direction you want the vehicle facing)
4. Variables: Requires a list of it's own

* ControlZone: CP the spawn point is associated with (used by the class selectors)
* SpawnTime: Time after the destruction of the object spawned that it creates a new one
* Class***ATK: What vehicle is to be spawned when the team *** has the CP (most likely can't be used when it is CISATK and there is a RepDEF set as well)(must be the name of the vehicle as it appears in the REQ files)
* Class***DEF: What vehicle is to be spawned when team *** DOESN'T have the CP (probably same rules as the ATK counterpart)
* Anything else: I'm not sure of the meaning

5. Make sure the vehicle is listed in the SetMemoryPoolSize commands in the LUA scripts ("EntityHover" for a hovering ship including the troop ships on Geonosis, "EntityFlyer" for things like X-Wings, AddWalkerType functions for vehicles with legs, look at the Mission LUA samples under Assets for the rest of the MemoryPool commands)

On the spawn point class variables, when the CP it is associated with falls under the control of the other team any vehicles that have not been activated (entered) will self-destruct and the ones for the new team will spawn if they are set"

I don't understand that...(I'm trying to add republic swoopbike.) Can you tell me exactly what to do?