info_l4d1_survivor_spawn

From Valve Developer Community
Jump to: navigation, 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 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

Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.

Inputs

SpawnSurvivor
Spawn the survivor

Related Tutorials

This tutorial teaches 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