Hokker3
(Hokker3)
July 7, 2020, 4:44pm
#1
Hi, I am learning how FPS games work, and I came across a question that I can’t find the answer to:
How does replicating the viewModel of one client to the server(and other clients) work?
Basically, how can a player see where another player is pointing his gun?
2 Likes
MightTea
(MightTea)
July 7, 2020, 4:51pm
#2
You could check out @EgoMoose tutorial on FPS.
This guide was originally written for scriptinghelpers . The original can be found here .
In this post we will be talking about creating our very own filtering enabled friendly first person shooter (FPS) game. I do want to make clear though that I won’t be covering how to actually make the weapon shoot in this article. All we are going to be covering is the visuals meaning having the character aim down sights, look up and down, etc. Maybe we’ll talk about shooting another day.
Things to take …
I’ve never worked on an FPS, but I don’t think you’ll replicate the view model. The view model is only for the client, what the rest of the server sees is the actual movement after the character I think.
1 Like