Weapon item spawn: Difference between revisions
Jump to navigation
Jump to search
m (→Keyvalues: Added pitchfork and shovel values) |
(-added internal names) |
||
Line 2: | Line 2: | ||
== Keyvalues == | == Keyvalues == | ||
{{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|Ammo pile|intn=item1|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|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|intn=item2|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{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|Molotov Cocktail|intn=item3|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{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|Pain Pills|bool|intn=item4|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{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|Pipe Bomb|bool|intn=item5|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{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|Oxygen Tank|bool|intn=item6|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{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|Propane Tank|bool|intn=item7|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{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|Gasoline Can|bool|intn=item8|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Adrenaline|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | {{KV|Adrenaline|bool|intn=item11|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Defibrillator|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | {{KV|Defibrillator|bool|intn=item12|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{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|Boomer Bile|bool|intn=item13|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{KV|Chainsaw|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | {{KV|Chainsaw|bool|intn=item16|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{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|Grenade Launcher|intn=item17|bool|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{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|M60 Machinegun|bool|intn=item18|If set to 1, the director considers to spawn this, or any other item with the boolean set to 1}} | ||
{{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 }} | {{KV|Melee Weapon|string|intn=melee_weapon|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>golfclub</code> |
Revision as of 03:10, 10 April 2022
Template:L4d2 point It is a spawn point for any available item, except weapon upgrades.
Keyvalues
- Ammo pile (item1) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- First aid kit (item2) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Molotov Cocktail (item3) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Pain Pills (item4) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Pipe Bomb (item5) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Oxygen Tank (item6) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Propane Tank (item7) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Gasoline Can (item8) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Adrenaline (item11) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Defibrillator (item12) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Boomer Bile (item13) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Chainsaw (item16) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Grenade Launcher (item17) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- M60 Machinegun (item18) <boolean>
- If set to 1, the director considers to spawn this, or any other item with the boolean set to 1
- Melee Weapon (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
weapon_melee_spawn
entity
golfclub
fireaxe
frying_pan
machete
baseball_bat
crowbar
cricket_bat
tonfa
katana
electric_guitar
shovel
pitchfork
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