The latest developmental build of L3DT has an updated scripting plugin to improve performance (see announcement). This update also changed some of the script syntax, so some older scripts will need to be updated to work with the new plugin. I have updated all the scripts included with the installer, but some scripts on the website (including those on the atRainMaker plugin page) have not been updated yet, and will not be refreshed until the next stable release (v2.9). This decision was made so that the documentation on the website accurately reflects the current stable build, not the developmental build.
In any case, the updated script for the plugin should be something like this:
- Code: Select all
calc.WM.rain <GetMap "HF"> <GetMap "WM"> 1 500 1 1 0xFF
calc.HF.ShiftMap <GetMap "Rain-maxdepth"> -5 false
calc.WM.ApplyOverlayMax <GetMap "HF"> <GetMap "WM"> <GetMap "Rain-maxdepth"> true
Depending on your terrain map, you may need/want to tweak the values in the above script. The meaning of each parameter is explained (briefly) on the plugin page.
Best regards,
Aaron.