Off Topic > Games

GMod Slo-Mo Script (One More Thing, Sorry)

Pages: (1/5) > >>

Dapizzanator:

I downloaded the Dear Sister weapon, which, when you shoot, it changes the timescale for slomo, then drops the weapon. Just like the skit.

Anyway, I was wondering, "What if I made a code that could change the timescale at my command?" So, I attempted it, looking at the other Dear Sister code. Because I'm a worthless scripter, it didn't work. I was wondering if anyone could take a look at it and see what was wrong. Here's the code:

--- Code: ---//Slo-Mo Toggle
unbind mouse3
bind mouse3 "+slomo"
alias "+slomo" (game.Consolecommand "host_timescale 0.5")
alias "-slomo" (game.Consolecommand "host_timescale 1")
--- End code ---
Additionally, is there a way to make the Dear Sister weapon not drop itself after I fire? Thanks for help with either!

Sebster 105:

I like changing physics timescale to 0.15 and then "bind h kill" into the console

then jumping off buildings and pressing H all the time

oromis:

Can you bind a key to timescale change? like bind "o" "timescale 0.01"?

Marcem:

You need sv_cheats at 1.

mrlolop:


--- Quote from: Dapizzanator on June 28, 2010, 07:37:03 PM ---I downloaded the Dear Sister weapon, which, when you shoot, it changes the timescale for slomo, then drops the weapon. Just like the skit.

Anyway, I was wondering, "What if I made a code that could change the timescale at my command?" So, I attempted it, looking at the other Dear Sister code. Because I'm a worthless scripter, it didn't work. I was wondering if anyone could take a look at it and see what was wrong. Here's the code:

--- Code: ---//Slo-Mo Toggle
unbind mouse3
bind mouse3 "+slomo"
alias "+slomo" (game.Consolecommand "host_timescale 0.5")
alias "-slomo" (game.Consolecommand "host_timescale 1")
--- End code ---
Additionally, is there a way to make the Dear Sister weapon not drop itself after I fire? Thanks for help with either!

--- End quote ---
This idea has been done before many times.

Pages: (1/5) > >>

Go to full version