Weapons

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

Post Reply
pepper11193
Private
Posts: 35
Joined: Mon Jun 19, 2006 4:46 pm

Weapons

Post by pepper11193 »

I gave my trooper a rifle a emp launcher and a commando pistol for his primary weapons. he starts with the rifle and i can switch to the emp launcher and pistol but not back to the rifle
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

RE: Weapons

Post by Darth_Z13 »

Did you add the award rifle to his weapon list? If you receive the award, switch away from the regular rifle and don't have the award rifle set, he won't be able to use it. ;)
ARC_Commander
High General
High General
Posts: 838
Joined: Tue Feb 06, 2007 7:18 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by ARC_Commander »

That is one scary avatar, Darth.
pepper11193
Private
Posts: 35
Joined: Mon Jun 19, 2006 4:46 pm

Post by pepper11193 »

when i switch to the emp launcher i cant switch back to rifle. Also how do you add a 7th unit to a team like Clone trooper heavy trooper sniper clone commander jet trooper and another unit
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Post by Caleb1117 »

ARC_Commander wrote:That is one scary avatar, Darth.
Offtopic: yours isn't that friendly looking eather. :lol:

For you pepper, I have a nice lua example.
ReadDataFile("dc:SIDE\\krn.lvl",
"krn_hero_durge")

-- Later in .lua --

SetupTeams{
villain = {
team = IMP,
units = 12,
reinforcements = -1,
soldier = { "imp_hero_bobafett", 1,2},
assault = { "elmo_inf_trooper",1,2},
engineer= { "cis_hero_darthmaul", 1,2},
sniper = { "cis_hero_jangofett", 1,2},
officer = { "cis_hero_grievous", 1,2},
special = { "imp_hero_emperor", 1,2},

},
}
AddUnitClass(IMP, "krn_hero_durge",1,2)
pepper11193
Private
Posts: 35
Joined: Mon Jun 19, 2006 4:46 pm

Post by pepper11193 »

thanks caleb
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

Post by Darth_Z13 »

pepper11193 wrote:when i switch to the emp launcher i cant switch back to rifle.
Darth_Z13 wrote:Did you add the award rifle to his weapon list?
Post Reply