How do I customize the buff effect? [Solved]
Moderator: Moderators
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
How do I customize the buff effect? [Solved]
Ok so i am trying to make new buffs but how do i change the effect. I looked in the odf but i only see the line that has the colored ring. How do i change the effect of the buff being on you?
Last edited by skelltor on Sun Jul 18, 2010 6:40 pm, edited 1 time in total.
- Marvel4
- Rebel Colonel

- Posts: 556
- Joined: Mon Jun 21, 2010 12:57 pm
- Projects :: Marvel4s BF1 Conversion Pack + Era Mod
Re: buff effects
Look in assets/sides/all.
There are the odfs like all_weap_inf_buff_defense_ord.odf etc...
There are the odfs like all_weap_inf_buff_defense_ord.odf etc...
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: buff effects
no i know the odfs i just dont see where to change it.
[OrdnanceClass]
ClassParent = "com_weap_inf_buff_ord"
[Properties]
BuffOffenseTimer = "12"
BuffOffenseMult = "1.5"
PlayEffectOnOwner = "com_sfx_buff_offense"this is the only line that refereces a effect and its the red ring effect i want to change the other effect (the red lightning like one)
AffectFriends = "1" // default is 1. should the ordnance affect friends.
AffectEnemies = "0" // default is 1. should the ordnance affect enemies.
//OrdnanceSound = "buff_rage_effect"
[OrdnanceClass]
ClassParent = "com_weap_inf_buff_ord"
[Properties]
BuffOffenseTimer = "12"
BuffOffenseMult = "1.5"
PlayEffectOnOwner = "com_sfx_buff_offense"this is the only line that refereces a effect and its the red ring effect i want to change the other effect (the red lightning like one)
AffectFriends = "1" // default is 1. should the ordnance affect friends.
AffectEnemies = "0" // default is 1. should the ordnance affect enemies.
//OrdnanceSound = "buff_rage_effect"
- Marvel4
- Rebel Colonel

- Posts: 556
- Joined: Mon Jun 21, 2010 12:57 pm
- Projects :: Marvel4s BF1 Conversion Pack + Era Mod
Re: buff effects
Ah, I thought you mean the effect it has on your defense etc...
Search for a file containing for example com_sfx_buffed_offense (this is the lightning effect).
Search for a file containing for example com_sfx_buffed_offense (this is the lightning effect).
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: buff effects
i found the effect but i cant find out where the wepon refrences it
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: buff effects
^ You just posted it in your second post. The line that references a buff's effect is in its _ord ODF or whatever _ord ODF it inherits from.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: buff effects
this line? PlayEffectOnOwner = "com_sfx_buff_offense
but when i open it up in PE its the red rings.
but when i open it up in PE its the red rings.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: buff effects
My mistake. Try opening up the file com_sfx_buffed_offense.fx.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: buff effects
i have and thats the right one what i am asking is how to make a new buff and change the effect com_sfx_buffed_offense.fx to a custom one i made.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: buff effects
Rename your custom .fx file to "com_sfx_buffed_offense" and copy and paste it into your data_***\Common\effects folder replacing the original. Then munge a custom ingame.lvl. Before that, your ingame.req should look something like this:
Hidden/Spoiler:
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: buff effects
Ok thx for all your help aqt. 
