Shielding? {SOLVED AGAIN}

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
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Shielding? {SOLVED AGAIN}

Post 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
Last edited by Par3210 on Fri Aug 07, 2009 3:26 pm, edited 3 times in total.
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Shielding?

Post 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"
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Shielding?

Post by Par3210 »

but the "_walk_" bit. Will that affect anything?
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Shielding?

Post by Xavious »

Nope. That's just part of the name, it doesn't have any function.
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Shielding?

Post 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. :(
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Shielding?

Post by 501st_commander »

bfront2.log? the unit odf?
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Shielding?

Post 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.
User avatar
General_Nate
Lieutenant General
Lieutenant General
Posts: 689
Joined: Sun Jun 28, 2009 4:01 pm
Projects :: None because BFII is not working
Games I'm Playing :: Minecraft
xbox live or psn: No gamertag set
Location: 127.0.0.1

Re: Shielding?

Post by General_Nate »

You may need to add it to a channel if you have more than one weapon.
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Shielding?

Post by Par3210 »

fixed! I set it to infinite on the secondary weapon channel and it started working properly :D
Post Reply