ReadDataFile("dc:SIDE\\atxt.lvl",
"rep_walk_atxt")
ReadDataFile("SIDE\\Imp.lvl",
"Imp_walk_atst")
add those two into your lua
AT-XT
Moderator: Moderators
- Teancum
- Jedi Admin
- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
You have to put rep_walk_atxt", under ReadDataFile("SIDE\\atxt.lvl",
(it can be between any of the existing rep units)
Under the --Level stats
change AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
to AddWalkerType(1, x) -- 1x2 (1 pair of legs) where x= the number of two legged (or 1 pair of legs )walkers you want available in the map. Here's what those parts of my map LUA look like:
ReadDataFile("sound\\tat.lvl;tat2gcw")
ReadDataFile("SIDE\\all.lvl",
"all_inf_rifleman",
"all_inf_rocketeer",
"all_inf_sniper",
"all_inf_engineer",
"all_inf_officer",
"rep_walk_atxt",
"all_inf_wookiee",
"all_hero_hansolo_tat")
and
-- Level Stats
ClearWalkers()
AddWalkerType(0, 0) -- special -> droidekas
AddWalkerType(1, 3) -- 1x2 (1 pair of legs)
AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)
(it can be between any of the existing rep units)
Under the --Level stats
change AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
to AddWalkerType(1, x) -- 1x2 (1 pair of legs) where x= the number of two legged (or 1 pair of legs )walkers you want available in the map. Here's what those parts of my map LUA look like:
ReadDataFile("sound\\tat.lvl;tat2gcw")
ReadDataFile("SIDE\\all.lvl",
"all_inf_rifleman",
"all_inf_rocketeer",
"all_inf_sniper",
"all_inf_engineer",
"all_inf_officer",
"rep_walk_atxt",
"all_inf_wookiee",
"all_hero_hansolo_tat")
and
-- Level Stats
ClearWalkers()
AddWalkerType(0, 0) -- special -> droidekas
AddWalkerType(1, 3) -- 1x2 (1 pair of legs)
AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)