First Person Muzzle Flash & No Tracers#559
Conversation
… time seen to global time
… scale between server and client
|
Still needs to be cleaned up, and need to remove as much stuff out of base game classes as feasible |
|
I'm gonna keep the changes to baseplayer_shared I think, it's the first place where the function Weapon_Switch is shared between server and client, allowing us to change the muzzle flash from either of those places without writing two separate functions |
|
Shooting and seeing the muzzle flash results in a low FPS (~144 -> ~40), tested while standing and looking in a map corner. VGA compatible controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630] (rev 02) (i9-9900k). |
looking back at the muzzle flash stuff im probably networking far too many variables, I wonder if the environment light created could also be contributing to the lower fps. |
|
Thanks to the addition of the Tposing fix on master, I think we can remove networking almost entirely from this class now, since there is no instance where a local player switches to a specific weapon without the client knowing about it |
…on is communicated to client
Description
Toolchain
Linked Issues