RSSy MYGO.pl Opublikowano Luty 28, 2022 o 11:32 RSSy Udostępnij Opublikowano Luty 28, 2022 o 11:32 aboutmy friends sometime complains chainsaw so useless, well this kinda easy to solve what does i do? hit target or firing will gain adrenaline and temp health hit zombies can refill chainsaw fuel, all configurable reference some code from Left 4 Dhooks Direct and SMLib this is my realism part ConVar PHP Code: // Enabled 'Chainsaw Buff' chainsaw_buff_enabled "1" // gain adrenaline duration when every firing chainsaw_buff_fire_adrenaline "0.02" // gain buff health when every firing chainsaw_buff_fire_buff "0.03" // gain adrenaline duration when hitted chainsaw_buff_hit_adrenaline "0.1" // gain buff health when hitted chainsaw_buff_hit_buff "0.1" // refill the fuel when hitted -1:whole clip 1.5:refill 1.5sec fuel chainsaw_buff_hit_refill "-1" Game ConVar / Hint this below cvar is created by game, you can set they on server.cfg etc PHP Code: // higher this value will make chainsaw attack hitbox wider but more randomizer chainsaw_attack_cone 30 //30 mean hit angel // higher will make chainsaw attack hitbox gets farther chainsaw_attack_distance 50 // chainsaw dps equal damage/interval = 1000 chainsaw_damage 100 chainsaw_hit_interval 0.1 ammo_chainsaw_max 20 todomay add damage resistance when firing changelogv1.0 just released; 2-2-22 Attached Files Get Plugin or Get Source (l4d_chainsaw_buff.sp - 8.0 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi