YesNoOk
avatar

Build 23469 (3/21) (Read 39156 times)

Started by FrantzX, March 21, 2009, 09:50:22 am
Re: Build 23469 (3/21)
#21  March 24, 2009, 07:28:47 am
  • avatar
  • **
    • code.google.com/p/xnamugen/
- There are lots of little gaps in where Servbots should be spawning during Lunch Rush. If there was a hit counter, I could properly see if all 41 hits are being done.

Here is the state controller is questions that spawns the Lunch Rush servbots: (State #23000)
[State 0, Helper]
type = Helper
trigger1 = anim != 23004
trigger1 = root, var(10)
trigger1 = Time >= 95
trigger1 = Time < 211
helpertype = normal
name = "Lunch Rush"
ID = 23001
stateno = 23001
pos = -5,0
postype = back
facing = 1
ownpal = 1
persistent = 3+(random%4) <- Here is the problem.

The Persistent line of a state controller does not take an expression, it takes a number. The crappy WinMugen parser make the persistence of this controller to be "3" not "3+(random%4)".

Change the line from "3+(random%4)" to "(random%4)+3" was see what happens in WinMugen.

Change the line to "3" & WinMugen & xnaMugen do the same thing.
Re: Build 23469 (3/21)
#22  March 24, 2009, 09:21:37 am
  • avatar
  • **
    • code.google.com/p/xnamugen/
- Throw direction still changes when holding forward during regular forward throw (F + Y)

Here is the throw is question:[Statedef 830]
type    = S
movetype= A
physics = S
juggle  = 0
velset = 0,0
ctrl = 0
anim = 830

[State 0, VarSet]
type = VarSet
trigger1 = !Time
trigger1 = command != "holdfwd" ;<-- Look here
v = 8
value = 0

[State 0, VarSet]
type = VarSet
trigger1 = !Time
trigger1 = command = "holdback"
v = 8
value = 1

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 3
value = S800,0
volume = 255

[State 800, 1]
type = HitDef
Trigger1 = Time = 0
attr = S, ST
hitflag = M
sparkno = -1
hitsound = S800,1
sprpriority = 1
p1facing = ifelse (var(8) = 1, -1, 1) <-- Look here
p2facing = 1
p1stateno = 840
p2stateno = 850
fall = 1
id = 1

[State 800, 2]
type = ChangeState
Trigger1 = AnimTime = 0
value = 0
ctrl = 1

Once you do this throw with B+Y, var(8) is set to 1. This causes the p1facing of the hitdef to be set to -1. Then, if you do the same throw with F+Y, var(8) is not set back to 0. I tested the throw in WinMugen as was able to reproducing the same behavior.

You have the wrong trigger for the first VarSet controller.
Change it from command != "holdfwd" to command = "holdfwd" or command != "holdback".
Last Edit: March 24, 2009, 09:48:53 am by FrantzX
Re: Build 23469 (3/21)
#23  March 24, 2009, 01:52:42 pm
  • *****
  • DAT SAX
Hah! I love it! Turns out all these bugs are being caused by my shitty coding skills! :XD: Rather, my silly coding mistakes. :P

Turns out for that persistent thing, guess I just didn't know what I was doing. I guess what I did actually worked the way I coded it in xnaMugen, while WinMUGEN pretty much ignored the (random%4).

Haha, FrantzX has stuff working in xnaMugen when it doesn't even work in WinMUGEN. :P

Fixed all of that stuff, and edited my bug report post. :)

So FrantzX, what are you planning to do about everyone not being able to combo with basics?

                  ~*The Last Quincy*~         ~Sig by [TempesT]
My MUGEN shit:
MvC2 Tron Bonne, MvC Kim Kaphwan, Barns (Destruction Desire),
and Burai Yamamoto (Arranged)
Last Edit: March 24, 2009, 02:02:51 pm by ~*Ishida-Uryuu*~
Re: Build 23469 (3/21)
#24  March 25, 2009, 02:43:42 am
  • avatar
  • **
    • code.google.com/p/xnamugen/
Re: Build 23469 (3/21)
New #25  March 25, 2009, 02:49:21 am
  • *****
  • DAT SAX
YES, AWESOME. You're going so fast man, you're just unstoppable. :P

What about my question? :P

So FrantzX, what are you planning to do about everyone not being able to combo with basics?

Also, will you be putting in the powerbar counters for the next release? I imagine that wouldn't be hard to implement, right?

                  ~*The Last Quincy*~         ~Sig by [TempesT]
My MUGEN shit:
MvC2 Tron Bonne, MvC Kim Kaphwan, Barns (Destruction Desire),
and Burai Yamamoto (Arranged)
Last Edit: March 25, 2009, 02:52:44 am by ~*Ishida-Uryuu*~