Weapon item spawn: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{l4d2 point|weapon_item_spawn}} It is a spawn point for any available item, except weapon upgrades. == Keyvalues == {{KV|Ammo pile|integer}} {{KV|First aid ki...") |
|||
Line 2: | Line 2: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Ammo pile| | {{KV|Ammo pile|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|First aid kit| | {{KV|First aid kit|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Molotov Cocktail| | {{KV|Molotov Cocktail|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Pain Pills| | {{KV|Pain Pills|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Pipe Bomb| | {{KV|Pipe Bomb|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Oxygen Tank| | {{KV|Oxygen Tank|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Propane Tank| | {{KV|Propane Tank|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Gasoline Can| | {{KV|Gasoline Can|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Adrenaline| | {{KV|Adrenaline|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Defibrillator| | {{KV|Defibrillator|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Boomer Bile| | {{KV|Boomer Bile|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Chainsaw| | {{KV|Chainsaw|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Grenade Launcher| | {{KV|Grenade Launcher|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|M60 Machinegun| | {{KV|M60 Machinegun|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Melee Weapon|string| | {{KV|Melee Weapon|string|If empty, the director won't consider to spawn a melee in this place. If you want the director to consider spawning one, use one or multiple names listed below, like in the <code>[[weapon_melee_spawn]]</code> entity }} | ||
* <code>golfclub</code> | |||
* <code>fireaxe</code> | |||
* <code>frying_pan</code> | |||
* <code>machete</code> | |||
* <code>baseball_bat</code> | |||
* <code>crowbar</code> | |||
* <code>cricket_bat</code> | |||
* <code>tonfa</code> | |||
* <code>katana</code> | |||
* <code>electric_guitar</code> | |||
* <code>Any</code> – director will place any available melee weapon | |||
You may also list multiple specific melee weapons separated by a comma, and the director will select from among that subset of weapons: | |||
crowbar,fireaxe,machete | |||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV Angles}} | {{KV Angles}} |
Revision as of 08:19, 2 April 2014
Template:L4d2 point It is a spawn point for any available item, except weapon upgrades.
Keyvalues
- Ammo pile ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- First aid kit ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Molotov Cocktail ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Pain Pills ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Pipe Bomb ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Oxygen Tank ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Propane Tank ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Gasoline Can ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Adrenaline ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Defibrillator ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Boomer Bile ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Chainsaw ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Grenade Launcher ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- M60 Machinegun ([todo internal name (i)]) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Melee Weapon ([todo internal name (i)]) <string>
- If empty, the director won't consider to spawn a melee in this place. If you want the director to consider spawning one, use one or multiple names listed below, like in the
weapon_melee_spawn
entity
golfclub
fireaxe
frying_pan
machete
baseball_bat
crowbar
cricket_bat
tonfa
katana
electric_guitar
Any
– director will place any available melee weapon
You may also list multiple specific melee weapons separated by a comma, and the director will select from among that subset of weapons:
crowbar,fireaxe,machete
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Flags
- 1 : Enable Physics on spawned item
- 2 : Spawned Item Must Exist
- 8 : Infinite Items