Page 1 of 1
I cant get vehicle spawns to work in space..... *solved*
Posted: Fri Nov 16, 2007 6:49 pm
by Silas
solved!

Re: I cant get vehicle spawns to work in space.....
Posted: Fri Nov 16, 2007 6:57 pm
by TheDarkMask
Do you have the control region?
Re: I cant get vehicle spawns to work in space.....
Posted: Fri Nov 16, 2007 7:44 pm
by Silas
yes i do, i put in rep_fly_gunship or rep_fly_arc170fighter, etc. but it doesnt work... i even read the documentation

can u instead plz tell me how to put a space vehicle spawn step-by-step....
wait i just checked the editor and the vehic spawns dont have a controlregion..cp's do. and this is for
SPACE VEHICLE SPAWNS NOT CP'S dont forget
Re: I cant get vehicle spawns to work in space.....
Posted: Sat Nov 17, 2007 9:39 am
by DarthD.U.C.K.
1. make a new region, called vehspawn1 or something like that
2. set the com_item_vehicle_spawn object into/near that region, enter the regions name inot the controlzonebox
3. enter the vehicles spawnname into the classWHATEVER box
4. open your lua and make shure, that youve metioned the vehicle in the read datafile:blablabla clause
Re: I cant get vehicle spawns to work in space.....
Posted: Sat Nov 17, 2007 9:42 am
by Silas
does that work for every veh spawn or just one??
Re: I cant get vehicle spawns to work in space.....
Posted: Sat Nov 17, 2007 4:00 pm
by Silas
dude it didnt work i need someone plz to tell me how to make a vehicle spawn in space o plz o plz i want my map to be good
Re: I cant get vehicle spawns to work in space.....
Posted: Sat Nov 17, 2007 4:47 pm
by trainmaster611
DarthD.U.C.K. wrote:1. make a new region, called vehspawn1 or something like that
2. set the com_item_vehicle_spawn object into/near that region, enter the regions name inot the controlzonebox
3. enter the vehicles spawnname into the classWHATEVER box
4. open your lua and make shure, that youve metioned the vehicle in the read datafile:blablabla clause
That's wrong. You need a cp first you need a cp like cp1 or cp5 or cp8 or something like that. It depends on which cp you're trying to spawn the vehicle at. Then you have to name the control region according to the cp. If your cp name is cp1, then you name the control region cp1_control. If the cp is cp5, name it cp5_control, and so on. Then put the com_item_vehicle_spawn
inside the region. Then select the com_item_vehicle_spawn and where it says ControlZone, you type in the name of your control region: cp1_control or cp9_control, etc. Then enter the ODF name of the vehicle you're trying to spawn in the correct classSIDE box. For example, the name of the droidfighter is cis_fly_droidfighter_sc. So you enter cis_fly_droidfighter_sc into the ClassCISATK box or ClassCISDEF, depending on if the CIS is team 1 or team 2. If you don't know, enter the name into both boxes. Hit enter, save, and munge.
Make sure you have the correct layer in ZE open
Re: I cant get vehicle spawns to work in space.....
Posted: Sun Nov 18, 2007 3:14 pm
by Silas
wow pretty impresive trainmaster. that should work ^^ ill tell u if it works im rly glad cuz i thionk it will work now!!!!!!!!!!

:maulsaber:
Re: I cant get vehicle spawns to work in space.....
Posted: Sun Nov 18, 2007 4:19 pm
by Silas
well train....it didnt work...but why?? ok heres what i did:
1. i made a new regioon to cover the hangar
2. for the region name i put rep-cp10con
3. for the cp's control region i put in rep-cp10con
4. in the controlzone box for veh spawn i put rep-cp10con
5. i put in veh odf
6. i munged
7. nothing
wtf did i do wrong????

Re: I cant get vehicle spawns to work in space.....
Posted: Sun Nov 18, 2007 4:45 pm
by Taivyx
You're sure you put the vehicle odf in the right box?
Otherwise, make sure that, if you're using custom sides, that you have copied over all the files, and added dc: to your LUA.
Re: I cant get vehicle spawns to work in space.....
Posted: Sun Nov 18, 2007 5:17 pm
by trainmaster611
What's the name of the cp?
And did you edit it in the correct layer in ZE?
Re: I cant get vehicle spawns to work in space.....
Posted: Sun Nov 18, 2007 6:28 pm
by Silas
k i was in CW-ships.lyr
the name of my cp was rep-cp10
Re: I cant get vehicle spawns to work in space.....
Posted: Sun Nov 18, 2007 6:35 pm
by trainmaster611
then the region should be rep-cp10_control.
Re: I cant get vehicle spawns to work in space.....
Posted: Sun Nov 18, 2007 6:43 pm
by Silas
ohh so not rep-cp10con?
i have edited thi messgae trainmaster to say that my messages are continued on the next page plz go there
Re: I cant get vehicle spawns to work in space.....
Posted: Sun Nov 18, 2007 7:53 pm
by trainmaster611
No, and make sure you adjust the vehicle spawns accordingly.
Re: I cant get vehicle spawns to work in space.....
Posted: Sun Nov 18, 2007 8:31 pm
by Silas
ok i did that, but it still didnt work.
Taivyx wrote:You're sure you put the vehicle odf in the right box?
Otherwise, make sure that, if you're using custom sides, that you have copied over all the files, and added dc: to your LUA.
do i have to add dc: to my lua if i alrdy have the ehicle spawn in the lua or not? here is my script:
Code: Select all
function SetupUnits()
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_pilot",
"rep_inf_ep3_marine",
"rep_fly_anakinstarfighter_sc",
"rep_fly_arc170fighter_sc",
"rep_veh_remote_terminal",
"rep_fly_gunship_sc",
"rep_fly_vwing")