You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Hello there!
I wanted to do my own iteration of Misterix script, that would work rather simple - you'd have missions to accept, and peds would spawn with sloth bot (or without it, if it would cause problems). Sloth bot works just fine, and everything else works. The problem is with the health. No matter what I do (or maybe I'm too inexperienced) and with the even help of an AI i can't seem to get rid of the 100 health cap
Can you possibly lift the Ped Health cap? Also I tried to change ped health in the editor and it also caps it to 100, and yes i can change it in the .map file but it still remains unchanged in game
Can you also explain, is this maybe my MTA version issue? Like map editor issue or something?
I will also send you the script to analyze it, I'd be thrilled to have an answer and if someone from the staff can help me overcoming this problem I'd be very happy!
(ps.: Tried to trick it, with showing Damage Taken and making the damage "fake" so it would reset the health every time, so the ped would be invincible, but in debug it would go down, and if it would reach 100 health, then it would stop resetting and the ped would be able to get killed)
You need to use your own health system if you want to do that, which I consider dumb. The main concern is because of cheating, but in my opinion we should be able to set any health via script without caps. Server developers already need to take into consideration absurd values that can't be used without cheats anyways.
If we end up adding this, please make it for every element that does have health (vehicle, peds, players...)
(ps.: Tried to trick it, with showing Damage Taken and making the damage "fake" so it would reset the health every time, so the ped would be invincible, but in debug it would go down, and if it would reach 100 health, then it would stop resetting and the ped would be able to get killed)
Try cancelling onClientPedDamage and onPedDamage btw.
You need to use your own health system if you want to do that, which I consider dumb. The main concern is because of cheating, but in my opinion we should be able to set any health via script without caps. Server developers already need to take into consideration absurd values that can't be used without cheats anyways.
If we end up adding this, please make it for every element that does have health (vehicle, peds, players...)
(ps.: Tried to trick it, with showing Damage Taken and making the damage "fake" so it would reset the health every time, so the ped would be invincible, but in debug it would go down, and if it would reach 100 health, then it would stop resetting and the ped would be able to get killed)
Try cancelling onClientPedDamage and onPedDamage btw.
Thank you for your response! I tried that and I think didn't work. Basically in my script, there's 50 000hp set on a healthbar and it goes relatively fine, but when I try to kill the ped, it kills it with 100 so I don't think that would work. I think I tried onPedDamage and onClientPedDamage and results i got was either the same, or sometimes ped was invincible, so yeah.....
Is your feature request related to a problem? Please describe.
Hello there!
I wanted to do my own iteration of Misterix script, that would work rather simple - you'd have missions to accept, and peds would spawn with sloth bot (or without it, if it would cause problems). Sloth bot works just fine, and everything else works. The problem is with the health. No matter what I do (or maybe I'm too inexperienced) and with the even help of an AI i can't seem to get rid of the 100 health cap
Can you possibly lift the Ped Health cap? Also I tried to change ped health in the editor and it also caps it to 100, and yes i can change it in the .map file but it still remains unchanged in game
Can you also explain, is this maybe my MTA version issue? Like map editor issue or something?
I will also send you the script to analyze it, I'd be thrilled to have an answer and if someone from the staff can help me overcoming this problem I'd be very happy!
(ps.: Tried to trick it, with showing Damage Taken and making the damage "fake" so it would reset the health every time, so the ped would be invincible, but in debug it would go down, and if it would reach 100 health, then it would stop resetting and the ped would be able to get killed)
https://www.mediafire.com/file/dn2o8ixurh85r9j/misterx2.zip/file
Describe the solution you'd like
Describe alternatives you've considered
No response
Additional context
No response
Security Policy
The text was updated successfully, but these errors were encountered: