Info player equip: Difference between revisions
Jump to navigation
Jump to search
Tip:This is typically used to give players items found later within the same level, while they shouldn't be spawning with it initially.
Tip:Multiple info_player_equip entities can exist simultaneously to be used to toggle between different "sets" of equipment.
Note:Given weapons spawn with a full cilp, but with no reserve ammo. weapon_frag gives a single grenade, use ammo_grenade to give additional grenades.
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Synergy}} '''info_player_equip''' is a [[point entity]] available in [[Synergy]]. | {{Synergy}} '''info_player_equip''' is a [[point entity]] available in [[Synergy]]. | ||
It manages the players' equipment. | It manages the players' equipment. | ||
==Entity description== | ==Entity description== | ||
Entity that will give players any equipment specified by it's key values (in the form of 'entity_classname' 'number_of_items'). This entity replaces the functionality of the [[game_player_equip]]. | Entity that will give players any equipment specified by it's key values (in the form of 'entity_classname' 'number_of_items'). This entity replaces the functionality of the [[game_player_equip]]. The '''Enabled'''/'''Disabled''' states control whether or not players will spawn with its contents, they can still receive it with '''EquipPlayer''' and '''EquipAllPlayers''' Inputs, however. | ||
{{tip|This is typically used to give players items found later within the same level, while they shouldn't be spawning with it initially.}} | |||
{{tip|Multiple [[info_player_equip]] entities can exist simultaneously to be used to toggle between different "sets" of equipment.}} | {{tip|Multiple [[info_player_equip]] entities can exist simultaneously to be used to toggle between different "sets" of equipment.}} | ||
Line 34: | Line 35: | ||
|- | |- | ||
! Weapon | ! Weapon | ||
! | ! Values | ||
|- | |- | ||
| [[weapon_crowbar]] | | [[weapon_crowbar]] | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
| [[weapon_stunstick]] | | [[weapon_stunstick]] | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
| [[weapon_pistol]] | | [[weapon_pistol]] | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
| [[weapon_357]] | | [[weapon_357]] | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
| [[weapon_smg1]] | | [[weapon_smg1]] | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
| [[weapon_ar2]] | | [[weapon_ar2]] | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
| [[weapon_shotgun]] | | [[weapon_shotgun]] | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
| [[weapon_crossbow]] | | [[weapon_crossbow]] | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
| [[weapon_frag]] | | [[weapon_frag]] | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
| [[weapon_rpg]] | | [[weapon_rpg]] | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
| [[weapon_slam]] | | [[weapon_slam]] | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
| [[weapon_physcannon]] | | [[weapon_physcannon]] | ||
| 0/1 | | 0/1 | ||
|} | |} | ||
Line 90: | Line 78: | ||
|- | |- | ||
! Weapon | ! Weapon | ||
! | ! Values | ||
|- | |- | ||
| weapon_deagle | | weapon_deagle | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
| | | weapon_mp5k | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
| | | weapon_mg1 | ||
| 0/1 | | 0/1 | ||
|} | |} | ||
'''Ammo''' | '''Ammo''' (x = number of clips) | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 109: | Line 97: | ||
|- | |- | ||
| ammo_pistol | | ammo_pistol | ||
| 18x | | 18x | ||
|- | |- | ||
| ammo_357 | | ammo_357 | ||
| 6x | | 6x | ||
|- | |- | ||
| ammo_smg1 | | ammo_smg1 | ||
| 45x | | 45x | ||
|- | |- | ||
| ammo_smg1_grenade | | ammo_smg1_grenade | ||
| | | 0-3 | ||
|- | |- | ||
| ammo_ar2 | | ammo_ar2 | ||
| | | 30x | ||
|- | |- | ||
| ammo_ar2altfire | | ammo_ar2altfire | ||
| | | 0-3 | ||
|- | |- | ||
| ammo_buckshot | | ammo_buckshot | ||
| 6x | | 6x | ||
|- | |- | ||
| ammo_xbowbolt | | ammo_xbowbolt | ||
| 1x | | 1x | ||
|- | |- | ||
| ammo_grenade | | ammo_grenade | ||
| | | 0-4 | ||
|- | |- | ||
| ammo_rpg_round | | ammo_rpg_round | ||
| | | 0-3 | ||
|- | |- | ||
| ammo_slam | | ammo_slam | ||
| | | 0-3 | ||
|- | |- | ||
|} | |} | ||
{{note|Given weapons spawn with a full cilp | {{note|Given weapons spawn with a full cilp, but with no reserve ammo. [[weapon_frag]] gives a single grenade, use ammo_grenade to give additional grenades.}} | ||
==Inputs== | ==Inputs== |
Revision as of 21:13, 3 November 2011
info_player_equip is a point entity available in Synergy.
It manages the players' equipment.
Entity description
Entity that will give players any equipment specified by it's key values (in the form of 'entity_classname' 'number_of_items'). This entity replaces the functionality of the game_player_equip. The Enabled/Disabled states control whether or not players will spawn with its contents, they can still receive it with EquipPlayer and EquipAllPlayers Inputs, however.


Keyvalues
- StartDisabled ([todo internal name (i)]) <choices>
- Start this entity Enabled or Disabled
- 0 : Start Disabled.
- 1 : Start Enabled.
- 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
Equipment Options
Equipment
Item | Recommend Values | Memo |
---|---|---|
item_suit | 0/1 | H.E.V. Suit |
item_armor | 1-100 | H.E.V. Suit's Powerarmor |
Core Weapons
Weapon | Values |
---|---|
weapon_crowbar | 0/1 |
weapon_stunstick | 0/1 |
weapon_pistol | 0/1 |
weapon_357 | 0/1 |
weapon_smg1 | 0/1 |
weapon_ar2 | 0/1 |
weapon_shotgun | 0/1 |
weapon_crossbow | 0/1 |
weapon_frag | 0/1 |
weapon_rpg | 0/1 |
weapon_slam | 0/1 |
weapon_physcannon | 0/1 |
Synergy Weapons
Weapon | Values |
---|---|
weapon_deagle | 0/1 |
weapon_mp5k | 0/1 |
weapon_mg1 | 0/1 |
Ammo (x = number of clips)
Type | Recommend Values |
---|---|
ammo_pistol | 18x |
ammo_357 | 6x |
ammo_smg1 | 45x |
ammo_smg1_grenade | 0-3 |
ammo_ar2 | 30x |
ammo_ar2altfire | 0-3 |
ammo_buckshot | 6x |
ammo_xbowbolt | 1x |
ammo_grenade | 0-4 |
ammo_rpg_round | 0-3 |
ammo_slam | 0-3 |

Inputs
- Enable
- All players who respawn while this entity is Enabled will receive its equipment.
- Disable
- Plyaers will not receive its equipment on respawn.
- EquipPlayer
- Equip the !activator of this input with the items contained in this entity, even if this entity is disabled. Activator must be a player.
- EquipAllPlayers
- Equip every living player with the items contained in this entity, even if this entity is disabled.