2006.11.19, 02:51 PM
Is there a way, or could you put in a handle brian, to allow scripts to alter the game clock, ie slow down the animation/movement speed etc. This would allow for slow mo/'bullet time' features.

disruptiv Wrote:No offense guys, but that would probably require a HUGE rework of the engine. ALL the animation, physics, timer, wait, chain, ai, etc would have to be reworked and considering how much Brian's done with 2.2 I wouldn't hold your breath. This would also probably slow down the game a few FPS, not to mention you can accomplish this yourself with a bit of scripting. Although it would take a heap of work, you could just have the player change a global variable named "time_factor" or something like that whenever you need to slow down/speed up. Then you just have the delay for all the waits/timers of the objects you want to be slowed down modified whenever this variable is set. You would also probably have to make them switch animations as well. This is a LOT of work but it would be considerly less than making it in core.
The physics clock is controlled by me, I can just turn it down and then the whole game slows down, animations, everything. It's all tied to the physics clock (including script calls, script timing, etc.)
mafoo Wrote:Well, I was thinking of having super speed where the player experances a slow down of 50%, say, arround him and his speed relitive to the other objects is 150% faster.
Normally camera control is unaffected. I would probably have sidestep change to some funky jump flip when in super speed.
ggadwa Wrote:Maybe have one extra clock that can be borrowed by a special tree of objects.mafoo Wrote:Well, I was thinking of having super speed where the player experances a slow down of 50%, say, arround him and his speed relitive to the other objects is 150% faster.
Normally camera control is unaffected. I would probably have sidestep change to some funky jump flip when in super speed.
That would be a bit tricker because you are effecting physics on a per object basis, you aren't slowing down the entire world time. Doable, but not as simple.
[>] Brian