give is a console command that gives the player (or, rather, spawns beneath their feet) any specified entity.
This command requires
sv_cheats 1 in some games. Valve did not mark this as a cheat in Portal 2, and it allows for some very clever uses in challenge mode.
givethe player something, is usually more reliable than the
point_template ForceSpawnseen in the Newgame_spawn prefab, because the
givecommand is not bound to a physical place, whereas the
point_templatewill dump entities at the original spawnpoint when
In Half-Life 2,
give weapon_rpg will spawn a rocket launcher under the player (which they will usually immediately pick up).