As the title says, can anyone give me a quick answer´?
No.
level__WeatherChoice
have only 1 object that creates when map starts.
If you want weather randomise you must create more objects.
and how do i create thunder and rain or snow to randomize as well?
Well… It’s a bit hard to tell how to… But I’ll try…
I usually write weather randomize in notepad/word/any other text editor.
Just edit scene.blk
(in userGameMods >>> YourModName).
And my level
looks like:
entity{
_template:t="level"
level__blk:t="content/enlisted/levels/normandy_beach_fortified_1x1.blk"
level__day:i=6
level__year:i=1944
level__timeOfDay:r=4.5
level__timeRange:p2=3, 21
"level__weatherChoice:object"{
"weather_cloudy:object"{
weight:r=0.05
"entities:array"{
"entities:object"{
template:t="weather_cloudy_c"
}
}
}
"weather_old:object"{
weight:r=0.25
"entities:array"{
"entities:object"{
template:t="weather_poor_a"
"components:object"{
sky_atmosphere__atmosphere_scale:r=1
sky_atmosphere__average_ground_albedo:r=0.75
sky_atmosphere__moon_brightness:r=0.25
sky_atmosphere__sun_brightness:r=0.33
sky_atmosphere__mie2_scale:p2=250, 750
}
}
"entities:object"{
template:t="camera_rain_light_template"
"components:object"{
drop_splashes__distance:r=250
drop_splashes__spriteSplashScale:r=3.75
drop_splashes__splashesCountRate:r=17500
far_rain__density:r=25.5
far_rain__maxDensity:r=45.0
rain_ripples__size:r=0.075
wetness__strength:r=0.33
}
}
}
}
}
"level__timeVec:array"{
level__timeVec:r=4.5
level__timeVec:r=5
level__timeVec:r=5.5
level__timeVec:r=7
level__timeVec:r=7.5
level__timeVec:r=9
level__timeVec:r=9.5
level__timeVec:r=10
level__timeVec:r=11
level__timeVec:r=11.5
level__timeVec:r=12.5
level__timeVec:r=14.5
level__timeVec:r=15
level__timeVec:r=15.5
level__timeVec:r=17.5
}
}
(I’m recreating the weather because I wrote unknown objects).
Screenshots (Yea… My map have more variations that I print):
What is components? It’s object properties.
What is weight? It’s chance that how often this variation will be.
How to make lightning/thunder?
Create more objects in weather (example with rain + lightnings):
"weather_poor_rainy_3:object"{
level__maxNightLuminance:r=1.45
weight:r=0.10
"entities:array"{
"entities:object"{
template:t="weather_poor_a"
"components:object"{
sky_atmosphere__atmosphere_scale:r=1
sky_atmosphere__average_ground_albedo:r=0.1
sky_atmosphere__moon_brightness:r=0.25
sky_atmosphere__sun_brightness:r=0.33
sky_atmosphere__mie2_scale:p2=175, 750
}
}
"entities:object"{
template:t="camera_rain_heavy_template"
"components:object"{
drop_splashes__distance:r=250
drop_splashes__spriteSplashScale:r=3.75
drop_splashes__splashesCountRate:r=19500
far_rain__density:r=30.0
far_rain__maxDensity:r=50.0
rain_ripples__size:r=0.075
wetness__strength:r=0.45
}
}
"entities:object"{
template:t="lightning_animchar_manager"
}
"entities:object"{
template:t="lightning_volumetric"
}
"entities:object"{
template:t="lightning_panorama"
}
}
}
Ligning object is
lightning_animchar_manager
, lightning_volumetric
and lightning_panorama
Same with snow (snow objects are
camera_snow_heavy_template
and camera_snow_light_template
).
p.s. You can add any object that generates by weather randomize.
You can randomly change water level, spawn some object and even weapons.
Whoa thats too much for me. I dont think i am good enough in modding to understand this. But still a big thanks