Water Effects Removal
Moderator: Moderators
- GAB
- 1st Lieutenant

- Posts: 431
- Joined: Sun Jul 03, 2011 8:56 pm
- Location: Somewhere around the world
- Contact:
Water Effects Removal
Is it possible to remove the water effects, like the rings caused by bullets hitting the water, spray under hover vehicles and splashes caused by explosions without having to edit ODFs?
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Water Effects Removal
Since most, if not all, of those effects are loaded from the ingame.lvl, you can create a custom ingame.lvl replacing all of those water effects with dummy effects, and load your custom ingame.lvl after the stock one in your lua(s).
- GAB
- 1st Lieutenant

- Posts: 431
- Joined: Sun Jul 03, 2011 8:56 pm
- Location: Somewhere around the world
- Contact:
Re: Water Effects Removal
Oh great, it's not as hard as I though it would be. Thanks.
EDIT: I managed to remove all the water effects except one. It's a ring that is created when something explodes on the water (thermal detonators or missiles).
I put a few pictures below to show better what's happening:
Here are the files that I've edited in the data_ABC/Common/effects folder
The only change I made to these files was setting all alpha values I found to zero, so everything is transparent.
So I ask, is that ring removable through some .fx file or something?
EDIT: I managed to remove all the water effects except one. It's a ring that is created when something explodes on the water (thermal detonators or missiles).
I put a few pictures below to show better what's happening:
Hidden/Spoiler:
Code: Select all
com_sfx_waterbulletspray
com_sfx_watersplash_lg
com_sfx_watersplash_md
com_sfx_watersplash_ord
com_sfx_watersplash_ord_lg
com_sfx_watersplash_ord_md
com_sfx_watersplash_sm
com_sfx_watersplash_wade
com_sfx_watersplash_walker
com_sfx_watersplash_xs
com_sfx_waterwake_lg
com_sfx_waterwake_smSo I ask, is that ring removable through some .fx file or something?
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Water Effects Removal
In your explosion/ordnance ODFs:
Change that to call for no effect, I.E. leave the quotation marks blank.
Code: Select all
ImpactEffectWater = "fxname"-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Re: Water Effects Removal
And if you're not making custom sides, it should be possible to achieve the same result through multiple SetClassProperty calls.
- GAB
- 1st Lieutenant

- Posts: 431
- Joined: Sun Jul 03, 2011 8:56 pm
- Location: Somewhere around the world
- Contact:
Re: Water Effects Removal
How is it done?
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Water Effects Removal
Ah wait, no, you can't edit weapon properties through SetClassProperty().
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Water Effects Removal
If those ring are indeed part of the splash effects, whichever ones they maybe, then it seems your making of transparent via the .fx file property isn't working. Going along with the method you are currently using, however, you could make the textures that the rings use transparent and include those in you custom ingame.lvl file. But, as I had suggested originally, if you were to just replace those splash effects with dummy effects, then it would be more efficient.
- Tears2Roses
- Chief Warrant Officer

- Posts: 336
- Joined: Thu Jul 07, 2011 9:20 am
- Projects :: Oh some random stuff who knows
- xbox live or psn: PC beats xbox.
Re: Water Effects Removal
quick question: why would you want to remove the water effects?
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Water Effects Removal
To create the illusion of ice.
- GAB
- 1st Lieutenant

- Posts: 431
- Joined: Sun Jul 03, 2011 8:56 pm
- Location: Somewhere around the world
- Contact:
Re: Water Effects Removal
Yes, and to make things a little clearer, I want to replace these water effects by their "ground couterparts", as the blasters and missiles will be hitting a solid surface.
Another important thing to say is that there are invisible blocks under the water to allow soldiers to walk on it. Their top surface is slightly above the water level, so lasers are triggering the effect for hitting solid things however missiles and other types of ordinance seem to be still calling for the water effect.
And what is a dummy effect? I mean, what would go on it's .FX file?
Another important thing to say is that there are invisible blocks under the water to allow soldiers to walk on it. Their top surface is slightly above the water level, so lasers are triggering the effect for hitting solid things however missiles and other types of ordinance seem to be still calling for the water effect.
And what is a dummy effect? I mean, what would go on it's .FX file?
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Water Effects Removal
A dummy effect would just be a blank .fx file.
- GAB
- 1st Lieutenant

- Posts: 431
- Joined: Sun Jul 03, 2011 8:56 pm
- Location: Somewhere around the world
- Contact:
Re: Water Effects Removal
Oh, I tried creating a custom ingame.lvl with blank .FX files, but the game probably didn't recognize them because all the water effects were played in-game. I believe the game loaded stock effects from the stock ingame.lvl.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Water Effects Removal
No, a dummy effect is not just a blank effect or an .fx file containing no content. I didn't use the word blank for a reason because people like Marth might get confused. Something like the following will work:
Hidden/Spoiler:
- GAB
- 1st Lieutenant

- Posts: 431
- Joined: Sun Jul 03, 2011 8:56 pm
- Location: Somewhere around the world
- Contact:
Re: Water Effects Removal
Ok AQT, I tried the text you wrote. No water effects were played but the rings were still there. But there are some interesting things I'd like to share.
Later on, I looked at the world1 .FX file and just to see what would happen if I set the OceanEnable line from zero to 1. I did it, munged and the result was that these rings we're-trying-to-get-rid-of were no longer played in game. Problem is that the water (or ice in this case) wasn't there either. It makes me think that these rings aren't related to the FX files we've been editing but to the world1 FX file.
Also, do the following values actually change something in-game?
I've already tried changing them to zero but I didn't notice any differences on the water or any of the effects related to it.
Later on, I looked at the world1 .FX file and just to see what would happen if I set the OceanEnable line from zero to 1. I did it, munged and the result was that these rings we're-trying-to-get-rid-of were no longer played in game. Problem is that the water (or ice in this case) wasn't there either. It makes me think that these rings aren't related to the FX files we've been editing but to the world1 FX file.
Also, do the following values actually change something in-game?
Code: Select all
// water event parameters
WaterRingColor(148, 170, 192,255);
WaterWakeColor(192, 192, 192,255);
WaterSplashColor((192, 192, 192,255);-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Water Effects Removal
Hmm, I'm not too sure what's going on now, then. If I have to guess, I will say that these rings have to do with some kind of an unchangeable property of water that is purely related to the ClassLabel "explosion."
- GAB
- 1st Lieutenant

- Posts: 431
- Joined: Sun Jul 03, 2011 8:56 pm
- Location: Somewhere around the world
- Contact:
Re: Water Effects Removal
I think they are also related to walkers. Currently, with the dummy fx you suggested, the only vehicles that trigger these seemly non-ingame.lvl related effects on the water are AT-RTs and AT-STs, both walkers. Interesting is that, while the AT-RT triggers a ring when its feet touch the water (First picture below), the AT-ST triggers a thin spray that is quite hard to notice. (Second picture below)
The only other things that are also causing these rings to appear are rockets, thermal detonators and some heavy vehicle cannons like the particle cannon on the rebel AAC-1. Stadard weapon lasers aren't causing this because the invisible blocks that are slightly over the surface of the water.
Hidden/Spoiler:
Hidden/Spoiler:
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Water Effects Removal
Honestly, I really think you should try using WULF's method for ice, which is using modeled ice that has an alpha channel and a reflection region, and you could also have it set to render ice! 
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: Water Effects Removal
Marth8880 wrote:...and you could also have it set to render ice!
Someone please correct me if I'm wrong, but I don't think that render type works. I've tried it, with no noticeable effect.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Water Effects Removal
It works, I tested it in Pluto, although, it might be render refraction, but I'm almost positive it's render ice.
