Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Torch API not working

I'm not sure if I am being dumb, or the API itself is not working. I've tried following the documentation and nothing I have tried functions as intended, not even !snuff. I don't receive any help responses in the chat either. 
Torch was written for a lighting system which is no longer in use and has not been updated to my knowledge.  Use TokenMod instead - it does everything Torch did and more. If you a search in the forums you can find quite a few nice macros people have written. I believe this came from Novercalis: !token-mod {{?{What Type of Vision - DIM/BRIGHT |Full Blind, --set has_bright_light_vision#no emits_bright_light#no bright_light_distance#0 has low_light_vision#no emits_low_light#no low_light_distance#0 aura1_radius# has_night_vision#no has night_vision_distance#0 night_vision_tint #transparent |No Lights, --set has_bright_light_vision#yes emits_bright_light#no bright_light_distance#0 has low_light_vision#no emits_low_light#no low_light_distance#0 aura1_radius# has_night_vision#yes has night_vision_distance#2.5 night_vision_tint #transparent |Candle 10ft 5/5, --set has_bright_light_vision#yes emits_bright_light#yes bright_light_distance#5 has low_light_vision#yes emits_low_light#no low_light_distance#5 has_night_vision#yes night_vision_distance#10 night_vision_tint #transparent has_directional_bright_light#yes directional_bright_light_total#360 bright_light_Center#00 lightColor#ffff00 aura1_radius# |Torch Light 40ft 20/20, --set has_bright_light_vision#yes emits_bright_light#yes bright_light_distance#20 has low_light_vision#yes emits_low_light#no low_light_distance#20 has_night_vision#yes night_vision_distance#40 night_vision_tint #transparent has_directional_bright_light#yes directional_bright_light_total#360 directional_bright_light_center#00 lightColor#ffff00 aura1_radius# |Lamp 45ft 30/15, --set has_bright_light_vision#yes emits_bright_light#yes bright_light_distance#15 has low_light_vision#yes emits_low_light#no low_light_distance#30 has_night_vision#yes night_vision_distance#45 night_vision_tint #transparent has_directional_bright_light#yes directional_bright_light_total#360 directional_bright_light_center#00 lightColor#ffff00 aura1_radius# |Hooded Lamp 60ft 30/30, --set has_bright_light_vision#yes emits_bright_light#yes bright_light_distance#30 has low_light_vision#yes emits_low_light#no low_light_distance#30 has_night_vision#yes night_vision_distance#60 night_vision_tint #transparent has_directional_bright_light#yes directional_bright_light_total#360 directional_bright_light_center#00 lightColor#ffff00 aura1_radius# |Covered Hooded Lamp 35ft 30/5, --set has_bright_light_vision#yes emits_bright_light#yes bright_light_distance#5 has low_light_vision#yes emits_low_light#no low_light_distance#30 has_night_vision#yes night_vision_distance#35 night_vision_tint #transparent has_directional_bright_light#yes directional_bright_light_total#360 directional_bright_light_center#00 lightColor#ffff00 aura1_radius# |Bullseye Lantern 120ft 60/120, --set has_bright_light_vision#yes emits_bright_light#yes bright_light_distance#60 has low_light_vision#yes emits_low_light#no low_light_distance#60 lightColor#ffff00 has_night_vision#yes night_vision_distance#120 night_vision_tint #transparent aura1_radius# has_directional_bright_light#yes directional_bright_light_total#60 directional_bright_light_Center#270 |Day Open 60 ft 60/60, --set has_bright_light_vision#yes emits_bright_light#no bright_light_distance#60 has low_light_vision#yes emits_low_light#no low_light_distance#60 has_night_vision#yes night_vision_distance#60 night_vision_tint #transparent night_vision_effect#none aura1_radius# |Day Woods 30ft 30/30, --set has_bright_light_vision#yes emits_bright_light#no bright_light_distance#60 has low_light_vision#yes emits_low_light#no low_light_distance#60 has_night_vision#yes night_vision_distance#30 night_vision_tint #transparent night_vision_effect#none aura1_radius# |Day Forest 15ft 15/15, --set has_bright_light_vision#yes emits_bright_light#no bright_light_distance#60 has low_light_vision#yes emits_low_light#no low_light_distance#60 has_night_vision#yes night_vision_distance#15 night_vision_tint #transparent night_vision_effect#none aura1_radius#|}}}
Thank you, I'll check that out. <3
1760632478
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
You can also try Dynamic Lighting Tool . It does all of the above and a lot more, with presets and diagnostics.
keithcurtis said: You can also try Dynamic Lighting Tool . It does all of the above and a lot more, with presets and diagnostics. Omg that looks great, I'll definitely check that out!
Erich S.  said: Use TokenMod instead - it does everything Torch did and more. One thing that TokenMod and other scripts don't do is create the cool flicker effect that Torch made. But Dynamic Lighting now has a lot of other features that weren't possible in the old lighting system.
1760676711
vÍnce
Pro
Sheet Author
+1 for the old flicker effect.