Author Topic: Some sort of damage modifier is going on?  (Read 1894 times)

When you get hurt on my server, the game is enacting some sort of damage modifier.
If I use VCE to check my health, it says 100, but when I use events to deal 99 damage then check the VCE again, it says that I have some 30 odd health.

When I deal 149 damage to myself, it says that I have 1 health left.
I disabled all of the players except for some custom ones that don't modify the default player's health, but don't seem to work.

(side note): The default blockhead from the blockhead hole seems to be undergoing the same effect.

Could anything be going on?
I launched a server and my console log is here:

http://puu.sh/3QvAw.log

What events are you using?

are you by any chance crouching when you administer this damage to yourself?

I tried doing this in game, and it was really forgeted up.

On one brick:
Code: [Select]
[x] [0] [ ] [Onplayertouch] [client] [centerprint] [<var:pl:Health>]

On a second brick:
Code: [Select]
[x] [0] [ ] [Onactivate] [Self] [Dosub] [1] [1]
[x] [1] [1000] [Onsub] [Self] [Dosub] [1] [2]
[x] [2] [ ] [Onsub] [Player] [VCE_ModVariable] [Health] [Subtract] [1]

If you didn't know, the Sub events are basically relay events that have the Client and Player subjects.

I would stand on the first brick, displaying my health, then I would click the second one.  And, for those of you who can look at events (like myself) and follow what they are supposed to do, you would assume that 1) <var:pl:Health> is a variable replacer, and 2) that this would reduced the player's health until they die, displaying the player's reducing health in centerprint.  Well, nope.  Ran it, instantly killed me, except it wasn't a normal death - the screen would flash red like normal, my player would do the death animation, but my body would disappear and I was still able to control my player.   I was stuck like that until I did fly mode.

How did you reduce your health?  Because obviously I did it a different way.

I tried doing this in game, and it was really forgeted up.
-SNIP-

Code: [Select]
[x] [0] [ ] [Onplayertouch] [client] [centerprint] [<var:pl:Health>]
This one ^^ is right

  • [ ] [Onactivate] [Self] [Dosub] [1] [1]
  • [1] [1000] [Onsub] [Self] [Dosub] [1] [2]
  • [2] [ ] [Onsub] [Player] [VCE_ModVariable] [Health] [Subtract] [1]

Uh
UH

Default event
[Onactivate] [Player] [addHealth] [-99]

Also weapons that do 50 health seem to do only 25

are you by any chance crouching when you administer this damage to yourself?
Nope, standing.

type trace(1); in the console replicate damage, quit and then post console log

type trace(1); in the console replicate damage, quit and then post console log
k
http://puu.sh/3QJea.log

PowerUp_Rebound
PowerUp_Shield
PowerUp_Goliath


try disabling these

PowerUp_Rebound
PowerUp_Shield
PowerUp_Goliath


try disabling these
Thanks


Uh
UH

Default event
[Onactivate] [Player] [addHealth] [-99]


But that isn't the cool way to do it.  I was looking for weird ways of doing it, thinking that's what you were doing, instead of the normal way.