Page 1 of 1

Weapons

Posted: Sat Jul 07, 2007 6:45 pm
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

RE: Weapons

Posted: Sat Jul 07, 2007 6:59 pm
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. ;)

Posted: Sat Jul 07, 2007 7:05 pm
by ARC_Commander
That is one scary avatar, Darth.

Posted: Sat Jul 07, 2007 7:08 pm
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

Posted: Sat Jul 07, 2007 7:14 pm
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)

Posted: Sat Jul 07, 2007 7:19 pm
by pepper11193
thanks caleb

Posted: Sat Jul 07, 2007 7:20 pm
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?