Award Effect Disabling via ODF

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
Warlord28
3rd Warning
3rd Warning
Posts: 44
Joined: Mon May 05, 2008 4:32 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: Germany
Contact:

Award Effect Disabling via ODF

Post by Warlord28 »

Is very simple put this in the Unit Odf

BuffHealthEffect ="01"
BuffOffenseEffect ="01"
BuffDefenseEffect ="01"

and this for other Effects
HealthGainEffect ="01"
AmmoGainEffect ="01"
EnergyGainEffect ="01"
DebuffEffect ="01"
InvincibleEffect ="01"
User avatar
DarthHamster
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 300
Joined: Wed Nov 18, 2009 9:09 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Orlando, Florida
Contact:

Re: Award Effect Disabling via ODF

Post by DarthHamster »

Does this disable the award rifle?
User avatar
Warlord28
3rd Warning
3rd Warning
Posts: 44
Joined: Mon May 05, 2008 4:32 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: Germany
Contact:

Re: Award Effect Disabling via ODF

Post by Warlord28 »

No only Effects from the Awards,Ammo,Health etc..
User avatar
CodaRez
Field Commander
Field Commander
Posts: 940
Joined: Mon May 25, 2009 6:49 am
Projects :: I would like one.....
Location: Ride around the world! And I won't give you anything :P

Re: Award Effect Disabling via ODF

Post by CodaRez »

DarthHamster wrote:Does this disable the award rifle?
To do that, copy the "com_weap_inf_*whatevertheweaponis*" .odf from the "common" side folder.

Rename it something else, and remove these lines inherent in it(the com_blabla should have it. If the weapon .odf doesn't, then it doesn't have an award weapon):
ScoreForMedalsType = <number>
MedalsTypeToLock = <number>
Then have ur custom weapon reference is as a parent.

And ur done! :thumbs:
Post Reply