Digital Paint Discussion Board

Development => General Development => Topic started by: NJIN on March 03, 2012, 10:32:21 PM

Title: Gravity Script
Post by: NJIN on March 03, 2012, 10:32:21 PM
How this works is when you press the jump button it changes the gravity to -200 so you float up when you release it the gravity becomes 800 again so you fall down heres a demo
Title: Re: Gravity Script
Post by: CheMiCal on March 03, 2012, 11:29:56 PM
very usefull!
Title: Re: Gravity Script
Post by: pvtjimmy on March 04, 2012, 04:49:27 AM
what about just binding 2 keys, 1 setting the gravity to "x" where you can float, and the other to "y" back to normal?
Title: Re: Gravity Script
Post by: ic3y on March 04, 2012, 05:30:21 AM
~~~~~~~~~~~~~~~~~~~~~~~~~~~Insano Jump^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This makes it set the gravity to 0 when you jump, then reset it to normal when you let go of mouse2
Hold down right mouse button to fly up, then release to fall.



Paste this script in any line of the config:

alias -insanojump "-moveup;sv_gravity 800"
alias +insanojump "+moveup;sv_gravity 0"
bind "MOUSE2" "+insanojump"


http://ic3x.de/pbfiles/scripts/smackwaters%27s%20crazy%20commands.txt
Title: Re: Gravity Script
Post by: NJIN on March 04, 2012, 03:23:34 PM
i found this and thought i should point it out