YesNoOk
avatar

MegaMan charge attacks, win poses against certain characters + more (Read 84154 times)

Started by RedDragonCats17, April 05, 2018, 03:02:57 am
Share this topic:
Re: MegaMan charge attacks, win poses against certain characters + more
#61  April 11, 2018, 06:15:30 am
  • ***
  • Part-Time MUGEN creator
    • USA
    • Skype - reddragoncats17
    • reddragoncats17.weebly.com/
I have not. I'm gonna try and make one right now.


No luck so far, but right now I’m trying to make the pose itself function probably when it comes to Zero’s voice. I want to make sure that he says “transfer” after he says “mission complete” without using Audacity. I may have to use it if I simply cannot get it to work, but we’ll see what happens.

Got any alternatives on how to make the pose work on Sigma?
Last Edit: April 11, 2018, 08:56:43 am by Odb718
Re: MegaMan charge attacks, win poses against certain characters + more
#62  April 14, 2018, 01:30:00 am
  • ***
  • Part-Time MUGEN creator
    • USA
    • Skype - reddragoncats17
    • reddragoncats17.weebly.com/
Aight, I've managed to make Zero's boss pose work on Sigma. I just had to make adjustments on the boss variable.

Code:
[State -2, Bosses]
type = VarSet
trigger1 = enemy,name = "Infinity Sigma"
var(11) = 1

Originally I used v = 11 and value = 1, now I use what you see, and it works much better. The least I have to do now is adjust some things such as the resets for var(3) and var(6) and redo Zero's palettes, because there's a small error in Omega Zero's palette, and I don't think there's anything I could do with that other than redoing Zero's palettes, which I really don't want to do but I don't have that much of a choice. After that, I'm gonna take a break, because MY GOD coding him first is a bad idea. Should've gone for something more simple, but I don't have any stages in my mind.
Re: MegaMan charge attacks, win poses against certain characters + more
#63  April 14, 2018, 08:39:34 am
  • *****
  • Shame on you!
    • USA
Because Statedef -2 runs every tic of the game you want to only activate the things in it as few times as possible.

    [State -2, Bosses]
    type = VarSet
    triggerall = var(11) != 1  ;;add this in
    trigger1 = enemy,name = "Infinity Sigma"
    var(11) = 1

Otherwise the entire match it'll set var 11 to equal 1.
vVv Ryuko718 Updated 10/31/22 vVv
Re: MegaMan charge attacks, win poses against certain characters + more
#64  April 14, 2018, 02:26:22 pm
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
Why in the hell are you using a -2 state for such easy check?
Simply do the check once in the winpose activation state so it triggers the correct pose. No need to waste or use a variable.

 
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!
Re: MegaMan charge attacks, win poses against certain characters + more
#65  April 15, 2018, 12:29:23 am
  • ***
  • Part-Time MUGEN creator
    • USA
    • Skype - reddragoncats17
    • reddragoncats17.weebly.com/
Here's the thing, the code originally looked like this:

Code:
[State 180, Boss]
type = ChangeState
triggerall = enemy,name = "Infinity Sigma"
triggerall = Roundno >= 1
trigger1 = Time = 0
value = 183

Then Odb718 suggested "matchover = #", so then it looked like this:

Code:
[State 180, Boss]
type = ChangeState
triggerall = enemy,name = "Infinity Sigma"
triggerall = matchover = 1
trigger1 = Time = 0
value = 183

THEN idk if Odb718 suggested this or not. He simply asked me if I set up a variable to keep track on which enemy I'm facing for this specific pose, which I didn't. So I made the variable in -2 because I honestly don't know where I should put it (Sigma isn't going to be the only boss. When a coder for bosses volunteers to collab with this, I'm planning on removing this Sigma from the roster because I didn't create him), I originally used v = 11 and value = 1 instead of var(11) = 1, and that didn't do much.

The first 2 did not activate the pose when Sigma is defeated, but using the variable did the job. If you got any suggestions on how I should adjust the code, then I'm all ears.
Re: MegaMan charge attacks, win poses against certain characters + more
#66  April 15, 2018, 09:56:05 am
  • *****
  • Shame on you!
    • USA
Why in the hell are you using a -2 state for such easy check?
Simply do the check once in the winpose activation state so it triggers the correct pose. No need to waste or use a variable.
I always thought that once the round is over there's no enemy. I could be mistaken, but I'm pretty sure
vVv Ryuko718 Updated 10/31/22 vVv