Source engine movement in Unity (open source!)

preview_player
Показать описание
Based on cr4yz's Fragsurf, should be quick and easy to set up.
Update 15 August: Finally added experimental step offset functionality!
Комментарии
Автор

Maybe you can add max step height also, because now you get stuck when something is 1 cm higher

soldierrob
Автор

bro ur literally the goat. It works great.
IMPORTANT TIP FOR EVERYONE: After Importing the folder into your unity project, go to edit, and then project settings and then go to input manager and then change the size of axes from the default amount to 2 more. This will create two more options you can customize. Name the first one Sprint and beside the "Positive Button" enter which you you want your sprint to be (left shift). And for the other one, Name it Crouch and beside the "Positive Button" enter which key you want your crouch to be (left ctrl). Good Luck Ya'll👍

manudles
Автор

I have never bean more in love with a movement script

OurVala
Автор

Wow dude... you're doing gods work, thank you so much for this !

onix
Автор

POV: You're Scout from the online video game Team Fortress 2 released on October 10th, 2007, by Valve Software

Illijah
Автор

YESSS, Finally my game feels good
Thanks man for this amazing script

freebyte
Автор

Thank you for existing you saved me so much pain

starrvalorant
Автор

i actually fucking love you out of all the movement codes ive tried yours is the most accurate

BBBhop
Автор

thank you, you're a smart cookie!

yesno-zs
Автор

Thank god, I can make schedule one have source movement now

scrumpieYTP
Автор

Dude i love when they say to add input methods for crouch and sprint AND THEN NEVER SAY HOW

fbeGgxzB
Автор

aye you know of how would one add a variable to the surf character script that check's if the player is moving ( *not by checking if the keys are pressed, but by checking velocities and etc.* ), thanks for all of this btw this is awesome work.

SkyIsTumbling
Автор

I've made something similar to this but this is just perfect. Thank you for sharing this <3

youz
Автор

How exactly can I add sounds to walking, crouching, swimming and jumping? I am kind of stuck on it.

Coolkidstan
Автор

I have downlaoded the github folder, put it into unity, and put the example into the scene, but the player doesnt move?

HoisinDuckWrap
Автор

i tried putting it in my project but couldn't get the inputs to work, using unity 2021.3.14f1

LucidCobalt
Автор

Could you share the .unity file or the whole game folder from this video?

hitzkopf
Автор

Testing it out 5 years later and it works somewhat
Crouching seems to be entirely broken

Beanibirb
Автор

I'm really late but is there any way I can add movement sound effects? I'm struggling because I'm not sure how to reference the sounds with the SurfController being derived on MonoBehaviour.

sebastian_plays
Автор

I'm having trouble getting up steps. I turned on step offset and I successfully climbed 1 step. However, if I try to climb it again, it won't let me and I have to jump over. Is there any way to walk up and down stairs efficiently? Thanks.

MMJD-zt
visit shbcf.ru