Need help with a command idea

D€vIL²

Newbie
Joined
Nov 18, 2004
Messages
899
Reaction score
0
I thought of a cool way to go in to slo-mo in HL2 useing fadein fadeout commands, this is what it looks like:

alias +slow "fadeout;fadein;host_timescale .4;phys_pushscale 5;sv_gravity 500"
alias -slow "fadeout;fadein;host_timescale 1;phys_pushscale 1;sv_gravity 600"
bind mouse2 +slow

but when I go in to the game and I press the button it only fades in, doesn't fade out then in. I was thinking I have to put a "wait" in there somwhere but im not sure (I don't know a lot about this stuff)
 
You want something similar to:

alias medwait "wait; wait; wait; wait"
alias longwait "medwait; medwait; medwait; medwait"

alias +slow "fadeout; longwait; longwait; fadein;host_timescale .4;phys_pushscale 5;sv_gravity 500"
alias -slow "fadeout; longwait; longwait; fadein;host_timescale 1;phys_pushscale 1;sv_gravity 600"
bind mouse2 +slow


If you want mouse2 to act as a toggle, you could use:

alias medwait "wait; wait; wait; wait"
alias longwait "medwait; medwait; medwait; medwait"

alias slow "fadeout; longwait; longwait; fadein;host_timescale .4;phys_pushscale 5;sv_gravity 500; bind mouse2 fast"
alias fast "fadeout; longwait; longwait; fadein;host_timescale 1;phys_pushscale 1;sv_gravity 600; bind mouse2 slow"

bind mouse2 slow


I have not tested the amount of wait commands needed for this to work seemlessly. You will probably have to adjust it some.
 
Back
Top