Forum

> > CS2D > Scripts > zombie hp
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch zombie hp

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt zombie hp

Remulux
User Off Offline

Zitieren
What do zombies have to 200 hp, which is a change and that is the life they regenerate.


THX for help

alt Re: zombie hp

SilentDash
User Off Offline

Zitieren
1. Check if the player is a Zombie
2. Set his max health (parse setmaxhealth) to 200
done

alt Re: zombie hp

Rainoth
Moderator Off Offline

Zitieren
I understood basically nothing, from the title I'll just have to guess.

Question : How to make zombies have more health ?
Answer : Depends on what kind of zombies.

Option 1 : If they are NPC zombies then you will have to change health value into your desired one.
Option 2 : If you mean zombies in Zombies! Game mode then you can write a little script

1
2
3
4
5
6
addhook("spawn","zombiehp")
function zombiehp(id)
	if player(id,"team") == 1 then -- means that player is terrorist/zombie
		parse("setmaxhealth "..id.." 200")
	end
end

Option 3 : There are also few commands for zombies :
The commands are called
mp_zombiedmg
mp_zombierecover
mp_zombiespeedmod


Having effects of Reducing Damage Taken,Health Regeneration and Zombie Speed respectively.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht