adding vehicles to maps

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
User avatar
Frog
Lance Corporal
Posts: 96
Joined: Sat Apr 04, 2009 9:44 am

adding vehicles to maps

Post 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?
User avatar
newguy99
Command Sergeant Major
Command Sergeant Major
Posts: 254
Joined: Sun Apr 19, 2009 10:58 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: adding vehicles to maps

Post 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!
User avatar
Jendo7
Sith
Sith
Posts: 1304
Joined: Wed Apr 01, 2009 6:37 pm
Location: Cambridge, England.
Contact:

Re: adding vehicles to maps

Post by Jendo7 »

User avatar
jango
Command Sergeant Major
Command Sergeant Major
Posts: 272
Joined: Mon Jan 19, 2009 8:05 pm
Projects :: too many
Games I'm Playing :: Black Ops
Location: A galaxy far far away...

Re: adding vehicles to maps

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