Forum

> > CS2D > Scripts > zombie hp
Forums overviewCS2D overview Scripts overviewLog in to reply

English zombie hp

2 replies
To the start Previous 1 Next To the start

old zombie hp

Remulux
User Off Offline

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


THX for help

old Re: zombie hp

SilentDash
User Off Offline

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

old Re: zombie hp

Rainoth
Moderator Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview