Thread: [CS] Gore Lite
View Single Post
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 02-29-2024 , 16:26   Re: [CS] Gore Lite
Reply With Quote #4

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 View Post
*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 View Post
*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.
__________________

Last edited by anssik; 02-29-2024 at 16:29.
anssik is offline