English zombie hp

2 replies
Goto Page
To the start Previous 1 Next To the start
23.04.13 08:45:44 pm
Up
Remulux
User
Offline Off
What do zombies have to 200 hp, which is a change and that is the life they regenerate.


THX for help
23.04.13 08:51:04 pm
Up
SilentDash
User
Offline Off
1. Check if the player is a Zombie
2. Set his max health (parse setmaxhealth) to 200
done
23.04.13 08:54:19 pm
Up
Rainoth
Moderator
Offline Off
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

Code:
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