Category:Counter-Strike: Global Offensive Weapons

From Valve Developer Community
Revision as of 09:11, 21 March 2022 by Popcorn (talk | contribs) (Added section Giving Weapons for now. Maybe there is a better place to put such information.)
Jump to navigation Jump to search

This listing is for weapons featured in Template:Game name.

Giving Weapons

To give yourself a weapon, you can use the cheat command give <entityname>, which should spawn a specified weapon inside the executing player, for example give weapon_awp. Knives and Danger Zone melees might instantly be removed by the game when they would spawn; To overcome this, one can use the command sequence give <entityname>; ent_fire <entityname> addoutput "classname weapon_knifegg" (in one line!) so that the entity "becomes" an entity that is not removed by the game in the same tick. Note that some weapons have a different classname after being given, e.g. give weapon_axe; ent_fire weapon_melee addoutput "classname weapon_knifegg".

Map driven item giving can be done with game_player_equip. For VScript, this entity can be created, used and removed.

Buy Menu

Pistol SMG Heavy Rifle Equipment Grenade

Other

Knives Miscellaneous CS:GO Danger Zone Danger Zone CS:GO Danger Zone Melee CS:GO Co-op Strike Co-op Strike

Pages in category "Counter-Strike: Global Offensive Weapons"

The following 9 pages are in this category, out of 9 total.