Jump to content

i want to mod THE WEATHER to extreme...how? i do it? biomes.xml


Recommended Posts

i have this in the biomes.xml for every biome

i want change weather to extreme

like 90% rain 90% snow + 90% wind + 90% foggy but i must changes all times

how i do this? like spectrum SNOW >

temperature i want ICE COLD 90% colder (shoud i write max 90????)

cloud thiness like to 90% the same ? , what means "prob=1?

what is "precipitation? what means that?

 

thx for help

heres the text for the original biomes copied for explaining

 

    <!-- *** Snow: Main Biome -->
    <biome name="snow" topsoil_block="terrSnow" biomemapcolor="#FFFFFF" lootstage_modifier = "1" lootstage_bonus="20" gamestage_modifier="1" gamestage_bonus="20" difficulty="4">

        <spectrum name="snow"/>

        <weather name="default" prob="44">
            <Temperature min="26" max="32" prob="1"/>
            <CloudThickness min="10" max="30" prob="1"/>
            <Precipitation min="0" max="0" prob="1"/>
            <Fog min="0" max="2" prob="1"/>
            <Wind min="10" max="25" prob="1"/>
            <ParticleEffect prefab="ParticleEffects/p_snowstorm1" ChunkMargin="7"/> <!-- only one weather can have ParticleEffects -->
        </weather>
        <weather name="fog" prob="8">
            <Temperature min="20" max="30" prob="1"/>
            <CloudThickness min="35" max="60" prob="1"/>
            <Precipitation min="0" max="0" prob="1"/>
            <Fog min="7" max="18" prob="1"/>
            <Wind min="5" max="6" prob="1"/>
            <spectrum name="Snowy"/>
        </weather>
        <weather name="snow" prob="40">
            <Temperature min="18" max="28" prob="1"/>
            <CloudThickness min="55" max="75" prob="1"/>
            <Precipitation min="30" max="60" prob="1"/>
            <Fog min="1" max="5" prob="1"/>
            <Wind min="18" max="25" prob="1"/>
            <spectrum name="Snowy"/>
        </weather>
        <weather name="storm" prob="8">
            <Temperature min="12" max="18" prob="1"/>
            <CloudThickness min="90" max="100" prob="1"/>
            <Precipitation min="70" max="100" prob="1"/>
            <Fog min="5" max="15" prob="1"/>
            <Wind min="45" max="50" prob="1"/>
            <spectrum name="Snowy"/>
        </weather>
        <weather name="bloodMoon" prob="0">
            <Temperature min="15" max="15" prob="1"/>
            <CloudThickness min="50" max="50" prob="1"/>
            <Precipitation min="0" max="0" prob="1"/>
            <Fog min="7" max="7" prob="1"/>
            <Wind min="15" max="20" prob="1"/>
        </weather>
        <weather name="twitch_fog" buff="twitch_fog" prob="0">
            <Temperature min="20" max="30" prob="1"/>
            <CloudThickness min="35" max="60" prob="1"/>
            <Precipitation min="0" max="0" prob="1"/>
            <Fog min="18" max="30" prob="1"/>
            <Wind min="5" max="6" prob="1"/>
            <spectrum name="Snowy"/>
        </weather>
        <weather name="twitch_rain" buff="twitch_rain" prob="0">
            <Temperature min="65" max="70" prob="1"/>
            <CloudThickness min="70" max="90" prob="1"/>
            <Precipitation min="30" max="80" prob="1"/>
            <Fog min="1" max="3" prob="1"/>
            <Wind min="10" max="25" prob="1"/>
            <spectrum name="Rainy"/>
        </weather>
        <weather name="twitch_snow" buff="twitch_snow" prob="0">
            <Temperature min="18" max="28" prob="1"/>
            <CloudThickness min="55" max="75" prob="1"/>
            <Precipitation min="30" max="60" prob="1"/>
            <Fog min="1" max="5" prob="1"/>
            <Wind min="18" max="25" prob="1"/>
            <spectrum name="Snowy"/>
        </weather>
        <weather name="twitch_storm" buff="twitch_storm" prob="0">
            <Temperature min="65" max="70" prob="1"/>
            <CloudThickness min="90" max="100" prob="1"/>
            <Precipitation min="90" max="100" prob="1"/>
            <Fog min="2" max="8" prob="1"/>
            <Wind min="35" max="40" prob="1"/>
            <spectrum name="Stormy"/>
        </weather>

Link to comment
Share on other sites

I have a few mods to mess with to make the weather or visual effects look more brutal. Maybe it will help understand. I am not knowledgeable of all of this, I just poked around, so others may have better advice/answers.

 

biomes.xml: Doughs-Weather-Core - Can control some weather ( and spectrums) and fog. This is tuned "fairly brutal with a slight chance of niceness every now and then"

 

worldglobal.xml: Doughs-Ambiance-WholeLottaFog - an example of global persistent fog in the world, which can get denser as the "biomes" fog is added. but you can't do other weather in here

 

To try to answer your questions:

Question: "like 90% rain 90% snow + 90% wind + 90% foggy but i must changes all times.

Answer: Ignore the "<weather name="twitch_..." stuff in the file. This is the twitch integration where people can "trigger" these weather changes.

Look at this "default" area for the snow biome:

<weather name="default" prob="44">
            <Temperature min="26" max="32" prob="1"/>
            <CloudThickness min="10" max="30" prob="1"/>
            <Precipitation min="0" max="0" prob="1"/>
            <Fog min="0" max="2" prob="1"/>
            <Wind min="10" max="25" prob="1"/>
            <ParticleEffect prefab="ParticleEffects/p_snowstorm1" ChunkMargin="7"/> <!-- only one weather can have ParticleEffects -->
        </weather>

 

To try to explain it:

<weather name="default" prob="44"> = The "default" weather in this section will occur 44% of the time.. or "there is a 44% chance of the "default" happening.  The "weather" prob values must add up to 100 (which is 100%), which is why these 3 other sections are 8 and 40 and 8 and the all other ones are 0:

<weather name="fog" prob="8">

<weather name="snow" prob="40">

<weather name="storm" prob="8">

 <weather name="twitch_snow" buff="twitch_snow" prob="0"> <- all others and  "twitch_..." ones are set to 0 as twitch viewers trigger them.

e.g: 44+8+40+8+0+0+0...+0 = 100

 

Question: "I want change weather to extreme

like 90% rain 90% snow + 90% wind + 90% foggy but i must changes all times

how i do this? like spectrum SNOW >"

Answer: I'm not 100% sure this is easy to answer, as I don't think you can get "90% rain AND 90% snow" but I would probably (for snow biome) just go for heavy snow and fog.

Maybe just set these probs, making it always "worst snow storm" or "10% snowy"

<weather name="default" prob="0">

<weather name="fog" prob="0">

<weather name="snow" prob="10">

<weather name="storm" prob="90">

 

Question: temperature i want ICE COLD 90% colder (shoud i write max 90????)

Answer: I believe ( today, not some future game release) they are going to change up the weather.  I don't think "extreme heat or cold" will kill your character, just drain stamina and maybe? food loss (there is a mod to do this though, I'd have to look it up, where cold or heat keeps hurting your character and then finally kills you)

BUT , to make the temps colder, using the inside the two <weather name="snow" prob="10"> and <weather name="storm" prob="90"> sections above... and giving an example how to add more "settings" to make a setting fluctuate when its in a "weather" section. For your request, I might try the settings below.  NOTE: The "prob" values here (inside the weather sections) should add up to 1 (1 = 100%) for a particular "setting" which for here is "Temperature".  Can you go "negative" temperature? I'm not sure but probably can..

<weather name="snow" prob="10">
            <Temperature min="0" max="18" prob="0.5"/>

            <Temperature min="18" max="28" prob="0.5"/>
            <CloudThickness min="55" max="75" prob="1"/>
            <Precipitation min="30" max="60" prob="1"/>
            <Fog min="1" max="5" prob="1"/>
            <Wind min="18" max="25" prob="1"/>
            <spectrum name="Snowy"/>
        </weather>

<weather name="storm" prob="90">
            <Temperature min="0" max="5" prob="0.25"/>

            <Temperature min="5" max="10" prob="0.25"/>

           <Temperature min="10" max="12" prob="0.45"/>

           <Temperature min="12" max="15" prob="0.05"/>
            <CloudThickness min="90" max="100" prob="1"/>
            <Precipitation min="70" max="100" prob="1"/>
            <Fog min="5" max="15" prob="1"/>
            <Wind min="45" max="50" prob="1"/>
            <spectrum name="Snowy"/>
        </weather>

 

Question: ...+ 90% foggy...

Answer: You can either use my other mod and change the "world fog" to a set value ( 90%) but the fogginess will still fluctuate a bit (get denser at times). You can also set the fog value inside the biome weather. This "adds to" the world fog IF you decide to add fog for to the world in worldglobal.xml (or you can leave "worldglobal.xml alone and just set the biome fog levels)

Example of setting it just in the biomes.xml , snow biome specific. Note, like Temperature, the Fog settings must add up to 1. Below is another example of how you can do it in just 1 setting, or make multiples to have it change a little

<weather name="snow" prob="10">
            <Temperature min="0" max="18" prob="0.5"/>

            <Temperature min="18" max="28" prob="0.5"/>
            <CloudThickness min="55" max="75" prob="1"/>
            <Precipitation min="30" max="60" prob="1"/>
            <Fog min="90" max="100" prob="1"/>
            <Wind min="18" max="25" prob="1"/>
            <spectrum name="Snowy"/>
        </weather>

<weather name="storm" prob="90">
            <Temperature min="0" max="5" prob="0.25"/>

            <Temperature min="5" max="10" prob="0.25"/>

           <Temperature min="10" max="12" prob="0.45"/>

           <Temperature min="12" max="15" prob="0.05"/>
            <CloudThickness min="90" max="100" prob="1"/>
            <Precipitation min="70" max="100" prob="1"/>
            <Fog min="90" max="92" prob="0.5"/>

            <Fog min="92" max="98" prob="0.5"/>
            <Wind min="45" max="50" prob="1"/>
            <spectrum name="Snowy"/>
        </weather>

 

Question: cloud thiness like to 90% the same ? , what means "prob=1?

Answer: Yeah, its basically set the same way as temperature. EXCEPT I believe CloudThickness has an effect ( you cannot change) of how much the temperature effects you (less cloud cover = warmer), or if it rains vs snows. if its too cold, it snows, but if cloud cover opens up ( gets clear skies = CloudThickness is maybe 25% or lower?) it gets warmer and precipitation may turn to rain. I don't know the cutoff values to make sure its rain or snow.

 

Question: what is "precipitation? what means that?

Answer: precipitation = if "water" will fall from the sky. if its too warm, its rain, if its too cold, its snow. if precipitation is set to 0, there is no water = no snow or rain.

 

Also: there is a thing/setting in some spectrums/biomes called "ParticleEffect". in my Doughs-Weather-Core mod, I set this value ( if the biome does not have one).  The snow biome has one:

<ParticleEffect prefab="ParticleEffects/p_snowstorm1" ChunkMargin="7"/>

 

The "ChunkMargin" setting is kinda "how much of this particle do you want to add" (kinda). Setting the ParticleEffects in a biome to "1" is the most dense (like the particles are.. smaller or tighter), and going over 7 makes it less dense looking. In my mod I set the ChunkMargin to 1.  I think this can go up to 10 (for the least dense effects).

 

You will also see a "Spectrum" setting, like <spectrum name="Snowy"/>. The spectrum is kinda like a "brightness and overall look to the biome". The <spectrum name="Stormy"/> one is very bright, and the <spectrum name="burnt_forest"/> is smoky and dark. You have to play around with the spectrums to see how you like it in each biome, and the Spectrum settings can go in several places in biomes.xml

 

Edited by doughphunghus (see edit history)
Link to comment
Share on other sites

thats a very very good answer..thx for this..i tried a mod, now i have storm in various speeds, rain und clouds..thats all perfect now

the 2 mods from upside are boring, i want more changes all the day long

 

i see in the biomes that i can change to colour of the biomes? i want the colour from the a18 burned area, this brown

i want in the green area this green sky

in the destroyed area i want the red sky from the horde night

 

can u help me with this?

HERE IST THE MOD (biomes file, u must COPY in 7days> data> (server and athome game friendly)

can u say what do u think from my mod? thx a lot

https://uploadnow.io/f/DxBz05N

Link to comment
Share on other sites

5 hours ago, 7daysOfFun said:

thats a very very good answer..thx for this..i tried a mod, now i have storm in various speeds, rain und clouds..thats all perfect now

the 2 mods from upside are boring, i want more changes all the day long

 

i see in the biomes that i can change to colour of the biomes? i want the colour from the a18 burned area, this brown

i want in the green area this green sky

in the destroyed area i want the red sky from the horde night

 

can u help me with this?

HERE IST THE MOD (biomes file, u must COPY in 7days> data> (server and athome game friendly)

can u say what do u think from my mod? thx a lot

https://uploadnow.io/f/DxBz05N

Question: "i see in the biomes that i can change to colour of the biomes?"

Answer: I don't think this is what you can do.  There is a "biomemapcolor" setting and its for the color of the biome on the map ( when you are in the game playing and look at the map) not the color of the sky.

 

Questions: "i want in the green area this green sky...destroyed area i want the red sky ..."

Answer: I don't think there is a way to change the color of the sky using XML mods. Maybe some other type of mod (like C# mod), but I don't know much about doing those and don't think anyone has been able to do it in a21.

 

Question: can u say what do u think from my mod?

Answer: The mod you made looks good if its doing what you want it to do, but a warning: when you edit the games core files (like directly editing biomes.xml) if you update the game to a different version (or it auto updates itself, or you run "validate game files" in Steam) it will replace your file with the games original file, and you lose all your changes.  The 2 mods I posted above show how to make a "mod that the game will not change when it updates", but the syntax of making changes is different than just editing the games XML files (basic mods use XPATH in the XML), and you have to put mod in a special set of folders and a different location.  Its probably easiest to look at others mods to se how its done (that's how I learned)

 

Also: FYI the weather "changing" takes a bit of time in game, and when you "start" in a game ( new character or continue) it takes awhile for it to "stabilize" , like 5-10 minutes.

 

There are several tutorials for making mods here: 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...