Forum

> > CS2D > Scripts > How to give the zombie more life
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch How to give the zombie more life

8 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt How to give the zombie more life

kewixasd
User Off Offline

Zitieren
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

alt Re: How to give the zombie more life

DC
Admin Off Offline

Zitieren
@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

alt Re: How to give the zombie more life

DC
Admin Off Offline

Zitieren
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.
1× editiert, zuletzt 17.11.17 23:34:55
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht