Info player equip

From Valve Developer Community
Revision as of 20:15, 3 November 2011 by Krazy Kasrkin (talk | contribs)
Jump to navigation Jump to search
Under construction.png
This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The person who added this notice will be listed in its edit history should you wish to contact them.

Synergy 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.

Tip.pngTip:Multiple info_player_equip entities can exist simultaneously to be used to toggle between different "sets" of equipment.

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 or target).
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 Value Memo
weapon_crowbar 0/1 Gives named weapon.
weapon_stunstick 0/1 Gives named weapon.
weapon_pistol 0/1 Gives named weapon.
weapon_357 0/1 Gives named weapon.
weapon_smg1 0/1 Gives named weapon.
weapon_ar2 0/1 Gives named weapon.
weapon_shotgun 0/1 Gives named weapon.
weapon_crossbow 0/1 Gives named weapon.
weapon_frag 0/1 Gives named weapon.
weapon_rpg 0/1 Gives named weapon.
weapon_slam 0/1 Gives named weapon.
weapon_physcannon 0/1 Gives named weapon.

Synergy Weapons

Weapon Recommended Values
weapon_deagle 0/1
weapon_mp5k 0/1
weapon_mg1 0/1

Ammo

Type Recommend Values
ammo_pistol 18x per clip
ammo_357 6x per clip
ammo_smg1 45x per clip
ammo_smg1_grenade 1-3
ammo_ar2 20x per clip
ammo_ar2altfire 1-3
ammo_buckshot 6x per clip
ammo_xbowbolt 1x per clip
ammo_grenade 1-4
ammo_rpg_round 1-3
ammo_slam 1-3
Note.pngNote:Given weapons spawn with a full cilp and no reserve ammo. weapon_frag gives a single grenade, use ammo_grenade to give additional grenades.

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.

Outputs

See also