Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clearing enemy attacks
#2
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:
  1. Firzen spawns a type 5 object (t5), because t5 will not change teams when injured.
  2. This t5 will be state 3005 with both itr effect 4 and bdy.
  3. Make sure to modify frames: 180,186,220,222,224,226 (because the t5 can potentially go to these frames when injured).
  4. Make sure those frames have dvx: 550, dvy: 550, dvz: 550 (this is to prevent the t5 from being pushed around by attacks).
  5. For balance, you can make it such that the t5 will self-delete(next: 1000) after either wait: 0(if it doesn't hit/get hit) or after it gets injured. I would suggest NOT having itr and bdy in those injury frames, otherwise it can potentially stay ingame forever.

You can also reach us at Discord as well in #dc-questions-lf2 channel
[Image: uMSShyX.png]
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza
Reply
Thanks given by: MasonNull


Messages In This Thread
Clearing enemy attacks - by MasonNull - 07-01-2023, 10:53 PM
RE: Clearing enemy attacks - by STM1993 - 07-02-2023, 02:05 AM
RE: Clearing enemy attacks - by MasonNull - 07-03-2023, 08:24 PM



Users browsing this thread: 2 Guest(s)