How do I customize the buff effect? [Solved]

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
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

How do I customize the buff effect? [Solved]

Post 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?
Last edited by skelltor on Sun Jul 18, 2010 6:40 pm, edited 1 time in total.
User avatar
Marvel4
Rebel Colonel
Rebel Colonel
Posts: 556
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: buff effects

Post by Marvel4 »

Look in assets/sides/all.
There are the odfs like all_weap_inf_buff_defense_ord.odf etc...
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: buff effects

Post 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"
User avatar
Marvel4
Rebel Colonel
Rebel Colonel
Posts: 556
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: buff effects

Post 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).
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: buff effects

Post by skelltor »

i found the effect but i cant find out where the wepon refrences it
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: buff effects

Post 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.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: buff effects

Post by skelltor »

this line? PlayEffectOnOwner = "com_sfx_buff_offense
but when i open it up in PE its the red rings.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: buff effects

Post by AQT »

My mistake. Try opening up the file com_sfx_buffed_offense.fx.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: buff effects

Post 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.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: buff effects

Post 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:
Hidden/Spoiler:
[code]ucft
{
REQN
{
"config"
"com_sfx_buffed_offense"
}
}
[/code]
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: buff effects

Post by skelltor »

Ok thx for all your help aqt. :D
Post Reply