YesNoOk
avatar

Projectile doesn't project from long distance (Mugen 1.1) (Read 330 times)

Started by mixosh, September 15, 2020, 03:55:41 PM
Share this topic:
Projectile doesn't project from long distance (Mugen 1.1)
#1  September 15, 2020, 03:55:41 PM
  • *
  • Life Down Here is Just a Strange Illusion
When using POTS' Ryu, If I am in a stage with a zoom feature and from distance, the Hadouken won't project. Same thing with Z2's DBZ characters and others.

In here the distance is pretty close, so there won't be problems.
Spoiler, click to toggle visibilty

Here they're further and the hadouken WILL fire BUT will not reach all the way through.
Spoiler, click to toggle visibilty

And here the pretty far so the hadouken won't fire at all
Spoiler, click to toggle visibilty

But other characters like GM's characters or Warusaki3's do project them from every distance.

Is there a way to fix this?
Last Edit: September 15, 2020, 04:10:46 PM by mixosh
Re: Projectile doesn't project from long distance (Mugen 1.1)
#2  September 15, 2020, 07:29:05 PM
  • avatar
  • **
    • USA
could be these paremeters need to be removed if its a projectile

    projedgebound = value (int)       
Specifies the distance off the edge of the screen before the projectile is automatically removed. Units are in pixels. Defaults to 40 in 240p, 80 in 480p, 160 in 720p.

    projstagebound = value (int)       
Specifies the greatest distance the projectile can travel off the edge of the stage before being it is automatically removed. Defaults to 40 in 240p, 80 in 480p, 160 in 720p.

Re: Projectile doesn't project from long distance (Mugen 1.1)
#3  September 15, 2020, 08:01:40 PM
  • *
  • Life Down Here is Just a Strange Illusion
could be these paremeters need to be removed if its a projectile

    projedgebound = value (int)       
Specifies the distance off the edge of the screen before the projectile is automatically removed. Units are in pixels. Defaults to 40 in 240p, 80 in 480p, 160 in 720p.

    projstagebound = value (int)       
Specifies the greatest distance the projectile can travel off the edge of the stage before being it is automatically removed. Defaults to 40 in 240p, 80 in 480p, 160 in 720p.




I didn't see these parameters.... this is the code for POTS Ryu hadouken

Spoiler, click to toggle visibilty
Re: Projectile doesn't project from long distance (Mugen 1.1)
#4  September 15, 2020, 08:57:08 PM
  • avatar
  • **
    • USA
ok so it is a helper, please copy paste stateno 1005
Re: Projectile doesn't project from long distance (Mugen 1.1)
#5  September 15, 2020, 09:09:54 PM
  • *
  • Life Down Here is Just a Strange Illusion
ok so it is a helper, please copy paste stateno 1005

here it is. BTW thanks for helping!

Spoiler, click to toggle visibilty
Re: Projectile doesn't project from long distance (Mugen 1.1)
#6  September 15, 2020, 10:47:00 PM
  • avatar
  • **
    • USA
i see the problem, it is the destroy self at the very end

[State 1005, End]
type = destroyself
trigger1 = pos x != [ -200, 200]

change the trigger1 according to this instead when it goes offscreen (depending on how big the projectile is):
https://mugenguild.com/forum/msg.2443429
Re: Projectile doesn't project from long distance (Mugen 1.1)
#7  September 15, 2020, 11:55:27 PM
  • *
  • Life Down Here is Just a Strange Illusion
i see the problem, it is the destroy self at the very end

[State 1005, End]
type = destroyself
trigger1 = pos x != [ -200, 200]

change the trigger1 according to this instead when it goes offscreen (depending on how big the projectile is):
https://mugenguild.com/forum/msg.2443429

wow thanks!! problem solved. Thank you very much!!

BTW, how do I determine the width of the projectile. with this code?:

Code:
[State 1000, width]
type = width
trigger1 = animelemtime(5) = 0
value = 30, 0
Re: Projectile doesn't project from long distance (Mugen 1.1)
#8  September 16, 2020, 03:20:19 AM
  • avatar
  • **
    • USA
first value is front, 2nd is back. you can also test by debug keys CTRL+C and see the width line once engaged and just keep adjusting
Re: Projectile doesn't project from long distance (Mugen 1.1)
#9  September 16, 2020, 01:29:14 PM
  • *
  • Life Down Here is Just a Strange Illusion