Ryex's Dynamic Weather
Authors: Ryex
Version: 1.0
Type: Weather Effects
IntroductionThis is something I've been wanting to make since I created the DEE and now I have.
The script allows the placement of Screen Tone sources and Weather sources in much the same way as my dynamic sounds script dose.
walk close to a source and the effect gets stronger and vise versa
Features
- Creates Dynamic screen tint effects
- Creates Dynamic screen tint effects
- Creates Dynamic weather effects
- Can be easaly set up through events
- Sources and pieces can be disabled
- compatable with MAWS, Zeros Advanced weather, and Compleate Climate Control System
ScreenshotsNA
DemoMediafire (http://www.mediafire.com/?1fh31ag2d1b06ff)
Scriptget the script here
https://docs.google.com/leaf?id=0B0KLI9M5vfiOOWM3YmQ4NDAtNzA0YS00YTNiLWIwZmMtNWQzZWI2ZmZiMDM5&hl=en&authkey=CL6u2bkN (https://docs.google.com/leaf?id=0B0KLI9M5vfiOOWM3YmQ4NDAtNzA0YS00YTNiLWIwZmMtNWQzZWI2ZmZiMDM5&hl=en&authkey=CL6u2bkN)
NOTE: this script requires DEE 1.61 or above!
http://rmrk.net/index.php/topic,35254.0.html (http://rmrk.net/index.php/topic,35254.0.html)
Instructionsplace the DEE ABOVE Dynamic Weather
place MAWS ABOVE Dynamic Weather
place Zero Advance Weather ABVOE Dynamic Weather
place CCTS ABVOE Dynamic Weather
[spoiler=How to use the system]
more that one source can be placed in an event just make sure that the comments are on the first event page, each source is in it's own comment, and that there are no event commands other than comments between the source comment and the top of the page.
to place sources make a comment at the top of the first page of an event. inside the comment place
a weather source
\dee[weather|Source_shape|<width|height>|power|type|weather_power|variation|source_name|piece_name]ie:
\dee[weather|point|480|1|9|0|weathersource1|1]this would make a weather source with a point shape that extended for 480 pixels. creating type 1 weather with a max power of 9. if your using MAWS or Zero Advanced Weather it would call variation 0 (even if you NOT using the scripts you STILL need the variation setting but it doesn't matter what it is as long as it is a number, I say put it at 0) the source would be named 'weathersource1' and the event piece would be named '1'
\dee[weather|hstrip|480|160|1|9|0|weathersource1|1]this would make a weather source with a hstrip shape that extended for 480 pixels to the right and diminished for 160 pixels in all directions. creating type 1 weather with a max power of 9. if your using MAWS or Zero Advanced Weather it would call variation 0 (even if you NOT using the scripts you STILL need the variation setting but it doesn't matter what it is as long as it is a number, I say put it at 0) the source would be named 'weathersource1' and the event piece would be named '1'
\dee[weather|vstrip|480|160|1|9|0|weathersource1|1]this would make a weather source with a vstrip shape that extended for 480 pixels down and diminished for 160 pixels in all directions. creating type 1 weather with a max power of 9. if your using MAWS or Zero Advanced Weather it would call variation 0 (even if you NOT using the scripts you STILL need the variation setting but it doesn't matter what it is as long as it is a number, I say put it at 0) the source would be named 'weathersource1' and the event piece would be named '1'
\dee[weather|box|480|480|160|1|9|0|weathersource1|1]this would make a weather source with a box shape that extended for 480 pixels to the right and 480 pixels down and diminished for 160 pixels in all directions beyond that box. creating type 1 weather with a max power of 9. if your using MAWS or Zero Advanced Weather it would call variation 0 (even if you NOT using the scripts you STILL need the variation setting but it doesn't matter what it is as long as it is a number, I say put it at 0) the source would be named 'weathersource1' and the event piece would be named '1'
for a dynamic weather source (a weather source that hovers over an event)
\dee[dweather|radius|power|type|weather_power|variation|source_name|piece_name]ie:
\dee[dweather|1|160|1|9|0|dweathersource1|1]this would make a weather source with a point shape that extended at full power for 1 pixel and lessening power 160 pixels beyond that. createing type 1 weather with a max power of 9. if your using MAWS or Zero Advanced Weather it would call variation 0 (even if you NOT using the scripts you STILL need the variation setting but it dosn't matter what it is as long as it is a number, I say put it at 0). the source would be named 'dweathersource1' and the event piece would be named '1'
for a tone source
\dee[tone|Source shape|<width|height>|power|red|green|blue|gray|source_name|piece_name]ie:
\dee[tone|point|160|-20|-20|-10|10|tonesource1|1]this would make a tone source with a point shape that extended for 160 pixels. it would add -20 to the red -20 to the green -10 to the blue and 10 the the gray of the map tone the source would be named 'tonesource1' and the event piece would be named '1'
for a dynamic tone source (a tone source that hovers over an event)
\dee[dtone|radius|power|red|green|blue|gray|source_name|piece_name]ie:
\dee[dtone|1|160|-20|-20|-10|10|dtonesource1|1]this would make a dynamic tone source with a point shape that extended for i pixel and diminished for 160 pixels. it would add -20 to the red -20 to the green -10 to the blue and 10 the the gray of the map tone the source would be named 'dtonesource1' and the event piece would be named '1'
if a source name has already been used for a source of the same type a piece will be added to the already created source
Shapes
these are all the shapes you can use
Point – a pixel in the center of the map square will be treated at the source width or height parameters are not needed (don't use them, it will cause errors)
Hstrip – a strip of pixels centered in the middle of the map square that extends to the right from the left side of the map square acts as the source. The width parameter is required and defines how far to the right the line extends (use only width, adding height will cause errors)
Vstrip - a strip of pixels centered in the middle of the map square that extends down from the top of the map square acts as the source. The height parameter is required and defines how far down the line extends (use only height, adding width will cause errors)
Box – a box who's width and height are defined by the width and height parameters acts as the source (use both width and height)
Script calls:
if you use the event comand to change the screen tone on a map with a tone source neither will work correctly. as such there is a script call to change the base tone of a map with a dynamic tone source. DO NOT use it on a map without out a tone source.
D_W_E.chage_base_tone(r, g, b, gr, duration)to disable an entire source
D_W_E.disable_source(type, source_name)type is either 'tone' or 'weather'
source_name is the name of the source in '' or "" (string form)
ie:
D_W_E.disable_source('weather', 'weathersource1')would disable all pieces of a weather source named 'weathersource1'
to enable an entire source
D_W_E.disable_source(type, source_name)exactly like about but enable all the pieces of a source
to disable a piece of a source
D_W_E.disable_piece(type, source_name, name)type is either 'tone' or 'weather'
source_name is the name of the source in '' or "" (string form)
and name in the name of the name of the piece in string form
ie:
D_W_E.disable_piece('weather', 'weathersource1', '1')would disable piece '1' of a weather source named 'weathersource1'
to enable a piece of a source
D_W_E.enable_piece(type, source_name, name)exactly like above but enables a source piece
[/spoiler]
CompatibilityThe system is compatibil with MAWS, Zero Advanced Weather, and CCTS
the are NO other possible conflicts known
Credits and Thanks
Author's NotesNOTE: I (the author) do NOT provide support in this thread. I simply don't visit this forum often enough. another scripter may be able to offer help but if you need support from me please go here
http://forum.chaos-project.com/index.php/topic,7800.0.html (http://forum.chaos-project.com/index.php/topic,7800.0.html)
ENJOY!
Very nice work! A very efficient method of shifting the atmosphere, i'll definitely be trying this one out. Thanks!