Info l4d1 survivor spawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Noted the video as broken, because the video has been removed)
m (→‎Inputs: Substituted IO templates)
 
(10 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{l4d2 point|info_l4d1_survivor_spawn}} It is used to spawn one of the original survivors from L4D1 as seen in The Passing campaign.
{{CD|CL4D1SurvivorSpawn}}
{{stub}}
{{this is a|point entity|name=info_l4d1_survivor_spawn|game=Left 4 Dead 2}} It is used to spawn one of the original survivors from L4D1 as seen in The Passing campaign.
== Keyvalues ==
 
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==
{{KV|Character|intn=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
{{KV Targetname}}
{{KV Targetname}}
*;Character <code><choices></code>
:Which survivor to spawn here. Choices include Louis, Francis, Zoey, and Bill. 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.


== Inputs ==
==Inputs==
{{I Targetname}}
{{I|SpawnSurvivor|Spawn the survivor}}
*;SpawnSurvivor
 
:Spawn the survivor.
==Related Tutorials==
== Outputs ==
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.  
{{O Targetname}}
== Flags ==
There are no flags.
== See also ==
== External links ==
*[http://www.youtube.com/watch?v=PA8iJWWdudQ Hammer Tutorial How To Spawn L4D1 Survivors in L4D2] (Broken)
:Video tutorial covering the necessary steps to properly add L4D survivors in L4D2. The video covers entities involved, input/output, nav mesh attributes necessary, and some vscript commands that may be useful.


{{todo|limitations of bots, usage, caveats}}
[[Creating NPC-Controlled Mounted Guns]]

Latest revision as of 11:00, 21 April 2025

C++ 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>[ Edit ]
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