SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] KZS Hull Wetness for U-Boats (https://www.subsim.com/radioroom/showthread.php?t=185834)

kapitan_zur_see 07-22-11 08:35 AM

Currently working ow on some idea. If anything, I'd like to be able to render the rest of the whole sub entirely wet when it's raining in game. Now I hope I'll find some kind of weather state conditional trigger...

Any help welcome!

Here what it could look like on coning tower and deckgun:

http://i673.photobucket.com/albums/v...ng/COtower.jpg

http://i673.photobucket.com/albums/v.../COtowerIN.jpg

http://i673.photobucket.com/albums/v...ng/deckgun.jpg

Stormfly 07-22-11 09:04 AM

i just was about to ask about that, maybe also depending on sea state ?

kapitan_zur_see 07-22-11 09:37 AM

indeed! might be even easier than rain... there has to be some sea state controller somewhere to link the effect somehow...

Sepp von Ch. 07-22-11 11:08 AM

Really very nice job! Thank you kapitan_zur_see!:salute:

vickers03 07-22-11 12:31 PM

how about wetness inside the boat (moisture):hmmm:

kapitan_zur_see 07-22-11 01:18 PM

Currently play testing this. Works some times good, some times not...

Works on conning tower room, not much on control room. Reason for that is that my modified wetness shader only make wetness visible above waterline. As it happens to be, waterline is bound to the 3d model coordinates. Everything above y(height)=0 will be rendered moist. Everything below that will have no effect. Control room 3d model when you open it in goblin for ex is almost entirely under y=0, same goes for neighbor rooms on the same level. Only conning tower room has everything above 0 so everything would be rendered moist there. However the effect is not very subtle (not at all!).

Problem is, one can use only one instance of the shader (I modified an already implemented shader that was abandoned during development and turned off), can't do new custom ones and call them in (there's probably a way but that starts to be really complex with hard coded stuff probably). So if I modify the shader to accommodate for the interior particularities, everything will be lost on the outside (hull wetness) and be rendered weird (at the very best). I'm still currently trying out.

But don't expect much, as it doesn't look so good. Could be, but would mostly require a new shader built from scratch with that in mind.

I'll see if I can add some stuff to the shader responsible for water splashes or water flooding when damaged and see if I can pour in new pixel shading to do alongside them. But that would be only under damage situation.

Magic1111 07-22-11 04:41 PM

Hi Folks !

For me the MOD works perfect ! :yeah:

Many thanks to KZS ! :up:

Here are two screenshots:

http://img94.imageshack.us/img94/675...0722231854.jpg

http://img231.imageshack.us/img231/3...0722231914.jpg


Best regards,
Magic:salute:

tonschk 07-22-11 05:00 PM

:rock: The gloss/shine metal give a nice touch of realism, :up: thank you kapitan_zur_see

http://i194.photobucket.com/albums/z...rey-200905.jpg

Stormfly 07-22-11 06:20 PM

:o speech... where are ya.. wtf ?

kapitan_zur_see 07-22-11 08:00 PM

Sorry lads, away from the computer for the weekend ;)
Got the iPhone only...

Love the screenshots, Magic1111, many thanks!

Nice pic tonschk! Taken from Wings of Prey isn't it? This Game looks real good!
I could probably apply the mod to airplanes... Not that You'll really have any chance of seeing much of it ingame lol:DL

tonschk 07-22-11 10:46 PM

Thank you :DL kapitan_zur_see :rock:, I have a suggestion, if is too complicated to adjust the change the hull from wet to dry (and dry to wet) , another possibility can be to give a overall permanent wet/gloss look of the entire hull, in my opinion this possibility is better than the stock full matt/dry hull




I am trying to enable the wet Hull Mod , at the moment the hull is still dry :damn:

http://i194.photobucket.com/albums/z...3_065917-1.jpg

kapitan_zur_see 07-23-11 07:49 AM

The effect is there, I can see some part of it. Your camera position is simply far too much above the sub for the effect to occur... Get your camera just a little above water (as if it was on it nearly). Look at the succesfull screen shots, they're All taken this way. You must be slightly under the hull or at same level most of the time and only then will you be able to find correct camera angle vs sun position. Physics are physics ;-)

Try to mimic our screenshots

tonschk 07-23-11 07:57 AM

Thank you :DL, I will check it again wright now :salute:

tonschk 07-23-11 09:20 AM

Not wet yet, may be because I dont use the mega opus Mod and/or I still use the stock user interface, who knows ? :damn:

http://i194.photobucket.com/albums/z...3_150426-1.jpg
http://i194.photobucket.com/albums/z...3_150531-1.jpg

kapitan_zur_see 07-23-11 12:18 PM

Try it when the sun is rather low on the horizon. At dusk/dawn, or evening or morning time. Avoid right in the afternoon, when the sun is high

vlad29 07-23-11 05:25 PM

Hi, Kapitan! I have some missunderstanding - to install mod 'on top' means to install before MO and NewUI (on the top of the mod-list) or after (to overwrite/replace the files)? Sorry for stupid question, I'm not too much experienced in english:oops: I've tried both variants, didn't mention any difference:ping:

kapitan_zur_see 07-23-11 06:30 PM

It means to install last, after All these mods, bot before or you'll see nothing ;)

tonschk 07-23-11 07:59 PM

I think the wet is not there, but I am not sure :hmmm:

http://i194.photobucket.com/albums/z...4_014348-1.jpg
http://i194.photobucket.com/albums/z...4_014351-1.jpg

kapitan_zur_see 07-23-11 09:28 PM

Are you running the game on the highest setting? Shouldn't the sun cast god rays and gives a bloom effect? Could be the answer...

tonschk 07-23-11 09:43 PM

Hello, :DL thank you for the help, I have a ASUS EAH5870 V2 with all the graphic settings at highest resolution, the sun is just a bit covered by the clouds, I will post my enabled Mods, thank you


All times are GMT -5. The time now is 08:22 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.