Adding walker vehicles

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

Locked
User avatar
StormtrooperCommander
Private
Posts: 31
Joined: Fri Jul 10, 2009 8:09 am

Adding walker vehicles

Post by StormtrooperCommander »

How to you add walker vehicles like a atst/atat
User avatar
TK432
2nd Lieutenant
2nd Lieutenant
Posts: 408
Joined: Tue May 26, 2009 4:18 pm
Location: Somewhere far away

Re: adding walker vehicles

Post by TK432 »

in ZE you go to objects and click browse.
now go to your data_ABC/common folder into odfs
find the com_item_vehicle_spawn.odf
place it on the map where you wish your vehicle to spawn
enter its commando post number (ex: cp1)
for at-st now as example enter the vehicles code into the ClassImpATK and DEF (imp_walk_atst i think it was)
save your map

open up your ABCg_con lua (in data_ABC/common/scripts) and add the vehicles code into its side (here under imp.lvl its "imp_walk_atst")
now find this part in the lua (a bit down)

Code: Select all

--  Level Stats
    ClearWalkers()
    AddWalkerType(0, 0) -- special -> droidekas
    AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
    AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
    AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)
and edit the second number (here a 0) to the number of the vehicles you have
save

and now munge :D

for a good toturial about this i would suggest fierfeks toturial
http://starwarsbattlefront.filefront.co ... ial;100740
Locked