![]() |
![]() |
|
#1
|
|||
|
|||
|
Hello i know there is Regen hp mut,but i want that for killing clot would get 1hp,killing scrake 4 hp.I could myself put zombies ,but I just need example how to do it
.
|
|
#3
|
||||
|
||||
|
Unfortunately that doesn't work for KFGameType, or I believe any game that deriving from Invasion. KFGameType.ReduceDamage only calls NetDamage for friendly fire, not for damage done to the other "team".
|
|
#4
|
|||
|
|||
|
howabout sticking something into instigator.takedamage?
|
|
#5
|
|||
|
|||
|
You don't need to use NetDamage, you can use ScoreKill as I suggested. I haven't tested it myself but judging from what I see in the source files it should work just fine.
__________________
|
|
#6
|
||||
|
||||
|
Oh, never mind, did not read carefully. I thought he was talking about the vampire mutator that did hp regen based on damage done.
|
|
#7
|
|||
|
|||
|
You should have a look at the source of Marco's kill messages mutator
|
|
#8
|
|||
|
|||
|
Thnak you for helping ,work everything good!And also is it possible (maybe how) to make like a requirment example : kill 500 bloats or more to let regen hp.I am using serverperks and i tried to do MystatObject.Bloatkills (or simmiral ,don't remember) ,but it doesn't work (didn't compile).
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|