Freezing Mechanics
This article describes how zeds are freezing and special features of frozen zeds.
Under the hood
Freezing is completely controlled on server side by
FreezeRules object. To make zed freeze, it must received damage, which type is a subclass of
DamTypeFreezerBase.
DamTypeFreezerBase has 3 variables to control freezing process:
- FreezeRatio.
- FoT_Duration
- FoT_Ratio
FreezeRatio determines percent of damage received, which should be used to freeze zed. Freezer's primary fire has base damage 45 and FreezeRatio=0.6. It means that shooting one dart into zed does 45 damage and 45*0.6=27
Freeze Damage. Secondary fire's damage is only 2 while its FreezeRatio=15, i.e. it does 2*15=30
Freeze Damage per hit while it almost doesn't do real damage at all.
FoT = Freeze over Time. It acts similar to burn DoT (Damage over Time), but, as you can guess, it adds Freeze Damage instead of burn damage.
FoT is used for primary fire only and its values are:
FoT_Duration=2; FoT_Ratio=0.2. It means means that 2 seconds (FoT_Duration) after receiving damage from ice dart zed will be getting additional 20%
Freeze Damage per second. (FoT_Ratio).
Sounds complicated? Let me explain. If you'll check out
DamTypeFreezerDart.uc, then you'll see:
Code:
FreezeRatio=0.6
FoT_Duration=2
FoT_Ratio=0.2
Ice dart's base damage is 45. Zed gets 45 damage and 45*0.6=27
Freeze Damage during the hit. Then timer activates for 2 seconds, dealing 45*0.2=9 additional
Freeze Damage per second. Both
FoT_Duration and
FoT_Ratio were significantly lowered in v006. That's why values are so low. You may ask, why FoT is needed at all? Well,
zeds aren't warming while getting FoT.
How do they freeze?
Zed becomes frozen when it receives Freeze Damage 33.3333% (1/3) of its max health.This value is called
FreezeTreshold and it takes into account both difficulty multiplier and player count. For example, it is much easier to freeze Gorefast in solo mode than in 6-player game.
How do they unfreeze / warming?
Zed start warming (loosing Freeze Damage) 1 second after last
Freeze Damage has been received or 2 seconds after zed became frozen.
Zed isn't warming while receiving FoT.
Zed loses 20% of total
Freeze Damage per second during warming process. For example, if player did 200 Freeze Damage to the zed, then it will loose 200*0.2=40 Freeze Damage during 1st warming second, 160*0.2=32 during 2nd etc. This makes it hard to keep zed frozen, especially if it is a big zed with a huge
Freeze Threshold (e.g. Scrake).
Freeze and fire don't mix
Setting frozen zeds on fire immediately unfreezes them and removes all Freeze Damage dealt.
It is impossible to freeze burning zeds.
Special feature of frozen zeds
- When zed is frozen, its ice skin acts like a shield, giving 50% damage protection.
- But ice skin gets damage itself and gets a lot. Explosives do double damage to ice structure. All other weapons: triple damage. Players can break ice structure, which in turn instantly kills the zed.
- Ice skin has the same amount of health as zed.
- It should be a matter of good teamwork: kill zed while teammate is keeping it frozen or loose half damage if it unfreezes.
- Headshots are disabled while zed is frozen.
For example, let's imagine that Gorefast has 500 health at the moment when he became frozen. Level 6 Commando shoots him with SCAR, which normally deals 97 damage. Ice skin protects Gorefast, letting though only 50% of damage, i.e. 97*0.5=48. But ice skin, which has the same 500 "health" points, gets triple damage: 97*3=291. Two SCAR bullets will break ice and instantly kill Gorefast. But if Gorefast unfreezes before second shot has been made, he will still have 500-48=452 health points.