ExcitementMeter is a plugin for modeling character arousal. Basically it allows you to create events (triggers) that occur at specified "excitement levels", but with an amount of randomness. When playing, there is an excitement meter that fills slowly over time. Every so often (on a timer specified by the user), a new event is triggered. The event that gets triggered follows a couple rules:
This plugin is intended to be paired with some type of state machine (like from MacGruber's LogicBricks or my CharacterStateManager) to control a character's state and gradually increase intensity. However, I'm sure there are other good uses for it!
Github
You can always find the code for ExcitementMeter here:
https://github.com/ThatsLewd/ExcitementMeter
Any bugs and problems should be reported on Github, as I don't check these forums very often.
- The excitement value of the chosen event must be lower than the current excitement. This way, the exciting-ness of events is always increasing.
- Events closer to the current excitement level are more likely to be chosen, but less exciting events might sometimes be chosen (with a falloff parameter and hard cutoff specified by the user). This way, there is always a chance of something less exciting happening for a bit to create interest.
- Once the excitement meter hits 1000, the climax event is triggered. Exciting!
This plugin is intended to be paired with some type of state machine (like from MacGruber's LogicBricks or my CharacterStateManager) to control a character's state and gradually increase intensity. However, I'm sure there are other good uses for it!
Github
You can always find the code for ExcitementMeter here:
https://github.com/ThatsLewd/ExcitementMeter
Any bugs and problems should be reported on Github, as I don't check these forums very often.