I cant get vehicle spawns to work in space..... *solved*

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
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

I cant get vehicle spawns to work in space..... *solved*

Post by Silas »

solved! :D
Last edited by Silas on Sat Nov 24, 2007 12:18 pm, edited 1 time in total.
User avatar
TheDarkMask
Captain
Captain
Posts: 499
Joined: Sat Apr 07, 2007 4:26 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany-Bremen
Contact:

Re: I cant get vehicle spawns to work in space.....

Post by TheDarkMask »

Do you have the control region?
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: I cant get vehicle spawns to work in space.....

Post 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 :lock:
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
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: I cant get vehicle spawns to work in space.....

Post 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
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: I cant get vehicle spawns to work in space.....

Post by Silas »

does that work for every veh spawn or just one??
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: I cant get vehicle spawns to work in space.....

Post 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
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: I cant get vehicle spawns to work in space.....

Post 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
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: I cant get vehicle spawns to work in space.....

Post 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!!!!!!!!!! :D :D :thumbs: :maulsaber:
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: I cant get vehicle spawns to work in space.....

Post 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????
:( :cry: :sick: :?
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: I cant get vehicle spawns to work in space.....

Post 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.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: I cant get vehicle spawns to work in space.....

Post by trainmaster611 »

What's the name of the cp?

And did you edit it in the correct layer in ZE?
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: I cant get vehicle spawns to work in space.....

Post by Silas »

k i was in CW-ships.lyr
the name of my cp was rep-cp10
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: I cant get vehicle spawns to work in space.....

Post by trainmaster611 »

then the region should be rep-cp10_control.
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: I cant get vehicle spawns to work in space.....

Post 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
Last edited by Silas on Sun Nov 18, 2007 8:33 pm, edited 1 time in total.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: I cant get vehicle spawns to work in space.....

Post by trainmaster611 »

No, and make sure you adjust the vehicle spawns accordingly.
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: I cant get vehicle spawns to work in space.....

Post 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")
Post Reply