Blockland Forums > Help

Some sort of damage modifier is going on?

Pages: (1/3) > >>

Darksaber2213:

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


jes00:

What events are you using?

Swollow:

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

Gen. Hothauser:

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

On one brick:

--- Code: ---[x] [0] [ ] [Onplayertouch] [client] [centerprint] [<var:pl:Health>]

--- End code ---

On a second brick:

--- Code: ---[x] [0] [ ] [Onactivate] [Self] [Dosub] [1] [1]
[x] [1] [1000] [Onsub] [Self] [Dosub] [1] [2]
[x] [2] [ ] [Onsub] [Player] [VCE_ModVariable] [Health] [Subtract] [1]

--- End code ---

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.

Darksaber2213:


--- Quote from: Gen. Hothauser on July 31, 2013, 06:43:30 PM ---I tried doing this in game, and it was really forgeted up.
-SNIP-

--- End quote ---


--- Code: ---[x] [0] [ ] [Onplayertouch] [client] [centerprint] [<var:pl:Health>]

--- End code ---
This one ^^ is right
[x] [0] [ ] [Onactivate] [Self] [Dosub] [1] [1]
[x] [1] [1000] [Onsub] [Self] [Dosub] [1] [2]
[x] [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

--- Quote from: swollow on July 31, 2013, 06:19:25 PM ---are you by any chance crouching when you administer this damage to yourself?

--- End quote ---
Nope, standing.

Pages: (1/3) > >>

Go to full version