2/20/2023 0 Comments More player models controlsAgain - input happens on client, server received packets and server does shit (also updates other clients with your actions - again, with packets).ġ.3. I will just write "Smart Moving" (mod).ġ.2. What you need to do is send "state" packet to server when input happens and from server's handler change server side state.ġ.1. To store per-player data you need recent posts on this forum (you could lookup my post history).Ģ.2. Does this mean that I'll have to make a new animation for even simple things like eating? If I can get the model to only change when the player is high profile, then I guess I wouldn't have to do animations like walking, and technically I could prevent the player from doing things like eating and sneaking.Īlso, for animation, do I have to set the angles frame by frame for every tick or can I smoothly move a part from one point to another using maths?Ģ.1. However I do not know of any keyboard equivalent.ģ) No I don't think I am convinced. With the middle click it was easy to change what it does (you can still pick block but that happens if you let go in under 20 ticks) because there is the cancelable MouseEvent. When free running you're not meant to be able to jump, and pressing space will cause you to dive roll instead, while holding it as you run towards a wall will initiate a climb. In fact all the controls sort of change in 'high profile mode'. It's a parkour mod taking inspiration from Assassin's Creed, so when you are in 'free run mode' you can do all sorts of things like climbing up walls. What I want to do is replace the player model when in high profile.ġ) No, it's not just visual like the Mo' Bends mod. I've also coded the new model and added a few little functionalities like making the scroll wheel ineffective while middle click is held down. In high profile mode, when you walk forward the player sprints instead, entering 'free run mode'. All I've done for my mod so far is make it so that as long as you hold down the middle click button with an empty hand you enter 'high profile mode' and the camera switches to 3rd person view.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |