Updated to 0.2.
This fixes the problem where gib happens if player has taken damage from grenade/C4, but then dies by other damage like bullets. This is because the entity field m_bitsDamageType only gets cleared on round start and not between instances of damage. Adding Ham_TakeDamage hook and tracking last damagebits resolved this.
Quote:
Originally Posted by WATCH_D0GS UNITED
*Make the player body invisible after gibs (it gets visible after drop motion) few seconds after death.
|
I did not observe this behaviour, there is no body when gib happens.
Quote:
Originally Posted by WATCH_D0GS UNITED
*Fix bot_kill causing gibs.
|
This will still happen, if last damage taken was by grenade/C4 and then player dies without taking any other damage, for example by bot_kill or slay command.
Also I did not see any need to change the function used to register bots, I now tested the plugin and it always worked, that is to say I could not make it fail.
__________________