16.01.2014, 13:50
Quote:
It's really really easy to prevent people from using joypads....
|
Quote:
If anyone does want to prevent the use of joypads, IIRC there's an undocumented camera mode which can be used to detect this - you could run a debug script to get the ID and send them a warning etc.
|
I could do some testing in to how accurate mouse-users' shots are (e.g. on average, 60% of shots hit) then mirror that to the damage that controller-users inflict using custom damage (OnPlayerGive/TakeDamage) (if it can be detected with the camera mode as you said).
Quote:
It seems to be the local position where the bullet hits on the object/vehicle/player, as an offset from this target's position.
My question: do the body parts use the same IDs as the bones? Because explosions seem to only damage the left upper arm (they return ID 3 as bodypart)? |