HoloGnome
May 31st, 2014, 23:07
Hi,
Attached is a fun extension for controlling the mood lighting of FG2 CoreRPG. It's still in progress with a lot more to do, but I'm at an interim point, would be very interested in your feedback and am happy to consider any requested features, etc. Download the file below.
Name: MoodLighting.ext
Current Version: 0.9.6
Updated: 01/17/2016
Slash Command: /ml
Supports up to FG3.1.5 - seems to work fine.
----------------------------------------------------------
1/17/2016 - v0.9.6 - LATEST
- updated version numbers and dates
- removed "-Test" designation
- now supports random color portals (/ml portal random), but not other randomization
- added HarvestMoon alias
----------------------------------------------------------
7/5/2015 - v0.9.5
- added additional moon modes (quarter, crescent, gibbous, full, blood, yellow, blue), sandstorm, various synonyms, and new images
- initial lighting reset (not currently handled by FG)
- miscellaneous some cleanup
----------------------------------------------------------
6/2/2014 - v0.9.4
- added random generator and random color portal descriptions (other randomization coming)
- added random colors for prismatic portal (since we can't really animate)
- added cyan & magenta for CMYK process color adventurers ^_^
- added special portals and also a portal off mode that will restore previous lighting
following a portal command (eventually)
- re-added client lock-out (got lost on interim rewrite)
- reorganized all the tables and added image sub-directories to support randomization
- beefed up time, water, weather, and adventure categories to cover more bases
and support future randomization
----------------------------------------------------------
6/1/2014 - v0.9.3
- Removed xml <ruleset> tag so that the extension will be seen by all rulesets (feature request)
- Did some tweaking/editing for mood and portal phrases
- Added an "on" alias for the /ml msg command - will set basic phrase mode
----------------------------------------------------------
6/1/2014 - v0.9.2
- NOW WITH PORTALS! Added portal support command. /ml portal [color]
...supported colors are: red, orange, yellow, green, blue, indigo, violet, brown, black, white, and "prismatic" (although it's really more pinkish ;) but has a prismatic icon )
- Fixed Savannah icon
- Modified some of the funny text
----------------------------------------------------------
6/1/2014 - v0.9.1
- Added support for console output on errors/alerts and added the command /ml console on/off. (feature request)
- Added 4 new moods: TUNDRA, TAIGA, STEPPE, SAVANNAH - total is now 25 different mood settings
- Added images for magic portals (not implemented yet) - red, orange, yellow, green, blue, violet, black, brown, white.
Errata: This version displays the wrong image for savannah - fixed in next version.
----------------------------------------------------------
Initial release - v0.9.0
MoodLighting.ext offers the following features:
- Over 20 mood presets for different adventure scenarios, expanding the original 4 in the UI, including: campfire, cave, clouds, dawn, day, desert, dungeon, dusk, forest, jungle, lava, mountains, night, ocean, plains, river, snow, storm, sunrise, sunset, and swamp
- The mood lighting includes changes to the color, mini-icons for each scenario, and short or funny messages.
- The ability to independently set the window alpha transparency level (preserved across mood changes), something which is not currently possible with the chat window commands.
- Built-In help (of course) - /ml help or just /ml
----------------------------------------------------------
I have tested it and it all seems to work OK without any issues. I hope you have fun with it, and I look forward to your comments.
Thanks!
HoloGnome
ps. For those of you who are lua experts, please feel free to provide lua feedback. I have never done any lua scripting until now and there may be things I'm doing that are not optimal. I have to say that lua makes me want to shoot myself with a potato gun. I simultaneously admire and loathe it, with the latter mostly directed at the syntax and missing features vs. other languages with which I am more familiar. Be that as it may, I have picked up some lua tricks in the process and think there is a lot to like about table-centric perspective, as well as the relative speed of lua. The code should be easy to follow and even has a built-in multi-color mini-debugger! :D
NOTE: If you would like to enable the debugger, just do a global find/replace on "-- printDebug" -> replace with printDebug. It debugs to the chat window.
Attached is a fun extension for controlling the mood lighting of FG2 CoreRPG. It's still in progress with a lot more to do, but I'm at an interim point, would be very interested in your feedback and am happy to consider any requested features, etc. Download the file below.
Name: MoodLighting.ext
Current Version: 0.9.6
Updated: 01/17/2016
Slash Command: /ml
Supports up to FG3.1.5 - seems to work fine.
----------------------------------------------------------
1/17/2016 - v0.9.6 - LATEST
- updated version numbers and dates
- removed "-Test" designation
- now supports random color portals (/ml portal random), but not other randomization
- added HarvestMoon alias
----------------------------------------------------------
7/5/2015 - v0.9.5
- added additional moon modes (quarter, crescent, gibbous, full, blood, yellow, blue), sandstorm, various synonyms, and new images
- initial lighting reset (not currently handled by FG)
- miscellaneous some cleanup
----------------------------------------------------------
6/2/2014 - v0.9.4
- added random generator and random color portal descriptions (other randomization coming)
- added random colors for prismatic portal (since we can't really animate)
- added cyan & magenta for CMYK process color adventurers ^_^
- added special portals and also a portal off mode that will restore previous lighting
following a portal command (eventually)
- re-added client lock-out (got lost on interim rewrite)
- reorganized all the tables and added image sub-directories to support randomization
- beefed up time, water, weather, and adventure categories to cover more bases
and support future randomization
----------------------------------------------------------
6/1/2014 - v0.9.3
- Removed xml <ruleset> tag so that the extension will be seen by all rulesets (feature request)
- Did some tweaking/editing for mood and portal phrases
- Added an "on" alias for the /ml msg command - will set basic phrase mode
----------------------------------------------------------
6/1/2014 - v0.9.2
- NOW WITH PORTALS! Added portal support command. /ml portal [color]
...supported colors are: red, orange, yellow, green, blue, indigo, violet, brown, black, white, and "prismatic" (although it's really more pinkish ;) but has a prismatic icon )
- Fixed Savannah icon
- Modified some of the funny text
----------------------------------------------------------
6/1/2014 - v0.9.1
- Added support for console output on errors/alerts and added the command /ml console on/off. (feature request)
- Added 4 new moods: TUNDRA, TAIGA, STEPPE, SAVANNAH - total is now 25 different mood settings
- Added images for magic portals (not implemented yet) - red, orange, yellow, green, blue, violet, black, brown, white.
Errata: This version displays the wrong image for savannah - fixed in next version.
----------------------------------------------------------
Initial release - v0.9.0
MoodLighting.ext offers the following features:
- Over 20 mood presets for different adventure scenarios, expanding the original 4 in the UI, including: campfire, cave, clouds, dawn, day, desert, dungeon, dusk, forest, jungle, lava, mountains, night, ocean, plains, river, snow, storm, sunrise, sunset, and swamp
- The mood lighting includes changes to the color, mini-icons for each scenario, and short or funny messages.
- The ability to independently set the window alpha transparency level (preserved across mood changes), something which is not currently possible with the chat window commands.
- Built-In help (of course) - /ml help or just /ml
----------------------------------------------------------
I have tested it and it all seems to work OK without any issues. I hope you have fun with it, and I look forward to your comments.
Thanks!
HoloGnome
ps. For those of you who are lua experts, please feel free to provide lua feedback. I have never done any lua scripting until now and there may be things I'm doing that are not optimal. I have to say that lua makes me want to shoot myself with a potato gun. I simultaneously admire and loathe it, with the latter mostly directed at the syntax and missing features vs. other languages with which I am more familiar. Be that as it may, I have picked up some lua tricks in the process and think there is a lot to like about table-centric perspective, as well as the relative speed of lua. The code should be easy to follow and even has a built-in multi-color mini-debugger! :D
NOTE: If you would like to enable the debugger, just do a global find/replace on "-- printDebug" -> replace with printDebug. It debugs to the chat window.