Dynamic Effects Engine
Authors: Ryex
Version: 1.61
Type: Effects Engine
Introductionthis is a scripting tool. as such on its own it dose NOT add any functionality to a game.
it is a frame work that provides methods and structure to create dynamic effects based on the player or an events position relative to a source on the map.
Version 1.2
- massive lag decrease
Version 1.6
- improved speed added Dynamic position sources and the mute feature
Version 1.61
- fixed bug with dynamic position source
Features
- Provides a frame work for creating dynamic effects based on the player or an events position relative to a source.
- Under 300 lines of code (comments not included)
ScreenshotsNA
DemoNA
Scripthttp://docs.google.com/Doc?docid=0AUKLI9M5vfiOZGdiNXdnMjVfMjBkc3Y5NTlneg&hl=en (http://docs.google.com/Doc?docid=0AUKLI9M5vfiOZGdiNXdnMjVfMjBkc3Y5NTlneg&hl=en)
Instructionsthis is a scripting tool a description of the classes and how to use them is located in the script
Compatibilitythis is a tool it is as compatible as you make it
Credits and Thanks
- Ryex
- Blizzard (for giving me a piece of code that I should of seen myself)
Author's NotesPlease! ask questions, poke through the code, make suggestions for the improvement of this tool. and comment!
NOTE: 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?t...g89287#msg89287 (http://"http://forum.chaos-project.com/index.php?topic=4809.msg89287#msg89287")
Quote from: The ScriptFeatures
#
# *Provides a frame work for creating dynamic effects based on the player or an
# events position relative to a source.
ie. any environment system that is dependent on the distances between an even and a fixed source; my Dynamic Sound script, a shadow script (I intend to make one eventually), heck, you could make a script that makes it snow or rain harder depending on how close you are to a source. stuff like that
the DEE is designed to pull all that into a centralized update where all you have to do is call the $DEE.update and it will update everything while keeping lag caused by bad coding low. as such if any one can help to reduce the lag while keeping the the out put of the methods that same feel free to offer suggestions. I've already gotten a good deal of advise from Blizzard and cut about 90% of the original lag. but if it can be taken down even more then by all means tell me.
UPDATE:
v1.21 fixes a bug when there is more than one map