Page 1 of 1
adding vehicles to maps
Posted: Sat Jun 13, 2009 7:53 pm
by Frog
hello,
im trying to add ships onto a map im making but i followed every step on a tutorial i have but still no ships show up or my map crashes any ideas?
Re: adding vehicles to maps
Posted: Sat Jun 13, 2009 9:28 pm
by newguy99
I've read the tutorial, but never got thought everything or tested it so I don't have any tips, but I would sugjest running your map in SPtest and open the error report to see what went wrong (Tip: if you don't have SPtest go to BFBuilder\Assets on your hard drive and there in the file in Assets you will find SPtest now move the file to your Star Wars Battlefront\Gamedata and just drop it off there now if your map is already compiled in the AddOn folder just double click SPtest and it will open the error logging verson of battlefront!) After your done look in Gamedata for a new notepad text file, open it and there should be any errors that SPtest logged sitting there for you to read!
Re: adding vehicles to maps
Posted: Sun Jun 14, 2009 7:29 am
by Jendo7
Re: adding vehicles to maps
Posted: Mon Jun 15, 2009 7:56 am
by jango
In zeroeditor you go common and select vehicle spawn and place it where you want. Then change it to the team you want (1,2, or 3).(example) Type in its control zone and then if your droids are the attacking team in the lua then type in under classcisatk, type in cis_hover_aat if thats what you want, but make sure its under the right line if theyre def and you type it in atk then it wont work. Now you go to your lua and type in near the beginning where its loading SIDES and cis type in "cis_hover_aat",
Code: Select all
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_basic",
"cis_inf_countdooku",
"cis_hover_aat",
"cis_inf_droideka");
or whatever the vehicle is. now go to memory pool section neear bottom and add this line if its a hover vehicle
Code: Select all
SetMemoryPoolSize("EntityHover", 6)
and now you can have vehicles in your map
