Holiday gift

From Valve Developer Community
Revision as of 23:37, 21 December 2023 by NOUG4AT (talk | contribs) (Created page with "{{Langsp}} This entity exsists since 2011.<br> It got added together with the achievement "Valve Gift Grab 2011 - L4D2"<br> It's description is following:<br> "Collect three g...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)Translate (Translate)

This entity exsists since 2011.
It got added together with the achievement "Valve Gift Grab 2011 - L4D2"
It's description is following:
"Collect three gifts dropped by Special Infected in Versus Mode"
This is actually not quite right. The gifts will actually spawn for killed special infected and killed tanks.
They do not spawn for any common/uncommon infected or the witch.

Who can collect the gifts?

The gifts are only collectable by players in the survivor team.

Who has to kill the infected to obtain a gift drop?

A survivor and an SI/Tank can be the killer. Even when the SI/Tank gets killed by the world (e.g. Any trigger_hurt or drowning) it can trigger a gift drop.

When do gifts spawn?

If a gift will spawn or not depends on some factors.

  1. The Convar: z_holiday_gift_drop_chance 0.3 // That basicly means a chance of 30% ( def. "0.3" ) min. 0.000000 max. 1.000000
  2. The date: 1st of december untill 2nd of January (inclusive)
  3. How much time passed between last last gift has been dropped? (It seems to be around 16 seconds)

How long do they last?

When they are not collected by any player, (basicly just walking over it) they despawn after 30 seconds.