Info player equip: Difference between revisions
Jump to navigation
Jump to search
Tip:One instance of this entity can be used as the 'base' equipment -- the starting equipment when the level begins. Other instances can be Enabled to include other items found later in the level.
Note:Weapons alone spawn with a full loaded clip of ammo, but none in reserve. (ex. weapon_frag gives a single grenade, use ammo_grenade to give additional grenades)
(Created page with "{{Synergy}} '''info_player_equip''' is a point entity available in Synergy. It manages the players' equipment. ==Entity description== Entity that will give the player an...") |
No edit summary |
||
(11 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{this is a|logical entity|game=Synergy|name=info_player_equip}} It manages the players' equipment. | ||
It manages the players' equipment. | |||
==Entity description== | ==Entity description== | ||
Entity that will give | 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| | |||
{{tip|One instance of this entity can be used as the 'base' equipment -- the starting equipment when the level begins. Other instances can be Enabled to include other items found later in the level.}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV|StartDisabled|choices|Whether players who spawn will receive its contents.}} | |||
:* 0 : Start Disabled. | |||
:* 1 : Start Enabled. | |||
===Equipment Options=== | |||
'''Items''' | |||
{| class="wikitable" | |||
|- | |||
! Key | |||
! Value | |||
! Memo | |||
|- | |||
| [[item_suit]] | |||
| 0/1 | |||
| H.E.V. Suit | |||
|- | |||
| item_armor | |||
| 1-100 | |||
| H.E.V. Suit's Powerarmor | |||
|} | |||
'''Half-Life 2 Weapons''' | |||
{| class="wikitable" | |||
|- | |||
! Key | |||
! Value | |||
|- | |||
| [[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''' | |||
{| class="wikitable" | |||
|- | |||
! Key | |||
! Value | |||
|- | |||
| [[weapon_deagle_(Synergy)|weapon_deagle]] | |||
| 0/1 | |||
|- | |||
| weapon_mp5k | |||
| 0/1 | |||
|- | |||
| weapon_mg1 | |||
| 0/1 | |||
|} | |||
{{note|Weapons alone spawn with a full loaded clip of ammo, but none in reserve. (ex. [[weapon_frag]] gives a single grenade, use ammo_grenade to give additional grenades)}} | |||
'''Ammo''' (x = number of additional clips) | |||
{| class="wikitable" | |||
|- | |||
! Key | |||
! Recommended Value | |||
|- | |||
| 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== | ==Inputs== | ||
{{ | {{I|Enable|All players who respawn while this entity is Enabled will receive its equipment.}} | ||
{{ | {{I|Disable|Players will not receive its equipment on respawn.}} | ||
{{I|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.}} | |||
{{I|EquipAllPlayers|Equip every living player with the items contained in this entity, even if this entity is disabled.}} | |||
== | ==See also== | ||
*[[Synergy_Entities|Synergy Entity List]] | |||
[[Category:Level Design]] | |||
Latest revision as of 15:57, 23 May 2025
info_player_equip
is a logical 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
- 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
- StartDisabled ([todo internal name (i)]) <choices>
- Whether players who spawn will receive its contents.
- 0 : Start Disabled.
- 1 : Start Enabled.
Equipment Options
Items
Key | Value | Memo |
---|---|---|
item_suit | 0/1 | H.E.V. Suit |
item_armor | 1-100 | H.E.V. Suit's Powerarmor |
Half-Life 2 Weapons
Key | Value |
---|---|
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
Key | Value |
---|---|
weapon_deagle | 0/1 |
weapon_mp5k | 0/1 |
weapon_mg1 | 0/1 |

Ammo (x = number of additional clips)
Key | Recommended Value |
---|---|
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
- Players 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.