Quote:
Originally Posted by ottobohn
Think we can use this for a soccer mod? Can another play knock it out of your grip and can u throw it when released?
otto
|
That's a good point about other players using the same item. I may need to add some code. Right now I think that the player with the highest entity index will be the one to have control if both people lock on.
I also probably need to add a "maximum distance from player" convar so you can't pick up stuff from miles away. A "throw" command would be nice also.
For a soccer mod, you'd probably want to change the position calculation to use the player's absolute origin instead of the eyeangles and implement a very short maximum distance to grab from.
__________________