How do I make an effect visible at any distance? [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
Loopy53
1st Lieutenant
1st Lieutenant
Posts: 456
Joined: Thu Nov 01, 2012 2:27 am
Projects :: Earth Apocalypse
Games I'm Playing :: swbf2 bf3 cod
xbox live or psn: Dont have one
Location: On earth, I guess.

How do I make an effect visible at any distance? [Solved]

Post by Loopy53 »

The title says it all. I made a custom explosion effect. Works great! most of the time...The problem is sometimes it shows the effect, sometimes it doesnt. Sometimes it shows it when im close, sometimes when im far away from it. How do I make the custom effect (edited stock effect) remain constantly visible when it goes off? thanks!
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: how to make a custom effect visible regardless of distan

Post by AQT »

Loopy53
1st Lieutenant
1st Lieutenant
Posts: 456
Joined: Thu Nov 01, 2012 2:27 am
Projects :: Earth Apocalypse
Games I'm Playing :: swbf2 bf3 cod
xbox live or psn: Dont have one
Location: On earth, I guess.

Re: how to make a custom effect visible regardless of distan

Post by Loopy53 »

okay, it works regardless of distance, but how do I make it always use that effect? it uses the stock effect sometime but most of the time mine.
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: how to make a custom effect visible regardless of distan

Post by kinetosimpetus »

What is it? A grenade explosion? I know those stack explosion effects instead of overriding them, and randomly select one from the stack each time.
LEO
First Lance Corporal
First Lance Corporal
Posts: 130
Joined: Tue Nov 20, 2012 5:06 pm
Projects :: Map_for_swbf2
Games I'm Playing :: Swbf2
xbox live or psn: No gamertag set

Re: how to make a custom effect visible regardless of distan

Post by LEO »

If youre effect count is to high than it uses the stock one.
U can fix this by deleting the stock effects from youre data_abc/...
and then clean common and youre world
Loopy53
1st Lieutenant
1st Lieutenant
Posts: 456
Joined: Thu Nov 01, 2012 2:27 am
Projects :: Earth Apocalypse
Games I'm Playing :: swbf2 bf3 cod
xbox live or psn: Dont have one
Location: On earth, I guess.

Re: how to make a custom effect visible regardless of distan

Post by Loopy53 »

yes, it is a grenade effect. How would I make it override the stock effect? Also, I just edited colour and added a shock wave thing from the time bomb.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: how to make a custom effect visible regardless of distan

Post by Bob »

Loopy53 wrote:yes, it is a grenade effect. How would I make it override the stock effect?
If your grenade's _exp ODF uses com_weap_inf_thermaldetonator_exp.ODF as ClassParent, go to data_***/sides/common/odf, copy the com_weap_inf_thermaldetonator_exp.ODF, rename the copy, remove the line

Code: Select all

Effect              = "com_sfx_explosion_lg"

and use it as ClassParent for your grenade's _exp ODF.

In short, make somehow sure the Class parent doesn't use an effect.
Loopy53
1st Lieutenant
1st Lieutenant
Posts: 456
Joined: Thu Nov 01, 2012 2:27 am
Projects :: Earth Apocalypse
Games I'm Playing :: swbf2 bf3 cod
xbox live or psn: Dont have one
Location: On earth, I guess.

Re: how to make a custom effect visible regardless of distan

Post by Loopy53 »

agh, thanks!

EDIT: WORKS! it worked perfectly. many thanks!
Post Reply