Medic TF2 Chad Posted August 10, 2024 Share Posted August 10, 2024 Hi! For the past few weeks I have been playing with my friend on his first world. He's the one hosting it. Now I know that may seem like a "skill issue", but I found it really hard to fight anything because of the delay, making kiting even shadow creatures very painful (for me and winona). And so I was wondering if there might be a solution to that problem: perhaps I could try making a mod that would make me play like I had lag compensation enabled, and only dealt damage to my character if I was hit from my point of view. Or teleport me to the position I am at in my point of view. Here's some of the things I thought of: -If this mod is even possible, it would have to be used with people I trust, because I'm quite confident that it would allow things like invulnerability or instant teleportation at no cost. -I assumed how multiplayer works is by clients sending their input to the server, the server proceeding with the actions and sending back graphical information. So why not change it so that the client sends positions, events, actions, stats changed and events instead? -If my previous thought is correct, that would still pose problems to entity loading, boats and people trying to stay in your lantern's light at night to not waste their own. -Perhaps a player could gain invulnerability if their response time is too high. -But then does that mean the client would also have to run their own server, also sending their own data, making both parties technically hosts? That's why I came here: I don't really know where to start. I have looked a bit in the game's code and some other mods code but I still don't understand how multiplayer works, and how to modify it. I've seen mods change health, teleport players and grant invulnerability/invisibility to ennemies. I looked at all the wonderful things TheNet and TheWorld class could do, but I can't figure out how to properly utilize all of them. So if anyone has the same problem as me, or is interested in helping me, or just telling me that it is straight up impossible (even thought it would make me really sad), please don't hesitate to contact me! (It was really hard to formulate this thought and you may not understand me, I'm sorry if that's the case, and please ask me so I can try to explain it better) Link to comment https://forums.kleientertainment.com/forums/topic/158967-i-dont-know-where-to-start-any-information-or-help-is-welcome/ Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now