RSSy MYGO.pl Opublikowano Kwiecień 6, 2021 o 15:53 RSSy Udostępnij Opublikowano Kwiecień 6, 2021 o 15:53 Description: When a zombie/player dies and has health below certain level, it then explodes into body parts with blood trails attached to gibs. Note 1: Whether a character will gib on death is considered through 2 criterias: Damages exceeds specified thredhold & portion of the zombie/player's maxhealth. For example, having sv_gibsys_mindamage_threshold = -700 & sv_gibsys_maxhealth_ratio = 0.8 would mean a zombie/player of maxhealth 500hp would gib if its health is less than 500hp*0.8*-1=-400hp AND less than the -700hp constant threshold. Note 2: This plugin uses a pooling system so gibs count can be constrained within limit. The default MAX_GIBS is set to 30. I did not make this into a cvar because changing it in runtime might cause plugin instability. This is one of the first plugins I wrote, so it might contains bugs. Please leave a comment to report the bug if any. Cvars: sv_gibsys_num_gibs_rib - Number of ribs to spawn on death. sv_gibsys_maxhealth_ratio - Gibbing criteria 1: Additional damage must exceed this portion of maxhealth. sv_gibsys_mindamage_threshold - Gibbing criteria 2: Health must be less than this level. sv_gibsys_gib_speed - Min speed in which gib flies. Commands: sm_gibsys_printGibPoolIndex - Print gib pool indices in console sm_gibme - Self gib (only when not infected) Attached Files gibbingsystem.smx (10.7 KB) Get Plugin or Get Source (gibbingsystem.sp - 9.9 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi