Clearing enemy attacks - 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: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11) +--- Thread: Clearing enemy attacks (/showthread.php?tid=11316) |
Clearing enemy attacks - MasonNull - 07-01-2023 Hi, guys I'm new here and new to the realm of data changing. I played different earlier versions of LF2 a long time ago as a kid and had always wanted to change certain characters to make them more fitting to how I pictured them. And that nostalgia brought me here. I started experimenting with data changing last year on and off. I think I'm more familiar with the mechanisms now but I still can't figure a lot things out. Here is one of them: I was trying to make an OP version (don't judge me) of Firzen and I wanted to give him a move that clears all attacks ('balls', as the .dat file describes) from other opponents. I have tried - setting the move itself as a state 3005 'ball' with a huge bdy and itr - making the move summoning a modified boulder (type 1 item) w/ huge bdy, so all enemy attacks on screen can hit the summoned object at once and be eliminated But neither worked perfectly. The first method just doesn't seem to work on some cases and I couldn't figure out why. The second method works most of the time, but sometimes when there are less enemy attacks on the screen, the HP of boulder does not drop to zero and results in it going into the 'hit' frames and drop to the ground, which breaks the experience. If any of you have better ways to achieve this pls let me know. Thx! I'll link the modified game too in case anyone want to see for themselves. The character is named Hyperfirzen and the move in question is DvJ https://mega.nz/file/nBIkhSpK#tRe_yZzG8Rdxgq-lmESI8xuorNkshK_B3iJxQboF0no RE: Clearing enemy attacks - STM1993 - 07-02-2023 Welcome to LFE! Firstly, no matter which method you are using, there are 3 key points you need to know: 1) If a ball has no bdy, then it can never be hit by the spell's itr. 2) If a ball only has itr, then it may only forcefully go into frame 10/20/30 when colliding with something else, depending on that ball's state. 3) An object will go into its injury frames(depending on type) when it gets hit. For point #1, that means you might need to add in an extra bdy for balls that simply refuse to be deleted even after taking into account point #2. Example, you could give a ball y: 1000079, while your purifier spell's itr will also have itr y: 1000079, so only the spell can ever hit that special bdy. For point #2, that means you will only be able to, for example, "delete" state 3000 balls that have no bdy, because they will go to frame 10 upon hitting something. 3006 will delete upon hitting another 3006, and 3005 will delete upon hitting another 3005. For point #3, you will need some way to force an object to stay in the same frame even if it normally will get sent into "injury". There is also the problem that weapons and balls will change to enemy team when they get hit. By the way, your DvJ has opoint on very first frame(frame 343 itself), so the thunder will not spawn. This is a common beginner's mistake. For a relatively simple way to do what you're looking for:
You can also reach us at Discord as well in #dc-questions-lf2 channel RE: Clearing enemy attacks - MasonNull - 07-03-2023 (07-02-2023, 02:05 AM)STM1993 Wrote: Welcome to LFE!Wow, thanks for the detailed response! I certainly did not know all these stuff about t5 object and specific frames. Will give a shot later and see how it goes. Thanks again |