User:BoxFigs/Health and Damage

From Combine OverWiki, the original Half-Life wiki and Portal wiki
Jump to: navigation, search
Signicon003a.png This article is under construction as it lacks elements required to provide basic coverage of its subject and/or has yet to be fully integrated into the Combine OverWiki.
Space.png

When the article is brought to a verifiable and presentable state, it will be reviewed as part of the Cleanup Project. You are invited to assist in its construction with your own additions and improvements.

Half-Life[edit]

Player[edit]

The player has a maximum of 100 health and 100 suit. If the player has at least 1 suit, the damage to health is divided by 5 and half of the remaining damage is dealt to the suit. In other words, the health takes 20% of the damage, while the suit takes 80%/2 of the damage. To calculate this for any amount of damage, use these formulas:

dmgHealth = dmg / 5
dmgSuit = (dmg - dmg / 5) / 2

This is evidenced in the source code by lines 485-489 of dlls/player.cpp:

float flNew = flDamage * flRatio;

float flArmor;

flArmor = (flDamage - flNew) * flBonus;

"flArmor" is the new armor value, "flRatio" is the ratio of health to suit points, and "flBonus" is the ratio of the damage to health over the damage to suit. "flRatio" is set to 0.2, which means health takes 1/5 of the damage and the suit takes 4/5 of the damage. "flBonus" is set to 0.5, which makes the suit lose half as much points as it would have. In multiplayer, the amount of damage dealt to the suit is multiplied by 2 when taking damage from explosions.

The suit protects against all damage types except for falling and drowning.

If the player's current suit power is less than the damage that will be dealt to the suit, the damage to the player's health is subtracted by half of the suit power, then the suit power is set to 0.

NPCs[edit]

NPCs have the following maximum health values:

Name Health (Easy) Health (Normal) Health (Hard)
Alien Grunt 60 90 120
Apache 150 250 400
Barnacle 25 25 25
Security Guard 35 35 35
Bullsquid 40 40 120
Gargantua 800 800 1000
Assassin 30 50 50
Headcrab 10 10 20
Marine 50 50 80
Houndeye 20 20 30
Vortigaunt 30 30 60
Ichthyosaur 200 200 400
Leech 2 2 2
Alien Controller 60 60 100
Nihilanth 800 800 1000
Scientist 20 20 20
Snark 2 2 2
Zombie 50 50 100
Automatic Turret (Large) 50 50 60
Automatic Turret (Small) 40 40 50
Sentry Gun 40 40 50

Some NPCs have special damage values for inherent attacks. Damage values using weapons are discussed in the next section.

Name Attack Damage (Easy) Damage (Normal) Damage (Hard)
Alien Grunt Punch 10 20 20
Barnacle Bite 10 10 10
Bullsquid Spit
Bite
Tail whip
10
15
25
10
25
35
15
25
35
Gonarch Slash
Blast
50
100
60
120
70
160
Gargantua Flames
Punch
Stomp
3
10
50
5
30
100
5
30
100
Headcrab Bite 5 10 10
Marine Kick 5 10 10
Houndeye Shockwave 10 15 15
Vortigaunt Claw
Zap
8
10
10
10
10
15
Ichthyosaur Bite 20 35 50
Leech Bite 2 2 2
Alien Controller Orbs 3 4 5
Nihilanth Orbs 30 30 50
Snark Bite
Explode
10
5
10
5
10
5
Zombie Claw slash 10 20 20

Weapons[edit]

Weapons can be used by the player and NPCs. However, the damage they deal is different depending on if a player is using it or an NPC is using it.

Player:

Weapon Damage (Primary fire) Damage (Alt fire)
Crowbar 5
Pistol 8
Magnum 40
SMG 5 100
Shotgun 5/6: 30 5/12: 60
Crossbow 50
Hivehand 7
RPG 100
Tau Cannon 20 25-200
Gluon Gun 14
Grenade 100
Satchel Charge 150
Tripmine 150

NPCs:

Weapon Damage (Easy) Damage (Normal) Damage (Hard) Used By
Pistol 5 5 8 Security Guards, Black Ops Assassins
SMG 3 4 5 Marines
Shotgun 5 5 8 Marines
Hivehand 4 5 8 Alien Grunts

Taking damage[edit]

Players and NPCs take damage in the same way, including headshots. Headshots multiply the normal damage by 3. Headshots can be performed only with guns on humanoid NPCs or the player.

The following tables show how many body hits/shots with each weapon are required to kill specific NPCs

Easy/Normal:

NPC Crowbar Pistol Magnum SMG SMG Grenade Shotgun Shotgun (double shot) Crossbow Hivehand RPG Tau Cannon Tau Cannon (charged) Gluon Gun Grenade Satchel Charge Tripmine
Alien Grunt 12
18
8
12
2
3
12
18
1 2
3
1
2
2 9
13
1 3
5
3-1
4-1
5
7
1 1 1
Apache 30
50
19
32
4
7
30
50
2
3
5
9
3
5
3
5
22
36
2
3
8
13
6-1
10-2
11
18
2
3
1
2
1
2
Barnacle 5 4 1 5 1 1 1 1 4 1 2 1 2 1 1 1
Security Guard 8 5 1 8 1 2 1 1 5 1 2 2-1 3 1 1 1
Bullsquid 8 5 1 8 1 2 1 1 6 1 2 2-1 3 1 1 1
Gargantua 160 100 20 160 8 27 14 16 115 8 40 32-4 58 8 6 6
Assassin 6
10
4
7
2 6
10
1 1
2
1 1 5
8
1 2
3
2-1 3
4
1 1 1
Headcrab 2 2 1 2 1 1 1 1 2 1 1 1 1 1 1 1
Marine 10 7 2 10 1 2 1 1 8 1 3 2-1 4 1 1 1
Houndeye 4 3 1 4 1 1 1 1 3 1 1 1 2 1 1 1
Vortigaunt 6 4 1 6 1 1 1 1 5 1 2 2-1 3 1 1 1
Ichthyosuar 40 25 5 40 2 7 4 4 29 2 10 8-1 15 2 2 2
Leech 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Alien Controller 12 8 2 12 1 2 1 2 9 1 3 3-1 5 1 1 1
Nihilanth 160 100 20 160 8 27 14 16 115 8 40 32-4 58 8 6 6
Scientist 4 3 1 4 1 1 1 1 3 1 1 1 2 1 1 1
Snark 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Zombie 10 7 2 10 1 2 1 1 8 1 3 2-1 4 1 1 1
Automatic Turret (Large) 10 7 2 10 1 2 1 1 8 1 3 2-1 4 1 1 1
Automatic Turret (Small) 8 5 1 8 1 2 1 1 6 1 2 2-1 3 1 1 1
Sentry Gun 8 5 1 8 1 2 1 1 6 1 2 2-1 3 1 1 1

Half-Life 2[edit]

Player[edit]

The player has a maximum of 100 health and 100 suit. In the chapter Our Benefactors, the player has a maximum of 200 suit. Note that this is technically a property of the suit chargers in the chapter's levels rather than the chapter itself.

If the player has at least 1 suit, the damage to health is divided by 5 and the rest of the damage is dealt to the suit. In other words, the health takes 20% of the damage, while the suit takes 80% of the damage. To calculate this for any amount of damage, use these formulas:

dmgHealth = dmg/5
dmgSuit = dmg - dmg/5

This is evidenced in the source code by lines 1160-1164 of game/server/player.cpp:

float flNew = info.GetDamage() * flRatio;

float flArmor;

flArmor = (info.GetDamage() - flNew) * flBonus;

"flArmor" is the new armor value, "flRatio" is the ratio of health to suit points, and "flBonus" is the ratio of the damage to health over the damage to suit. "flRatio" is set to 0.2, which means health takes 1/5 of the damage and the suit takes 4/5 of the damage. "flBonus" is set to 1.0, which makes it effectively ignored, as it is a 1-1 ratio.

The suit protects against all damage types except for falling, drowning, poison, and radiation.

If the player's current suit power is less than the damage that will be dealt to the suit, the damage to the player's health is subtracted by the suit power, then the suit power is set to 0.

NPCs[edit]

NPCs have the following maximum health values:

Name Health
Civil Protection (simple) 26
Civil Protection 40
Barnacle 35
City Scanner 30
Manhack 25
Headcrab 10
Zombie 50
Fast Headcrab 10
Fast Zombie 50
Poison Headcrab 35
Poison Zombie 175
Overwatch Soldier 50
Overwatch Elite 70
Antlion 30
Antlion Guard 500
Antlion Grub 5
Hunter-Chopper 5600
Strider 350
Stalker 50
Citizen 40
Vortiguant 100

NPCs that typically require an RPG to kill have special values for the number of rockets needed to kill them.

Name RPG Count (Easy) RPG Count (Normal) RPG Count (Hard)
Gunship 3 5 7
Strider 5 7 7

Some NPCs have special damage values for inherent melee attacks. Damage values using weapons are discussed in the next section.

Name Attack Damage
Barnacle Bite 10
City Scanner Divebomb 25
Manhack Slice 20
Headcrab Bite 5
Zombie Claw slash 10
Fast Headcrab Bite 5
Fast Zombie Claw slash 10
Poison Headcrab Bite 10
Poison Zombie Claw slash 20
Rollermine Shock 10
Antlion Claw gouge
Dive
5
5
Antlion Guard Headbutt
Charge
10
20
Overwatch Soldier Weapon stock 10
Overwatch Elite Weapon stock 15

Weapons[edit]

Weapons can be used by the player and NPCs. However, the damage they deal is different depending on if a player is using it or an NPC is using it.

Weapon Damage (Player) Damage (NPC) Used by NPCs
Crowbar 10 5
Pistol 5 3 Civil Protection
Magnum 40 30
SMG 4 3 Civil Protection, Overwatch Soldier, Citizen
SMG Grenade 100 50
Pulse Rifle 8 3 Overwatch Soldier, Citizen, Barney
Shotgun 8/7: 56
8/12: 84
3/7: 21 Overwatch Soldier, Citizen, Alyx (Episode 1)
Crossbow 100 10
Grenade 150 75 Overwatch Soldier
RPG 100 50 Citizen
Airboat 3 3
Stun Baton 10 40 Civil Protection
Alyx's Gun 5 3 Alyx
Annabelle  ? 40 Grigori

Taking damage[edit]

Players and NPCs take damage in the same way, including headshots. Headshots multiply the normal damage by 3. Headshots can be performed only with guns on humanoid NPCs or the player.

This table shows how many body hits/shots with each weapon are required to kill specific NPCs:

NPC Crowbar Pistol Magnum SMG SMG Grenade Pulse Rifle Shotgun Shotgun (double shot) Crossbow Grenade RPG
Civil Protection (simple) 3 6 1 7 1 4 1 1 1 1 1
Barnacle 4 7 1 9 1 5 1 1 1 1 1
City Scanner 3 6 1 8 1 4 1 1 1 1 1
Manhack 3 5 1 7 1 4 1 1 1 1 1
Headcrab 1 2 1 3 1 2 1 1 1 1 1
Zombie 5 10 2 13 1 7 1 1 1 1 1
Fast Headcrab 1 2 1 3 1 2 1 1 1 1 1
Fast Zombie 5 10 2 13 1 7 1 1 1 1 1
Poison Headcrab 4 7 1 9 1 5 1 1 1 1 1
Poison Zombie 18 35 5 44 2 22 4 3 2 2 2
Overwatch Soldier 5 10 2 13 1 7 1 1 1 1 1
Antlion 3 6 1 8 1 4 1 1 1 1 1
Antlion Guard 50 100 13 125 5 63 9 6 5 4 5
Civil Protection 4 8 1 10 1 5 1 1 1 1 1
Overwatch Elite 7 14 2 18 1 9 2 1 1 1 1

This table shows how many headshots with each gun are required to kill specific NPCs:

NPC Pistol Magnum SMG Pulse Rifle Shotgun Shotgun (double shot)
Civil Protection (simple) 2 1 3 2 1 1
Zombie 4 1 5 3 1 1
Fast Zombie 4 1 5 3 1 1
Poison Zombie 12 2 15 8 2 1
Overwatch Soldier 4 1 5 3 1 1
Civil Protection 3 1 4 2 1 1
Overwatch Elite 5 1 6 3 1 1

Note that in both tables, shotgun hit counts are calculated as if all the pellets hit and explosive weapons hit counts are calculated as if it was a direct hit.