Commands/Lua

Reference for console commands, Lua hooks and Lua commands in CS2D.

CS2D Command CS2D Console Commands

Category: all (371)

CS2D Command mp_wpndmg_z1

Categories

Parameters

  • name (text): in-game name of a weapon
  • damage (0-100000): z1 damage for this weapon

Info

Changes the "z1"-damage of a weapon. The "z1" damage is used for several different things:

  • Damage caused by weapons with scope/zoom in zoom/scope level 1

  • Damage caused by melee weapons with secondary attack

  • Damage caused by weapons in burst mode (burst means 3 shots at a time, so damage will be multiplied with up to 3! Default is mp_wpndmg * 0.65 if this is set to 0)

  • Damage caused by weapons in silenced mode (they cause mp_wpndmg by default / when set to 0)



Weapon and item names:
items

Note: Since Beta 0.1.2.6 this setting can also affect weapons with burst mode and silencer!

Note: This setting has no effect for weapons which have no alternative fire mode / secondary attack.

Lua Hook Lua Hooks

Lua Command Lua Commands