Page 1 of 1
How do I customize the buff effect? [Solved]
Posted: Sun Jul 18, 2010 10:58 am
by skelltor
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?
Re: buff effects
Posted: Sun Jul 18, 2010 11:07 am
by Marvel4
Look in assets/sides/all.
There are the odfs like all_weap_inf_buff_defense_ord.odf etc...
Re: buff effects
Posted: Sun Jul 18, 2010 11:35 am
by skelltor
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"
Re: buff effects
Posted: Sun Jul 18, 2010 11:42 am
by Marvel4
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).
Re: buff effects
Posted: Sun Jul 18, 2010 11:48 am
by skelltor
i found the effect but i cant find out where the wepon refrences it
Re: buff effects
Posted: Sun Jul 18, 2010 6:11 pm
by AQT
^ 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.
Re: buff effects
Posted: Sun Jul 18, 2010 6:25 pm
by skelltor
this line? PlayEffectOnOwner = "com_sfx_buff_offense
but when i open it up in PE its the red rings.
Re: buff effects
Posted: Sun Jul 18, 2010 6:30 pm
by AQT
My mistake. Try opening up the file com_sfx_buffed_offense.fx.
Re: buff effects
Posted: Sun Jul 18, 2010 6:31 pm
by skelltor
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.
Re: buff effects
Posted: Sun Jul 18, 2010 6:38 pm
by AQT
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:
Re: buff effects
Posted: Sun Jul 18, 2010 6:39 pm
by skelltor
Ok thx for all your help aqt.
