-
November 22nd, 2021, 13:10 #1
- Join Date
- Dec 2004
- Posts
- 208
Can you modify the Lighting presets?
I want to change the default lighting presets in FGU. Can that be done?
-
November 22nd, 2021, 13:20 #2
No, but you can add your own token lights. See video twenty here https://www.fantasygrounds.com/forum...112#post492112
If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php
-
November 22nd, 2021, 21:24 #3
Im pretty sure you can by extension...
Code:<lightingsettings> <preset key="candle" nameres="lighting_candle" color="FFFFFCC3" bright="1" dim="2" animtype="flicker" animspeed="100" /> <preset key="lamp" nameres="lighting_lamp" color="FFFFF3E1" bright="3" dim="9" animtype="flicker" animspeed="25" /> <preset key="torch" nameres="lighting_torch" color="FFFFF3E1" bright="4" dim="8" animtype="flicker" animspeed="25" /> <preset key="lantern" nameres="lighting_lantern" color="FFF9FEFF" bright="6" dim="12" /> <preset key="spell_darkness" nameres="lighting_spell_darkness" color="FF000000" bright="3" dim="3" inverse="true" /> <preset key="spell_light" nameres="lighting_spell_light" color="FFFFF3E1" bright="4" dim="8" /> <ambientpreset key="dawn" nameres="ambient_lighting_dawn" color="FFFFDFBD" shadowcolor="650057BD" shadowangle="144" shadowlength="2" /> <ambientpreset key="sunlight" nameres="ambient_lighting_sunlight" color="FFFFF7E6" shadowcolor="9130525D" shadowangle="280" shadowlength="0.2" /> <ambientpreset key="dusk" nameres="ambient_lighting_dusk" color="FFFFC3A0" shadowcolor="313052BB" shadowangle="316" shadowlength="2" /> <ambientpreset key="moonlight" nameres="ambient_lighting_moonlight" color="91C9E7FF" shadowcolor="74195263" shadowangle="220" shadowlength="0.6" /> </lightingsettings>
Code:local _tTokenLightDefaults = { ["candle"] = { sColor = "FFFFFCC3", nBright = 1, nDim = 2, sAnimType = "flicker", nAnimSpeed = 100, nDuration = 600, }, ["lamp"] = { sColor = "FFFFF3E1", nBright = 3, nDim = 9, sAnimType = "flicker", nAnimSpeed = 25, nDuration = 3600, }, ["torch"] = { sColor = "FFFFF3E1", nBright = 4, nDim = 8, sAnimType = "flicker", nAnimSpeed = 25, nDuration = 600, }, ["lantern"] = { sColor = "FFF9FEFF", nBright = 6, nDim = 12, nDuration = 3600, }, ["spell_darkness"] = { sColor = "FF000000", nBright = 3, nDim = 3, nDuration = 100, }, ["spell_light"] = { sColor = "FFFFF3E1", nBright = 4, nDim = 8, nDuration = 600, }, };
-
November 22nd, 2021, 21:47 #4
- Join Date
- Dec 2004
- Posts
- 208
-
November 22nd, 2021, 21:48 #5
- Join Date
- Dec 2004
- Posts
- 208
Thanks, damned. Unfortunately, a bit beyond my skills here. Oh well!
-
November 22nd, 2021, 21:49 #6
- Join Date
- May 2016
- Posts
- 521
@Damned - You have given me another idea for an extension. Thank you.
Jason
-
November 22nd, 2021, 21:55 #7
- Join Date
- Dec 2004
- Posts
- 208
-
November 22nd, 2021, 21:57 #8
- Join Date
- May 2016
- Posts
- 521
Will do.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks