1 Attachment(s)
Signals and Timer Differentiation
Hola sackfolk. I've been on my moon manipulating features on health bars and have added a "near death feature"
[[That intense moment in games where everything goes black and white]] Well i've manage to do so, but theres a problem I don't know how to fix. Let me show you the basis of my logic.
Attachment 48566
-In the picture you can see I have two impact sensors, these signify when you are hit with a dangerous object. The sensors reset a (0.1 on/off inverse) timer which activates a microchip with a battery signal. Depending on the battery percentage (damage strength) these effect the timer on the right.
-There are three main timers. Each timer is 0.1 speed scale in order to interpret the battery signals. The wire trailing off the microchip attaches to the health bar timer, for each damage signal this goes down. The first large timer on the microchip is the 'death timer' for each damage signal, this goes up- until it turns on and activates a destroyer. (in this case, the green tag)
-The second timer is the near death timer. This is what the second impact sensor (blue square) effects.
The two impact sensors go hand-in-hand. The first sensor signals regular damage to the health bar. While the second sensor is a "severity" point. This is a slightly stronger signal. This is so the 'near death' timer activates before the 'death timer". Once the near death timer fills, it will start a (Max sec. Timer) countdown timer, that slows all objects down and turns things black and white. This is exactly comphermc's slow-motion effects
The timer and not gate (white square) is just a slow pulser that regenerates health over time.
Phew...not that i've explained all that here's the problem :( and it's a rather short problem.
When the near death timer activates the slow motion turns on...but cant turn off until the timer is completely back to zero again (full health)
I need a way so that it can differentiate between whats considered "near death" and reset the minute you recover from it. But naturally resume if you are at risk again. Please help, i've tried using more timers and gate conditions, but at this point i don't know where i'm getting at. :confused: