Give: Difference between revisions
Jump to navigation
Jump to search
Tip:Using a point_servercommand entity to "give" the player something, is usually more reliable than the point_template ForceSpawn seen in the Newgame_spawn prefab, because the give command is not bound to a physical place, whereas the point_template will dump entities at the original spawnpoint upon a buildcubemaps command.
Eventhorizon (talk | contribs) No edit summary |
MossyBucket (talk | contribs) (Rewrote the entire article, removing the stupid weapon lists.) |
||
Line 1: | Line 1: | ||
A [[Developer Console|console]] command that gives the player (or, rather, spawns beneath its feet) the entity that is given as the commands parameter (typically of a ''weapon_'', an ''item_'' or an ''item_ammo_'' type). | |||
'''Examples:''' | |||
*In [[Half-Life 2]], "give [[item_suit]]" will give the player the HEV suit. | |||
" | *In [[Counter-Strike: Source]], "give [[weapon_m3]]" will give the player an M3 shotgun. | ||
The entities available differs greatly depending on the game engine which the command is used in. | |||
This command is a [[sv_cheats|cheat]]. | |||
{{ | {{tip|Using a [[point_servercommand]] entity to "''give''" the player something, is usually more reliable than the [[point_template]] ''ForceSpawn'' seen in the [[Newgame_spawn]] [[prefab]], because the ''give'' command is not bound to a physical place, whereas the ''point_template'' will dump entities at the original spawnpoint upon a ''buildcubemaps'' command.}} | ||
== See also == | |||
[[Category:Console Commands]] | * [[:Category:Weapons]] - A list of [[Half-Life 2]] weapons. | ||
* [[:Category:Items]] - A list of [[Half-Life 2]] items and ammo. | |||
* [[:Category:Counter-Strike:_Source_Entities]] - A list of mostly [[Counter-Strike: Source]] weapons and ammo. | |||
[[Category: Console Commands]] |
Revision as of 18:16, 13 February 2011
A console command that gives the player (or, rather, spawns beneath its feet) the entity that is given as the commands parameter (typically of a weapon_, an item_ or an item_ammo_ type).
Examples:
- In Half-Life 2, "give item_suit" will give the player the HEV suit.
- In Counter-Strike: Source, "give weapon_m3" will give the player an M3 shotgun.
The entities available differs greatly depending on the game engine which the command is used in.
This command is a cheat.

See also
- Category:Weapons - A list of Half-Life 2 weapons.
- Category:Items - A list of Half-Life 2 items and ammo.
- Category:Counter-Strike:_Source_Entities - A list of mostly Counter-Strike: Source weapons and ammo.