Forum

> > CS2D > Scripts > How to give the zombie more life
Forums overviewCS2D overview Scripts overviewLog in to reply

English How to give the zombie more life

8 replies
To the start Previous 1 Next To the start

old How to give the zombie more life

kewixasd
User Off Offline

Quote
Hi
I would like to ask
how can we increase the zombie's life
I know there are such
-mp_zombiedmg
mp_zombiekillequip
mp_zombiekillscore
mp_zombierecover
mp_zombiespeedmod-
But how to give more lives to the zombie

I'm sorry for my English knowledge
I'm not English

Thanks in advance for the answers

old Re: How to give the zombie more life

DC
Admin Off Offline

Quote
@user Yates: No, they have 100 health. But...

The name of cs2d cmd mp_zombiedmg is a bit misleading. It's actually a damage factor which influences how much damage zombies TAKE.

By default it's 0.5 which already means zombies only take half damage from everything (basically equal to 200 HP).
If you set it to 0.25 it will be like they have double health (400) etc.
This does not increase the displayed health but it has nearly the same effect for gameplay.

Another alternative with a comparable effect would be to increase cs2d cmd mp_zombierecover

old Re: How to give the zombie more life

DC
Admin Off Offline

Quote
Math rocks*! Here's the formula:
mp_zombiedmg = (100 / desiredHealth)


e.g. assuming you want them to have 300 hp:
mp_zombiedmg = (100 / 300) = 0.333


or 500:
mp_zombiedmg = (100 / 500) = 0.2


*) I hate math but this stuff is simple enough.
edited 1×, last 17.11.17 11:34:55 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview