YesNoOk
avatar

trying to fix ironman by magus but i cant ! (Read 995 times)

Started by grabisoft, January 20, 2021, 04:22:35 AM
Share this topic:
trying to fix ironman by magus but i cant !
#1  January 20, 2021, 04:22:35 AM
  • *
    • Argentina
    • eze_vin@hotmail.com
    • www.grabisoftnet.com
Hi so im migrating to mugen 1.1 and i found out my old favorite ironman char by magus (ironman_v1.2) has that annoying bug where the proton cannon doesnt work anymore. it does work fine in mugen 1.0.

character seems to play the animation but the laser itself doesnt appear, making no damage whatsoever.

Ive googled the problem and i found 2 threads across the internet talking about the problem, but nobody ever responded with a solution to this.

I have experience tweaking chars here and there and assembling my own custom packs to enjoy, but im afraid this requires coding char knowledge which seems to be exceeding my limits.

If anyone could be kind enough can somebody help in this issue? this damned proton cannon seems to be the only thing missing.

there is one of the many places to get said char.
https://mugenguild.com/forum/topics/iron-man-magus-updated-7302011-132382.0.html
Re: trying to fix ironman by magus but i cant !
#2  January 20, 2021, 05:45:18 AM
  • ***
  • Elite Gaming Specimen
  • twitch.tv/reddbrinkgaming
    • USA
I fixed this issue myself a while back but dont remember how. but i have an idea on where to start.

Look for this state under Statedef 3344 and see if its there.

Code:
[State 1300, helper]
type = Helper
triggerall = stateno= 3344
trigger1 = AnimElem = 13
name = "ProtonBeam"
StateNo = 3304
id =3304
postype = p1
sprpriority = 9
pos = 0, 0
ownpal = 1
removeongethit = 1
Penguinz0 said:
"Oh its all happening! Everything that's ever existed is happening at once!"
Re: trying to fix ironman by magus but i cant !
#3  January 20, 2021, 05:59:18 AM
  • *
    • Argentina
    • eze_vin@hotmail.com
    • www.grabisoftnet.com
I fixed this issue myself a while back but dont remember how. but i have an idea on where to start.

Look for this state under Statedef 3344 and see if its there.

Code:
[State 1300, helper]
type = Helper
triggerall = stateno= 3344
trigger1 = AnimElem = 13
name = "ProtonBeam"
StateNo = 3304
id =3304
postype = p1
sprpriority = 9
pos = 0, 0
ownpal = 1
removeongethit = 1

so i go to ironman folder, open hypers.st
im able to find Statedef 3344

; Start
[Statedef 3344]
type    = S
movetype= A
physics = S
ctrl = 0
anim = 3300
juggle =4
sprpriority = 2

and so on..  i locate

[State 1300, helper]
type = Helper
triggerall = !Numhelper(3304)
triggerall = stateno= 3344
trigger1 = AnimElem = 13
name = "ProtonBeam"
StateNo = 3304
id =3304
postype = p1
sprpriority = 9
pos = 0, 0
ownpal = 1
removeongethit = 1

and replace that with yours:

[State 1300, helper]
type = Helper
triggerall = stateno= 3344
trigger1 = AnimElem = 13
name = "ProtonBeam"
StateNo = 3304
id =3304
postype = p1
sprpriority = 9
pos = 0, 0
ownpal = 1
removeongethit = 1

But still, ironman proton cannon doesnt seem to work unfortunately. :*( by any chance you have the char fixed to share?
Re: trying to fix ironman by magus but i cant !
#4  January 20, 2021, 06:18:11 AM
  • ***
  • Elite Gaming Specimen
  • twitch.tv/reddbrinkgaming
    • USA
i figured it out. look for this state in statedef 3304.
Code:
[state 1305, destroy]
type = Destroyself
trigger1 = animtime = 0
trigger2 = RootDist X != 0

Change it to this.
Code:
[state 1305, destroy]
type = Destroyself
trigger1 = animtime = 0

If that still doesn't work let me know.
Penguinz0 said:
"Oh its all happening! Everything that's ever existed is happening at once!"
Re: trying to fix ironman by magus but i cant !
#5  January 20, 2021, 06:25:10 AM
  • *
    • Argentina
    • eze_vin@hotmail.com
    • www.grabisoftnet.com
wooh man you rock, that did the trick !

my favorite ironman works like a charm in mugen 1.1 now.

THANK YOU. you should really post this fixed ironman in downloads or something ! thank you !

also can you provide a simple explanation what was going on? just a general idea thanks
Last Edit: January 20, 2021, 06:32:10 AM by grabisoft
Re: trying to fix ironman by magus but i cant !
#6  January 20, 2021, 06:46:56 AM
  • ***
  • Elite Gaming Specimen
  • twitch.tv/reddbrinkgaming
    • USA
wooh man you rock, that did the trick !

my favorite ironman works like a charm in mugen 1.1 now.

THANK YOU. you should really post this fixed ironman in downloads or something ! thank you !

also can you provide a simple explanation what was going on? just a general idea thanks

RootDist X !=0 triggers if the root is not at the exact same x-position as the helper character. Meaning that it was probably at the same x-position as the helper character (Iron Man) which is why it wouldn't work. i might be wrong though.
Penguinz0 said:
"Oh its all happening! Everything that's ever existed is happening at once!"
Re: trying to fix ironman by magus but i cant !
#7  January 24, 2021, 08:36:00 AM
  • ***
    • beterwork.hopto.org
wooh man you rock, that did the trick !

my favorite ironman works like a charm in mugen 1.1 now.

THANK YOU. you should really post this fixed ironman in downloads or something ! thank you !

also can you provide a simple explanation what was going on? just a general idea thanks


I found this ironman is OK decide to keep him also fix him

Here is my version of fix

File: special.st
Line: 1659
velset = 0,0, (remove the comma at last)
Code:
velset = 0,0

File:hypers.st
same place told by ReddBrink
but I change to

Code:
[state 1305, destroy]
type = Destroyself
trigger1 = animtime = 0
trigger2 = Abs(RootDist X) > 1

the reason it is there is to stop the laser been if your main character got attacked.
if the 2nd trigger is there the laser been will fire without the main character.
the reason it doesn't work is in 1.1 mugen POS is float point number but in old mugen it's integer, and the floatpoint number of helper and root may not = but very close.


last
in ironman.def
Code:
mugenversion = 1.0
I don't know it help or not but change to 1.0 feels like give more FX

Check my Odysee Channel videos for latest stuff from me.
https://odysee.com/@BeterWork:e
My Home Page
https://beterwork.hopto.org
Last Edit: January 24, 2021, 08:43:57 AM by beterhans