Page 1 of 1

[227f] Low-priority: No decals on water / lava?

Posted: Wed Dec 30, 2009 7:55 am
by Hyper
I noticed that the decals like blood stains are also applied to lava, like in the map Dig. (Early on in the map, where the lava has no actual depth.) This looks a bit unnatural. Maybe it is possible to create an exception to make decals not apply to these surfaces?

Image

Yes, I died here. Poor me.  :'(

Re: [227f] Low-priority: No decals on water / lava?

Posted: Wed Dec 30, 2009 8:16 am
by []KAOS[]Casey
That lava does have depth, but not the regular depth. I'm not quite sure how to accurately check for that.

if Region.zone.isa('lavazone') might work.. hmm..

Re: [227f] Low-priority: No decals on water / lava?

Posted: Wed Dec 30, 2009 12:12 pm
by Turboman.
What about forbidding decals on any FX texture? it has alot of undesireable results, they'll appear on places where the water/lava is entirely fake, or on energy beams/forcefields.

Re: [227f] Low-priority: No decals on water / lava?

Posted: Wed Dec 30, 2009 2:01 pm
by Hyper
What about forbidding decals on any FX texture? it has alot of undesireable results, they'll appear on places where the water/lava is entirely fake, or on energy beams/forcefields.
I agree with that. Blood stains or shotgun holes in a forcefield does not look good either.

Re: [227f] Low-priority: No decals on water / lava?

Posted: Thu Dec 31, 2009 1:18 am
by Leo T_C_K
I already made a thread about this earlier, thios happens as well on UT, I called the thread something like Decals on fluid surfaces, etc.

Re: [227f] Low-priority: No decals on water / lava?

Posted: Thu Dec 31, 2009 12:35 pm
by [§Ŕ] ŤhěxĐâŕkśîđěŕ
I don't know, if that lava has depth, how can decals appear on the surface... Maybe same as this: http://www.oldunreal.com/cgi-bin/yabb2/ ... 1252080532

Re: [227f] Low-priority: No decals on water / lava?

Posted: Sun Jan 03, 2010 11:34 pm
by Matrix224
Bit late reply but...

If I'm correct, that lava in Dig (for whatever reason) has an invisible sheet, and the ground texture is that lava texture.

EDIT:  
"Bingo, the motherload!"

Image



Stone on top is invisible sheet, lava is ground texture.

Re: [227f] Low-priority: No decals on water / lava?

Posted: Mon Jan 04, 2010 10:38 am
by GreatEmerald
Why would anyone do that O_o "Hey, let's make it less realistic!" "Yea, that sounds fun!"

Re: [227f] Low-priority: No decals on water / lava?

Posted: Mon Jan 04, 2010 12:48 pm
by Age
What about..

Code: Select all

      local texture         HitTexture;
      Trace(HitLocation, HitNormal,Start - vect(0,0,30), Start,,,HitTexture,True);
if(HitTexture.Class == class'WetTexture' || HitTexture.Class == class'FireTexture'.....) return;
or

Code: Select all

      local texture         HitTexture;
      Trace(HitLocation, HitNormal,Start - vect(0,0,30), Start,,,HitTexture,True);
       if(HitTexture.IsA('FractalTexture')) return;
?

Re: [227f] Low-priority: No decals on water / lava?

Posted: Mon Jan 04, 2010 3:08 pm
by [§Ŕ] ŤhěxĐâŕkśîđěŕ
I still think there should be an option to toggle decals. Preferably a surface flag, if there are still some unused ones left.

Re: [227f] Low-priority: No decals on water / lava?

Posted: Mon Jan 04, 2010 9:41 pm
by Matrix224
I think just checking its zone is the best option.

Re: [227f] Low-priority: No decals on water / lava?

Posted: Mon Jan 04, 2010 9:51 pm
by Leo T_C_K
No, Age's solution seems best here. Some maps do have fake lava etc....

Re: [227f] Low-priority: No decals on water / lava?

Posted: Mon Jan 04, 2010 9:59 pm
by Matrix224
Cheap. CHEAAPPPPP.

Re: [227f] Low-priority: No decals on water / lava?

Posted: Mon Jan 04, 2010 11:06 pm
by [§Ŕ] ŤhěxĐâŕkśîđěŕ
What if you purposely want decals on a fractal texture? I know I do. lol

Re: [227f] Low-priority: No decals on water / lava?

Posted: Mon Jan 04, 2010 11:19 pm
by GreatEmerald
Actually, yea, you may want decals on some surfaces, for example, the metal crate with water texture.

Re: [227f] Low-priority: No decals on water / lava?

Posted: Mon Jan 04, 2010 11:22 pm
by Leo T_C_K
That doesn't make any sense and would still look weird with decals.

Re: [227f] Low-priority: No decals on water / lava?

Posted: Tue Jan 05, 2010 12:38 am
by [§Ŕ] ŤhěxĐâŕkśîđěŕ
I think just checking its zone is the best option.
This. Yes, exactly this.

Re: [227f] Low-priority: No decals on water / lava?

Posted: Tue Jan 05, 2010 8:41 am
by Smirftsch
Can't disagree. Certainly has a point. Any more opinions about that?

Re: [227f] Low-priority: No decals on water / lava?

Posted: Tue Jan 05, 2010 9:52 am
by スマイル・ドラゴン
I'd probably would want to check package names, but that'd be a really stupid and tedious fix..

There are few textures in Unreal that are WetTextures that should still beable to have decals drawn to them, but some shouldn't, so I don't know how you're going to effectively fix this issue..

Re: [227f] Low-priority: No decals on water / lava?

Posted: Tue Jan 05, 2010 2:48 pm
by Shivaxi
I do....they're not lol.

I don't really think this is such a big deal...and trying to fix something that isn't actually broken will just make things worse...

What I would do is to create an option in the texture properties like "bDecals=True/False" so when creating textures, the creator can decide whether decals show up on it or not.  Perhaps implement this option into standard textures and manually go through them and set them accordingly? :P

Re: [227f] Low-priority: No decals on water / lava?

Posted: Tue Jan 05, 2010 4:44 pm
by GreatEmerald
I wonder, how does UT cope with these problems, if it does that anyway?

Re: [227f] Low-priority: No decals on water / lava?

Posted: Tue Jan 05, 2010 5:50 pm
by Smirftsch
ever noticed how bugged UT is? :P

Re: [227f] Low-priority: No decals on water / lava?

Posted: Tue Jan 05, 2010 7:15 pm
by GreatEmerald
No, not really, except for the obvious skating player glitch and some random crashes.