Log in to reply
 

Puddles : Minimum rain rate for puddles to appear ?



  • First of all, I know where to control the size of puddles in 'visualsettings.dat'.

    I'm trying to make a weather with low rain rate/size/speed, and I can't make appear puddles with that kind of rain. I'd like to make it appear in overcast weather.

    Is there some kind of rain ripple treshold for puddles to appear ? Is there a file/line that controls that threshold ? Or are puddles "on/off" for specific weathers ?

    Thanks


  • Banned

    @epoqx Overcast doesn't rain unless you tell it to in the weather file. I have neutral and clearing as a very faint rain in my game and puddles appear.



  • I've made slow and little rain appearing on overcast, but it seems so low that puddles dont appear.
    Thing is, I want to keep a low rain while still having puddles. That's the problem !



  • @epoqx

    weather.xml:

      <Item>
        <Name>OVERCAST</Name>
        <Sun value="0.9"/>
        <Cloud value="1.000000"/>
        <WindMin value="0.0"/>
        <WindMax value="0.0"/>
        <Rain value="0.000000"/> <!-- Increase this value for puddles (& rain sound) -->
        <Wetness value="0.000000"/>
        <Snow value="0.000000"/>
        <SnowMist value="0.000000"/>
        <Fog value="0.000000"/>
    

    If that doesn't work, make sure overcast is setup like this (so no weather effects are disabled etc):

    w_overcast.xml:

    		<no_weather_fx> 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000</no_weather_fx>
    		<no_gpu_fx> 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000</no_gpu_fx>
    		<no_rain> 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000</no_rain>
    		<no_rain_ripples> 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000</no_rain_ripples>
    


  • @a63nt-5m1th

    'Rain value' as an effect on rain intensity, puddles intensity and rain sound ?

    I thaught it was only the rain intensity overhaul !

    Btw, i'll enjoy something i'm asking myself. You got 'Wetness value' and I ain't got it from my vanilla Mods folder, but it was in my old REDUX Mods folder. What it is about ? Wetness effect on the roads ?



  • @epoqx
    '<Rain value=' pretty much just affects the puddles (& switches on the rain sounds), it doesn't affect the rain drops falling from the sky or anything, they are controlled by 'rainstorm_render_drop.xml' etc files. :thumbsup:

    I can't remember what the wetness does, I feel like I used to know, but have forgotten lol. I think it's a pretty subtle effect from what I can remember. It's in the VisualV 'weather.xml' file. That's where I got it from.



  • @a63nt-5m1th
    Oh thanks !

    and all the 'Ripplexxx' affect the rain ripples ? like 'RippleScale' who affects the size of the rain ?
    Or it does actually affect the ondulation effects on puddles ? I think it's more of a translation from english problem from me here.



  • @epoqx
    All the ripple stuff affects the rain/wind effects on the puddles (the tiny circle wakes caused by the rain drops hitting the puddle & the ripples caused by wind etc) :thumbsup:
    If you want to change the size of the actual rain drops falling from the sky, you can use 'rainstorm_render_drop.xml' ('sizeMinMax') to do that :thumbsup:



  • @a63nt-5m1th

    So i've changed the 'Rain value' from 0.02 to 0.5, and there are puddles now... But there is definitively more rain.
    It looks like it affect both rain and puddles intensity, in some way.
    Do you know if it is possible to create a new emitter/render drop/ground weather files specifically for a new type of rain ?

    Yeah i've already figured out these 'rainstorm_render_drop.xml' and others files to edit the rain, to something more specific that goes in the look of what I want ! :)



  • @epoqx
    I've edited the '#####_render_drop.xml' files in my game so yeah, maybe the change in rain intensity isn't obvious to me :thumbsup:

    @epoqx said in Puddles : Minimum rain rate for puddles to appear ?:

    Do you know if it is possible to create a new emitter/render drop/ground weather files specifically for a new type of rain ?

    Yeah, that should be no problem :thumbsup: Make a copy of 'rainstorm_render_drop.xml', rename it to something like 'rainstorm_lite_render_drop.xml' & then point to it using 'weather.xml':

    Example ('_render_drop.xml', same basic process for emitter/ground/mist etc as well):

    Overcast (in weather.xml):

        <DropSettingName>RAINSTORM_LITE_DROP</DropSettingName>
    

    weather.xml:
    Create this at the top of 'weather.xml':

      <WeatherGpuFx>
    	<Item>
    	  <Name>RAINSTORM_LITE_DROP</Name> <!-- from Overcast 'DropSettingName' line -->
    	  <SystemType>SYSTEM_TYPE_DROP</SystemType>
    	  <diffuseName>rain</diffuseName>
    	  <distortionTexture>distortion_rain_n</distortionTexture>
    	  <diffuseSplashName>rain_anim</diffuseSplashName>
    	  <driveType>DRIVE_TYPE_RAIN</driveType>
    	  <windInfluence value="0.03"/>
    	  <gravity value="-32.000000"/>
    	  <emitterSettingsName>common:/data/levels/gta5/weather/rainstorm_emitter_drop</emitterSettingsName>
    	  <renderSettingsName>common:/data/levels/gta5/weather/rainstorm_lite_render_drop</renderSettingsName> <!-- renamed to point to 'rainstorm_lite_render_drop.xml' -->
    	</Item>
    

    You can then edit the above (wind influence, gravity etc) & 'rainstorm_lite_render_drop.xml' (size, lighting, fade etc) to get the effect you want :thumbsup:



  • @a63nt-5m1th
    So yeah, creating a 'xxx_render_drop.xml' file works, just need to link everything in the weather.xml as you said.

    The thing is, at 1.0 'Rain value', I got too much rain, but puddles.
    At 0.1, I got nearly the little rain drops I want, but with no puddles.

    Because I don't know where I can edit that puddle appearing threshold, i'm thinking about editing my new 'overcast_render_drop' and 'overcast_emitter_drop' (because it seems like it needs the two files to be linked in the weather.xml).

    I got the rain drops I want with the min/max size, the wind influence and the speed i want from the drops, but there is too much rain intensity overhaul still, and I'm trying different entries, but can't find the good one.


  • Banned

    @epoqx set your wet to 1.0 in the weather file. Then edit the rain vaules in the drops for clearing, rain, and Thunder. You can set the rain in clearing to be barely visable, use it on Overcast with 1.0 rain. I have big rain drops, but they get more dense as the weather goes from clearing to rain to Thunder. In your case it would be Overcast to rain to Thunder.



  • @InfiniteQuestion said in Puddles : Minimum rain rate for puddles to appear ?:

    @epoqx set your wet to 1.0 in the weather file. Then edit the rain vaules in the drops for clearing, rain, and Thunder. You can set the rain in clearing to be barely visable

    Thanks for this. So what is the actual entry in the 'emitter_blabla' files that edit the density ?

    I'm trying to have much less number of rain drops in the screen.
    'FadeNearFar' affect the rain from when it starts in front of the screen to when it stops far from the screen, it dosn't make the same.



  • @epoqx
    Rain value 0.2 certainly creates puddles :thumbsup:
    You can use the '_render_drop.xml' to reduce the rain for Overcast. Mess with the fade, local light & distortion values, maybe 'textureRowsColsStartEnd' also, can't quite remember :thinking:.

    The 'rainstorm_emitter_ground.xml' controls the little tiny splashes of rain that happen when the rain drops hit the ground. There's a bug where they can sometimes appear floating in the air, so I have removed them from my game for that reason & a cleaner look also.

    You can certainly get what you want, years ago I messed around with the rain for lots of different effects, everything from slow very light rain to full on hurricane. You'll just have to find the right balance of settings.

    Extra:

    Global rain settings in 'visualsettings.dat':

    #Values for rain GPU particle effect
    rain.NumberParticles	2048 <!-- very subtle visual effect reducing this, but can increase performance without much visual loss -->
    rain.UseLitShader	1.00
    # rain.gravity	0.00	0.00	-0.98
    rain.gravity.x	0.00
    rain.gravity.y	0.00
    rain.gravity.z	-0.98
    rain.fadeInScale	2.00
    rain.diffuse	1.00
    rain.ambient	0.40
    rain.wrapScale	0.60
    rain.wrapBias	0.40
    # rain.defaultlight	1.00	1.00	1.00
    rain.defaultlight.red	1.00 
    rain.defaultlight.green	1.00
    rain.defaultlight.blue	1.00
    rain.defaultlight.alpha	16.00 
    

    fxweather.ytd:
    There are rain drop & distortion textures in 'fxweather.ytd' you can mess with also. I have my rain drops a lot thinner than the vanilla ones, which gives me a lot more control over the final look :thumbsup:



  • Ohh Thank you all, i needed change some values for rain and fog. I see now...



  • @a63nt-5m1th @InfiniteQuestion

    Ok so at the end, 'sizeMinMax' totally made the deal to control the density of the rain.

    I still don't understand exaclty which from x,y,z,w affects the length and the width of puddles, or if it affects something else, but setting the values to x="0.020000"y="0.90000"z="0.00000"w="0.00" made extremely thin and extremely low density of rain. While keeping the 'Rain value' at 0.8, it makes big puddles compare to the rain.
    Just need to tweak it now !

    Thanks guys !


  • Banned

    @epoqx make rain 1.0, then edit puddle size in visual settings. I remember messing around with the size or scale value and its counter intuitive. You think your making puddles bigger, it just makes more smaller puddles. I went small instead of big and now I have a few large puddles around. With the right settings on reflections the large puddles makes night rain great.



  • @InfiniteQuestion @a63nt-5m1th

    Yeah I realised this with the 'puddle.scale' in 'visualsettings.dat', editing to a much more positive number makes much more puddles, much thiner.

    I'me quite good with my rain/puddle ratio now thanks guys ! I've made tests with the 'xxx_render_ground' splashes, but i've deleted them too, it's much cleaner after.
    Thing is, there is still the ripples in the puddles that i'm trying to edit, and I can't find the density values for it !



  • @epoqx said in Puddles : Minimum rain rate for puddles to appear ?:

    Thing is, there is still the ripples in the puddles that i'm trying to edit, and I can't find the density values for it !

    Do you mean how many circle ring wakes you get from the rain drops hitting the puddles?

    Circle Ring Wakes

    If so, 'puddles.ripples.dropfactor' is probably what you want to edit :thumbsup:

    visualsettings.dat:

    // Puddles
    puddles.scale 				0.030
    puddles.range 				0.09
    puddles.depth				0.7
    puddles.depthtest			0.200
    puddles.strength 			0.1
    puddles.animspeed			28
    puddles.ripples.minsize			0.008   <!-- circle ring wake min size -->
    puddles.ripples.maxsize			0.011   <!-- circle ring wake max size -->
    puddles.ripples.speed			10
    puddles.ripples.minduration		4.0
    puddles.ripples.maxduration		5.0
    puddles.ripples.dropfactor		2.0   <!-- density value of circles that appear. Higher values mean more rings -->
    puddles.ripples.windstrength    	0.01
    puddles.ripples.ripplestrength   	0.24   <!-- how strong the circles look. Higher values = more pronounced/easier to see -->
    puddles.ripples.winddamping		0.03
    puddles.ripples.playerspeed		10.0
    puddles.ripples.playermapsize	        8
    


  • @a63nt-5m1th @InfiniteQuestion

    Yeah that's what I thaught !
    I found these little rain drop waves on puddles a little bothering when there is too much, but now i fixed it !

    I've got my nearly perfect rain/puddles settings !

    Thanks to you all.





  • @epoqx said in Puddles : Minimum rain rate for puddles to appear ?:

    lse, but setting the values to x="0.020000"y="0.90000"z="0.00000"w="0.00" made extremely thin and extremely low density of rain. While keeping the 'Rain value' at 0.8, it makes big puddles compare to the rain.
    Just need to tweak it now !
    Thanks guys !

    Hi, i'm working on a graphic mod, i would like to increase rain droplets.
    In the weather.xml you can set them from 0 to 1 no further. In render_drop.xml you can set the size of the texture to fake the density, but it's not realistic. I've noticed that in the emitter xml you can set the size of the box, sadly the box not repeat itself through the map.



  • @a63nt-5m1th said in Puddles : Minimum rain rate for puddles to appear ?:

    @epoqx
    Rain value 0.2 certainly creates puddles :thumbsup:
    You can use the '_render_drop.xml' to reduce the rain for Overcast. Mess with the fade, local light & distortion values, maybe 'textureRowsColsStartEnd' also, can't quite remember :thinking:.

    The 'rainstorm_emitter_ground.xml' controls the little tiny splashes of rain that happen when the rain drops hit the ground. There's a bug where they can sometimes appear floating in the air, so I have removed them from my game for that reason & a cleaner look also.

    You can certainly get what you want, years ago I messed around with the rain for lots of different effects, everything from slow very light rain to full on hurricane. You'll just have to find the right balance of settings.

    Extra:

    Global rain settings in 'visualsettings.dat':

    #Values for rain GPU particle effect
    rain.NumberParticles	2048 <!-- very subtle visual effect reducing this, but can increase performance without much visual loss -->
    rain.UseLitShader	1.00
    # rain.gravity	0.00	0.00	-0.98
    rain.gravity.x	0.00
    rain.gravity.y	0.00
    rain.gravity.z	-0.98
    rain.fadeInScale	2.00
    rain.diffuse	1.00
    rain.ambient	0.40
    rain.wrapScale	0.60
    rain.wrapBias	0.40
    # rain.defaultlight	1.00	1.00	1.00
    rain.defaultlight.red	1.00 
    rain.defaultlight.green	1.00
    rain.defaultlight.blue	1.00
    rain.defaultlight.alpha	16.00 
    

    fxweather.ytd:
    There are rain drop & distortion textures in 'fxweather.ytd' you can mess with also. I have my rain drops a lot thinner than the vanilla ones, which gives me a lot more control over the final look :thumbsup:

    I think i will create new small texture with more droplets to achieve my goal

    edit: done
    alt text



  • alt text
    alt text
    alt text


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.