Page 1 of 1

Shielding? {SOLVED AGAIN}

Posted: Fri Aug 07, 2009 1:57 pm
by Par3210
Hi guys! Can you tell me how to put a shield on my unit? One like the droideka has? I looked in the cis odfs for its shield but it wasn't there. Can someone help, please? Thanks a bunch :D

Re: Shielding?

Posted: Fri Aug 07, 2009 1:59 pm
by Xavious
You didn't look hard enough.

From the Droideka's ODF:

Code: Select all

WEAPONSECTION           = "2"

WeaponName          = "cis_weap_walk_droideka_shield"
WeaponAmmo          = "0"

Re: Shielding?

Posted: Fri Aug 07, 2009 2:00 pm
by Par3210
but the "_walk_" bit. Will that affect anything?

Re: Shielding?

Posted: Fri Aug 07, 2009 2:01 pm
by Xavious
Nope. That's just part of the name, it doesn't have any function.

Re: Shielding?

Posted: Fri Aug 07, 2009 2:02 pm
by Par3210
ok thank you very much xavious
this can be locked
WAIT it crashed when i used the unit. I pressed the shield button and it crashes. :(

Re: Shielding?

Posted: Fri Aug 07, 2009 2:54 pm
by 501st_commander
bfront2.log? the unit odf?

Re: Shielding?

Posted: Fri Aug 07, 2009 2:56 pm
by Par3210
wait i think i've got it - i need to set the WeaponAmmo to 0 don't I otherwise it'll go all funny. I've set it now and I'm munging.

Re: Shielding?

Posted: Fri Aug 07, 2009 3:16 pm
by General_Nate
You may need to add it to a channel if you have more than one weapon.

Re: Shielding?

Posted: Fri Aug 07, 2009 3:26 pm
by Par3210
fixed! I set it to infinite on the secondary weapon channel and it started working properly :D