Adding space ships in ground maps [Solved]
Moderator: Moderators
- Xterminator
- Private Second Class
- Posts: 69
- Joined: Thu Feb 19, 2009 5:07 pm
Adding space ships in ground maps [Solved]
Ok I was wondering , can you add spaceships eg Republics LA AT onto a ground map.
So far I have followed the tutorial to get shipped map kamino on my level and that worked, but i want a Republic LA AT on my kamino level so i added a vehicle spawn and added Rep_LA_AT to the Class neutral.
I munge but no ship.
Also I am editing the galactic civil war era beacuse i want the rebels to have the LA AT is this the problem?
So far I have followed the tutorial to get shipped map kamino on my level and that worked, but i want a Republic LA AT on my kamino level so i added a vehicle spawn and added Rep_LA_AT to the Class neutral.
I munge but no ship.
Also I am editing the galactic civil war era beacuse i want the rebels to have the LA AT is this the problem?
Last edited by Xterminator on Sat Apr 04, 2009 10:56 am, edited 1 time in total.
- B.I.G_Cookie
- High General

- Posts: 839
- Joined: Sun Feb 22, 2009 4:28 pm
- Location: Frankfurt, Germany
Re: Adding space ships in ground maps
You have to add the laat in your map lua
You have to add "rep_fly_gunship"
And you have also to add "rep_fly_gunship" to your vehicle spawn
You have to add "rep_fly_gunship"
And you have also to add "rep_fly_gunship" to your vehicle spawn
- Xterminator
- Private Second Class
- Posts: 69
- Joined: Thu Feb 19, 2009 5:07 pm
Re: Adding space ships in ground maps
I did this and nothing happened. Do i need a custom side or add a dc: anywhere?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Adding space ships in ground maps
no, try to enter the gunships name in the rep and imp atk/ and all and cis def boxes
- Xterminator
- Private Second Class
- Posts: 69
- Joined: Thu Feb 19, 2009 5:07 pm
Re: Adding space ships in ground maps
It still doesnt work it must be somthing wrong with the .lua (note i m editing the KF1g_1flag.lua
Code: Select all
ReadDataFile("sound\\kam.lvl;kam1gcw")
--SetMaxFlyHeight(43)
--SetMaxPlayerFlyHeight (43)
ReadDataFile("SIDE\\all.lvl",
"all_inf_rifleman_urban",
"all_inf_rocketeer_fleet",
"all_inf_sniper_fleet",
"all_inf_engineer_fleet",
"all_hero_hansolo_tat",
"all_inf_wookiee",
"all_inf_officer",
"rep_fly_gunship")
ReadDataFile("SIDE\\imp.lvl",
"imp_inf_rifleman",
"imp_inf_rocketeer",
"imp_inf_engineer",
"imp_inf_sniper",
"imp_inf_dark_trooper",
"imp_hero_bobafett",
"imp_inf_officer")
ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_chaingun_roof",
"tur_weap_built_gunturret")
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Adding space ships in ground maps
You can't load the Republic gunship from the Rebel side. What you want is "all_fly_gunship_sc," which will give you the gunship the Rebels use in space. (Identical to Republic gunship other than symbol on side) Make sure you fix the reference in the lua and the vehicle spawn to be "all_fly_gunship_sc."
- Xterminator
- Private Second Class
- Posts: 69
- Joined: Thu Feb 19, 2009 5:07 pm
Re: Adding space ships in ground maps
I did what you said but still nothing 
I been thinking is it any of these?
-That i need the all side in my sides folder in data_KF1/sides
- Ive put the class lables wrong - i put the all_fly_gunship_sc in netural ,and n both All class lables
- Am i mungeing it wrong to i need to unclick all the boxes or click another one? at the moment I just have common selected and with no sides
I been thinking is it any of these?
-That i need the all side in my sides folder in data_KF1/sides
- Ive put the class lables wrong - i put the all_fly_gunship_sc in netural ,and n both All class lables
- Am i mungeing it wrong to i need to unclick all the boxes or click another one? at the moment I just have common selected and with no sides
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Adding space ships in ground maps
Ah, I forgot, the gunship is a command flyer. You'll need to add this line to your memory pool section in your lua:
The number is the number of command flyers you want in the map. You'll also need to set up the vehicle spawn to correspond with the team number you want it to spawn for. There's an input box in ZeroEditor where you can set this up once you select the vehicle spawn object. (1 would be Empire, and 2 would be Rebels)
Code: Select all
SetMemoryPoolSize("CommandFlyer", 2)- Xterminator
- Private Second Class
- Posts: 69
- Joined: Thu Feb 19, 2009 5:07 pm
Re: Adding space ships in ground maps
Thankyou it works now 
thankyou all who helped me especialy xavious

thankyou all who helped me especialy xavious
