module

DF Active Lights

Endorsements
2
Installs
3.55%
Comments
0
Latest version1.3.1
Minimum Core9
Compatible Core9
Last updated1 year ago
Created2 years ago
Authors
Languages English
Français
日本語
Systems All systems
Dependencies libWrapper
Project source Project URL
Report bugs Bug tracker URL
Read-me Readme URL
Changelog Changelog URL
License License URL

DragonFlagon Active Lights

Forge Installs Latest Version Foundry Hub Endorsements

This module provides a way to animate all the various configurations of a light. This animation will be synchronized with the server so that all players should see the same animation states. A simple example for this would be for creating a simple Light House where the light’s direction would animate all the way around a 180° rotation. The configuration window for Active Lights can be opened from the Light Animation tab in any Ambient Light config window.

Light House Energy Dome Laser Light Police Car

Animation Functions

The way animations work is that at time T, the position along the transition is at a deterministic position along a mathematical curve. This is some really fancy talk for basically making a dot follow a line.

Take this animation for example:

  • Key Frame: 0 Seconds

    • Bright Radius: 0 feet
  • Key Frame: 2 Seconds

    • Bright Radius: 40 feet

Given a Linear animation, the following are the results over time:

0s 0.25s 0.5s 0.75s 1s
0 ft 10 ft 20 ft 30 ft 40 ft

The same key frames but with an Elliptic Animation would have these results:

0s 0.25s 0.5s 0.75s 1s
0 ft 15.31 ft 28.28 ft 36.96 ft 40 ft

Here are all of the animation functions that are available, along with a graph for each.

Name Graph Name Graph Name Graph
Linear df-active-lights-graph-linear Quadratic In df-active-lights-graph-quad-in Elliptical In df-active-lights-graph-ellipse-in
Linear Loop df-active-lights-graph-linear-loop Quadratic Out df-active-lights-graph-quad-out Elliptical Out df-active-lights-graph-ellipse-out
Fixed Start df-active-lights-graph-fixed-start Quadratic Full df-active-lights-graph-quad-full Elliptical Full df-active-lights-graph-ellipse-full
Fixed End df-active-lights-graph-fixed-end Quadratic Loop df-active-lights-graph-quad-loop Elliptical Loop df-active-lights-graph-ellipse-loop

Contributors

become a patron If you want to support me or just help me buy doggy treats! Also, you can keep up to date on what I’m working on. I will be announcing any new modules or pre-releases there for anyone wanting to help me test things out!

Changelog

You can find all the latest updates in the CHANGELOG

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x