How to increase ballistic shield health? (weapon_shield)

GanHUNTER

Участник
Сообщения
39
Реакции
16
Hello. In CS: GO there is a shield from DangerZone mode (weapon_shield)
From the article below, you can find out that the shield has 650 health.

1. Is there any way to increase the health of the ballistic shield?
2. Is there a way for people on our team not to destroy the ballistic shield of another person on the team?


I am sorry that I didn't write in language Russian but I am a foreigner
 

komashchenko

Идиот
Сообщения
916
Реакции
2,570
Amount of HP can be changed through sv_shield_hitpoints
You can get the current number of shield lives so

C-подобный:
int DamageTaken = FindSendPropInfo("CWeaponShield", "m_iBurstShotsRemaining") + 16; //Tested on linux only
ConVar sv_shield_hitpoints = FindConVar("sv_shield_hitpoints");


float Health = sv_shield_hitpoints.FloatValue - GetEntDataFloat(iEntShield, DamageTaken);
 

GanHUNTER

Участник
Сообщения
39
Реакции
16
Okay. Thanks. <3

Is there a way for people on our team not to destroy the ballistic shield of another person on the team?
 
Сверху Снизу