X
xLostWingx
Guest
Is there a reason why Sense only works with enemies with HP below 30,000? It seems like a fairly arbitrary number, and so many enemies have HP higher than this. Is there any way to change this limitation?
My feelings exactly.I'd love to know more about this sort of stuff, but I wouldn't know where to even begin...
For enemies, yes.I am guessing FF7 uses 32 bit value for HP? Potentially 4294967296 HP?
Oh, is it a signed integer?The reason for this 30000 limit is that the max hp value at some point needs to fit in 16 bits. It is not as easy as removing the code that checks for this.
It isn't for Gil though :-DFor enemies, yes.I am guessing FF7 uses 32 bit value for HP? Potentially 4294967296 HP?
But I think it's a signed value (it is for player characters); if that's the case, the max is 2147483647.
Heh, well that isn't an option for many enemies, but most random encounters for the first 2 disks will be in that range. The main reason I wanted to increase sense's capabilities was so that players could sense boss HPs to know if they could beat the thing hard and fast, or if they should take a more cautious, defensive approach. Not a big deal though, not knowing boss HP adds a nice element of uncertainty.In that case, the fix will be non-trivial.
The easiest solution is to rework your mod so that enemies have far less health :-\
Why not? If you reduce all enemies HP by 1000000/65535 = 15.26Heh, well that isn't an option for many enemiesIn that case, the fix will be non-trivial.
The easiest solution is to rework your mod so that enemies have far less health :-\
^At that ratio, I would be doing like 15 Damage for the Bombing Mission and Enemies would be dealing about 6 or 7 damage, not to mention my HP would be scaled down to about 70. The particular mod that I'm working on right now revolves around the fact that enemies are as powerful as they are and the ability of the player to have more options for causing high damage early in the game. I've played with everything scaled down before, but having the ability to sense enemy HP does NOT take priority over the range of HP available to enemies. Thanks for the suggestion, but I'm confident in the scale I intend to useWhy not? If you reduce all enemies HP by 1000000/65535 = 15.26
Around 16X, you will be able to have all enemies in the game accounted for? As long as someone can make the limit 65535, if not scale by 32X. (you might need a rethink)