You are not logged in.
Pages: 1
Is it possible to detect where a shot landed in the player model skeleton, so we can add locational damage like leg, torso and head shots?
Offline
Yep easy, just compare the z of the hit position vector in relation to something that stays constant with the player (I use eyeheight). The tricky part is telling the server to accept your modified damage (as it does its own calculations on the gamestate). The way I implemented headshots into Adrenaline Cube 2 was detecting headshots clientside and telling the server how many headshots were registered (hacky and insecure, I know :D).
Offline
Pages: 1