hide-and-seek/maps/mp
Icedream 890c5c0184 Fix first-person view for hiders, fix hitbox/collision and restructure code.
- Moved disguise code into their own methods (setDisguiseModel, deleteDisguiseModel, updateDisguiseView). Thinking about moving into its own file to avoid overly complex GSC file.
- Introducing player.isThirdPerson in order to keep track of the player's view. This allows determining whether the disguiseEntity should be hidden from the player's view or not.
- Make the entity solid and correct the target damage so that players actually have the entity as a hitbox (watchDisguiseDamage). I tried to get hit markers to work properly but it's yet untested.
- Improved tracing code to ignore the disguise entity since that entity is now solid (has collision).
2016-04-08 19:00:25 +02:00
..
gametypes Fix first-person view for hiders, fix hitbox/collision and restructure code. 2016-04-08 19:00:25 +02:00
mods Fix helpful hints to be only shown once in a round. 2016-04-08 18:53:44 +02:00