Make electric bolt animation speed customizable #1125
Replies: 2 comments
-
This is probably doable, barring some conflict with Ares electric bolt additions. The way electric bolts work is that they have lifetime value that always starts at 65536, and a random seed number that goes from 0-256 which is used to randomize the blot (line) drawing. Every frame when bolts are rendered it checks if the lifetime value is non-zero, draws the lines if so and then increments the random seed value by 1. And on every game frame the lifetime is divided by 2 (it is stored as integer so once it goes below 1 it becomes 0). I believe what you're essentially asking for is customizable lifetime and frame rate (how many game frames it takes to increment the random seed) for the electric bolts. |
Beta Was this translation helpful? Give feedback.
-
I was hoping to do a static bolt (like the lightning-from-the-sky kind of bolt) instead of the current one (dancing-all-over-the place tesla bolt), and modify its duration. From your description it seems that there is no other way than doing it like what you said, since the game doesn't do a clean "time remaining - time elapsed" substraction. But i guess that the lifetime would be customized through changing the initial lifetime value, right? I don't see how you could do it any other way. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
IsElectricBolt=yes effects creates line arcs that appear to be spinning for several seconds. This request is to make the "spin" speed and/or duration customizable.
INI code
Additional context
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions