Hello, just need help finding a server side bunnyhop script i would code this but for some reason im not functioning properly today (drunk). All i bassically need is when the player hits the floor and hes holding space bar then it just repeats. I've tried a few scripts but for some reason the players dont gain velocity when bhopping so thats the part i need help on Thanks.
[QUOTE=CertifiedCode;47554472]Hello, just need help finding a server side bunnyhop script i would code this but for some reason im not functioning properly today (drunk). All i bassically need is when the player hits the floor and hes holding space bar then it just repeats. I've tried a few scripts but for some reason the players dont gain velocity when bhopping so thats the part i need help on Thanks.[/QUOTE]
"All i bassically need is when the player hits the floor and hes holding space bar then it just repeat"
What repeats?
[QUOTE=baldursgate3;47554484]"All i bassically need is when the player hits the floor and hes holding space bar then it just repeat"
What repeats?[/QUOTE]
lol stuffed that part up so i just need it to keep bhopping basically but it needs to gain velocity
[editline]19th April 2015[/editline]
Actually I just need it to keep bhopping and gain velocity it has to be serverside... and thats about it sorry for the confusion
If you wanna be a hoon, just use the tick hook and spam +jump
:v:
You may actually want to use a shared hook such as SetupMove, or even a client-side only CreateMove script would work as the client handles controls prior to it being sent to the server.
Unfortunately, my old example ( which uses player on ground and resets using hooks for when the player hits the ground ) no longer works and causes jittery movement. To achieve 0 friction jumping ( where you're relying on air-accelerate for increasing velocity ) then you'll need an auto-jump which won't cause the player to slow down. I also wrote some code for someone and found that bunny-hopping doesn't work the way it used to... Using negative air-accelerate values will cause the player to increase speed as expected but positive values have been neutered... You'll need to calculate the change in rotation that takes place with each jump while pairing that motion with either strafe key and manually add acceleration unless you've found an alternate method...
Here's a new example for 0 friction auto-jumping; shared so place in addons/acecool/lua/autorun/sh_autojump_or_whatever.lua
[url]https://dl.dropboxusercontent.com/u/26074909/tutoring/player_movement/auto_hop_bunnyhop.lua.html[/url] - remove .html to view .lua
Hahaha can always count on the facepunch community but instead of being spoon fed i think ill try and do these tasks by my self also whats a hoon Thanks.
Sorry, you need to Log In to post a reply to this thread.