Page 1 of 1
Adding space ships in ground maps [Solved]
Posted: Sat Apr 04, 2009 6:52 am
by Xterminator
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?
Re: Adding space ships in ground maps
Posted: Sat Apr 04, 2009 7:33 am
by B.I.G_Cookie
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
Re: Adding space ships in ground maps
Posted: Sat Apr 04, 2009 7:57 am
by Xterminator
I did this and nothing happened. Do i need a custom side or add a dc: anywhere?
Re: Adding space ships in ground maps
Posted: Sat Apr 04, 2009 8:10 am
by DarthD.U.C.K.
no, try to enter the gunships name in the rep and imp atk/ and all and cis def boxes
Re: Adding space ships in ground maps
Posted: Sat Apr 04, 2009 9:41 am
by Xterminator
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")
Re: Adding space ships in ground maps
Posted: Sat Apr 04, 2009 9:45 am
by Xavious
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."
Re: Adding space ships in ground maps
Posted: Sat Apr 04, 2009 10:09 am
by Xterminator
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
Re: Adding space ships in ground maps
Posted: Sat Apr 04, 2009 10:25 am
by Xavious
Ah, I forgot, the gunship is a command flyer. You'll need to add this line to your memory pool section in your lua:
Code: Select all
SetMemoryPoolSize("CommandFlyer", 2)
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)
Re: Adding space ships in ground maps
Posted: Sat Apr 04, 2009 10:46 am
by Xterminator
Thankyou it works now
thankyou all who helped me especialy xavious
