info_l4d1_survivor_spawn

From Valve Developer Community
Jump to navigation Jump to search
Class hierarchy
CL4D1SurvivorSpawn
CBaseEntity

info_l4d1_survivor_spawn is a point entity available in Left 4 Dead 2 Left 4 Dead 2. It is used to spawn one of the original survivors from L4D1 as seen in The Passing campaign.

You can use this entity in your maps to create the feeling of a bigger world, like in The Passing. They're able to use weapons and target infected, much like the Survivor bots on your team. However, they're more limited compare to the bots on your team in that they can't move around the map independently. Louis is the only survivor bot capable of using the prop_mounted_machine_gun and will walk towards it himself, if the navmesh allows it.

Keyvalues

Character (character) <choices>
Which survivor to spawn here. Bill was included in The Sacrifice update and was not available in the previous DLC, The Passing, due to a significant plot advancement within the series.
  • 4 : Bill
  • 5 : Zoey
  • 6 : Francis
  • 7 : Louis
Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

SpawnSurvivor
Spawn the survivor

Related Tutorials

The following tutorial teaches you how to spawn L4D1 survivors inside of a L4D2 level, and enable the Louis bot to use the mounted machine gun.

Creating NPC-Controlled Mounted Guns