Commands/Lua
Reference for console commands, Lua hooks and Lua commands in CS2D.
- Console Commands are entered in console, executed with key-binds, cfg-files or with Lua parse
 - Lua Hooks execute Lua when events occur - some have a return value which can change the game behavior
 - Lua Commands are used to retrieve game data or to perform actions in Lua scripts
 
 
 CS2D Console Commands
 
 mp_zombiedmgCategories
 Parameters
-  percentage of damage (0.0-1.0):   percentage of damage which zombies take (0.0=no damage, 1.0=full damage)
 
Info
The damage zombies will take when they are hit.
1.0 means that they will suffer the normal original damage
0.0 that they will take minimum damage (1 HP per hit)
The default value is 0.5 which means that zombies take half damage.
Note: This setting is NOT about the damage zombies deal! Use mp_wpndmg/mp_wpndmg_z1 to change the damage of the claw.
	
	
	
	
 
 Lua Hooks
 
 Lua Commands
Categories
Parameters
- percentage of damage (0.0-1.0): percentage of damage which zombies take (0.0=no damage, 1.0=full damage)
 
Info
The damage zombies will take when they are hit.
1.0 means that they will suffer the normal original damage
0.0 that they will take minimum damage (1 HP per hit)
The default value is 0.5 which means that zombies take half damage.
1.0 means that they will suffer the normal original damage
0.0 that they will take minimum damage (1 HP per hit)
The default value is 0.5 which means that zombies take half damage.
Note: This setting is NOT about the damage zombies deal! Use mp_wpndmg/mp_wpndmg_z1 to change the damage of the claw.