richi2007
New member
- Joined
- Jul 6, 2005
- Messages
- 51
its not the best but if you wanna now bout the weather have a read and try the example then play about with it to get ust to the script
When makeing a map with weather you need to insert 3 things for it to work::
CREATE_WEATHER_CLIMATE(weatherZone, Style, "x, y", xwidth, yWidth)
CREATE_WEATHER_CLIMATE_RAIN(Zone, ChanceOfSpawning,?,?,no Funtion)
CREATE_WEATHER_CLIMATE_TEMP(Zone, Temp A, Temp B)
The "weatherZone" is like a number you give to that set of weather all the Zones for above would be the same number because they all work together. its like the number you set to towns to keep them seprate.
In the first line "Style" is how the cloud would behave and there are five diffrent numbers for this:
1; No clouds form
2; Cloud that Dissapears after a short time
3; Cloud that sit there and rains/snows
4; Cloud sits there but rain seems slower
5; Cloud that moves then dissapears
I dont think i have to explain the "x, y" but the "xwidth, ywidth" is the cloud size, now im not so shure on how big or small it has to be but my usal size is from "100000" to "150000" but it can probly get smaller then that. To keep things simple use the same number for the "X" and "Y" Width i havnt used diffrent size's for this but if this is your first go at it, it's best to keep things simple till you get the hang of it.
The "ChanceOfSpawning" is wether the cloud is there all the time or now and again. "1.0" seems to keep the cloud there all the time if you have the style set to 3, but if its not the the cloud will go but comes back before it dissapates fully, and seems as if it never went.
you should start using "1.0" just to make shure the weather is actully working then you can go back and change it.
1.0 - cloud is always there
0.9 - 0.1- it will dissapate and come back after a certain amout of time, the smaller the number the longer it will tack.
you can leave the "?,?,no fuction" and just put "0,0,0"
The climate temp affects what happens when the clouds come like rain or snow here are some numbers. you can go in between.
-20;freezing, snow from clouds and clear sky(no shadows)
8;also snows
12;clear sky and rain
23;heavy rain, thunder and fog
40;heavy rain, big storm, thunder and lighting
There is a line for creating wind but i do not yet understand this.
I hope this has helped you understand a bit about the weather and here is a example you can copy and past into your script to mess about with to help you understand a bit more. You should also look at the Black& White Mapping List for this is how i came to understand the weather, it also explains the wind.
CREATE_WEATHER_CLIMATE(1,5,"insert your x,y",150000,150000)
CREATE_WEATHER_CLIMATE_RAIN(1,0.6,0,0,0)
CREATE_WEATHER_CLIMATE_TEMP(1,-20,-12)
and rember when you add your x,y co-ords to make shure you have "" and not """"or you will be thinking why it didnt work for a while.</font>
When makeing a map with weather you need to insert 3 things for it to work::
CREATE_WEATHER_CLIMATE(weatherZone, Style, "x, y", xwidth, yWidth)
CREATE_WEATHER_CLIMATE_RAIN(Zone, ChanceOfSpawning,?,?,no Funtion)
CREATE_WEATHER_CLIMATE_TEMP(Zone, Temp A, Temp B)
The "weatherZone" is like a number you give to that set of weather all the Zones for above would be the same number because they all work together. its like the number you set to towns to keep them seprate.
In the first line "Style" is how the cloud would behave and there are five diffrent numbers for this:
1; No clouds form
2; Cloud that Dissapears after a short time
3; Cloud that sit there and rains/snows
4; Cloud sits there but rain seems slower
5; Cloud that moves then dissapears
I dont think i have to explain the "x, y" but the "xwidth, ywidth" is the cloud size, now im not so shure on how big or small it has to be but my usal size is from "100000" to "150000" but it can probly get smaller then that. To keep things simple use the same number for the "X" and "Y" Width i havnt used diffrent size's for this but if this is your first go at it, it's best to keep things simple till you get the hang of it.
The "ChanceOfSpawning" is wether the cloud is there all the time or now and again. "1.0" seems to keep the cloud there all the time if you have the style set to 3, but if its not the the cloud will go but comes back before it dissapates fully, and seems as if it never went.
you should start using "1.0" just to make shure the weather is actully working then you can go back and change it.
1.0 - cloud is always there
0.9 - 0.1- it will dissapate and come back after a certain amout of time, the smaller the number the longer it will tack.
you can leave the "?,?,no fuction" and just put "0,0,0"
The climate temp affects what happens when the clouds come like rain or snow here are some numbers. you can go in between.
-20;freezing, snow from clouds and clear sky(no shadows)
8;also snows
12;clear sky and rain
23;heavy rain, thunder and fog
40;heavy rain, big storm, thunder and lighting
There is a line for creating wind but i do not yet understand this.
I hope this has helped you understand a bit about the weather and here is a example you can copy and past into your script to mess about with to help you understand a bit more. You should also look at the Black& White Mapping List for this is how i came to understand the weather, it also explains the wind.
CREATE_WEATHER_CLIMATE(1,5,"insert your x,y",150000,150000)
CREATE_WEATHER_CLIMATE_RAIN(1,0.6,0,0,0)
CREATE_WEATHER_CLIMATE_TEMP(1,-20,-12)
and rember when you add your x,y co-ords to make shure you have "" and not """"or you will be thinking why it didnt work for a while.</font>