Little Fighter Empire - Forums
Decrease Attacks range - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: [1.9/1.9c] Exe Editing (https://lf-empire.de/forum/forumdisplay.php?fid=17)
+--- Thread: Decrease Attacks range (/showthread.php?tid=2712)



Decrease Attacks range - NocturneSama - 04-23-2009

im my mod, the chars have half of the LF2 chars dimensions. My problem is: since the bdy's, itr's and anything else is smaller, the COM player tries to attack other player too far, even when they have a melee AI.

Is there anyway to decrease the range needed to melee AIs to start attacking?


RE: Decrease Attacks range - Alblaka - 05-02-2009

You could make the chars moving a bit forward while punching ^^
Not a HEX solution, but then they would still hit...


RE: Decrease Attacks range - Boop - 05-28-2009

00407F08 |. 83F8 50 CMP EAX,50

Open lf2 with olly, ctrl+g, 00407F08.

The change the 50 in the cmp eax line to a smaller number.

PS: Thanks to TheNave, he is working on random stuff for 1.9c and I'm just telling him what to look for. He is the one who sat and scrolled through a few hundred lines of code :D.


RE: Decrease Attacks range - JossuaDC - 05-28-2009

(05-28-2009, 04:44 PM)TheNave Wrote:  Lol, ya, hail me! :P
Just... Where do you get the motivation from to search through hundreds of lines of hex-coding and do this kind of stuff?
xD


RE: Decrease Attacks range - TheNave - 05-28-2009

Because I searched for the AI's heavy weapon throwing distance. going to upgrade tha whole NTSD AI on the next release
It was luck that I found the line for the punching :P