Slow motion?


(D- Eagle) #1

Hi. Is this possible: When i press slow motion will start and when i click alt again it stops, like in max payne?
I need this to my mod…


(Miguel) #2

you will make a mod with that???


(D- Eagle) #3

Umm… Now i didn’t get your question :S


(carnage) #4

wouldnt that be in the section of code that updates the physics of the game

if there was a wait comand that activated making each movement frame update slower so things would slow down? you could togle this on and off?
the greater the wait the slow it goes

i never looked at any q3 game source code but i think that would make the animation seem more jerky


(KillerWhale) #5

There’s already command for that: timescale 0.5 (or something else lower between 0 and 1 for slowmotion)
However it’s cheat protected, so you’ll have to enable cheats for it to work or you’ll have to code a non-cheatprotected cvar to change it.

The problem is I don’t know how you want to implent this in a multiplayer game? Does everyone get the privaliges to put it into slowmotion or the admin only? The first probably wouldn’t work and the second isn’t a really big change…


(carnage) #6

if your mod is ET D-eagle (if your making a SP mod in ET you got ur work cut out) then how could you use time slowing down without effecting all players?

would be difficult to impleament


(iop) #7

how do i enable cheats, whenever i start a server? and how can i make my own cvar?