YesNoOk
avatar

Why are most MUGEN stages set to default p1startx = -70 and p2startx = 70? (Read 2819 times)

Started by thepacifist, January 23, 2020, 03:41:34 am
Share this topic:
Why are most MUGEN stages set to default p1startx = -70 and p2startx = 70?
#1  January 23, 2020, 03:41:34 am
  • **
I've been replaying all the old Marvel-related arcade games from XCOTA to MvC and in each game the characters start further away from each other such that in most cases their hardest punch can't touch the other player without moving closer first. In MUGEN it seems like the default is -70 and 70, which is great for consistency, but makes it so the characters can start hitting each other without movement toward the other. I'm tempted to switch the defaults to something in the ball park of -110 and 110 to more closely mimic the old arcade games but was wondering if anyone knew why it was the default. Maybe there's some good reason for the -70/70 default or changing it will mess up some aspect of the game (maybe intros) or something. Also not sure if things were different in winmugen and perhaps the Mugen 1.1, in adapting winmugen stages or 1.0 stages, somehow reads the -70 and 70 as being closer than they were originally intended to be.

Anyway, curious if anyone had any insight into this before I tried to open each stage to change the defaults.

Also, if there's a faster way than opening up each individual stage's def file to edit p1startx and p2startx, I'd love to know so I can save some time.

Thanks!
Re: Why are most MUGEN stages set to default p1startx = -70 and p2startx = 70?
#2  January 23, 2020, 04:37:05 am
  • ******
  • 90's Kawaii
  • :thinking:
    • Guatemala
I don't know why 70 is the default, but yes, changing it messes special intros since characters have no way to readjust themselves.
Re: Why are most MUGEN stages set to default p1startx = -70 and p2startx = 70?
#3  January 23, 2020, 05:00:14 am
  • ***
  • Secrets are just answers to the wrong questions...
  • www.newagemugen.com
    • Greece
    • sakchak322@hotmail.com
    • www.newagemugen.com
I dont think it is the default setting for any specific reason.
Over the years ive fiddled with various different settings.
Especially in 1.1 with widescreen localcoord sometimes it can seem too close.
Also in simul/tag sometimes its nice to have them spaced out a bit.

Basically i think it was more of just a generic guideline.
And yes alot of chars use that distance for intro triggers but there are many ways to fix that so its not an issue.

But all in all, in the case of a fullgame or having a balanced roster where nobody can standing fierce you as soon as the round starts, i have used 80, and even 140 in the past with widescreen localcoords
Last Edit: January 23, 2020, 05:03:42 am by PhantomD
Re: Why are most MUGEN stages set to default p1startx = -70 and p2startx = 70?
#4  January 23, 2020, 10:43:58 am
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
It was 70 because they used Kung Fu Man as a reference who has small sprites, compared to other games such as SF or KOF

Quote
I don't know why 70 is the default, but yes, changing it messes special intros since characters have no way to readjust themselves.
That's because they code the intros poorly and don't use a variable to capture the initial pos X value and then interact correctly
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: Why are most MUGEN stages set to default p1startx = -70 and p2startx = 70?
#5  January 23, 2020, 06:15:32 pm
  • **
Thanks, this was very helpful.

As I think about tinkering with the stages to make them more like XCOTA through MvC, XGargoyle said there was a way to code intros such that they "use a variable to capture the initial pos X value and then interact correctly." Can you show me an example of what that code might look like so I can use that to help me edit the characters whose intros don't interact smoothly with non-default -70/70 start points?
Re: Why are most MUGEN stages set to default p1startx = -70 and p2startx = 70?
#6  January 23, 2020, 09:10:34 pm
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
in your intro state (normally 190), add this:

[State 0, Capture X position start]
type = VarSet
trigger1 = Time=0
fvar(1) = floor(Pos X)

now, in the intro itself when it moves the character around or after the interaction with P2, ensure that you set the final position to fvar(1), or whatever variable you are using.

For example, my character does this:

[State 0, VelSet]
type = VelSet
trigger1 = facing=1
trigger1 = floor(Pos X) > floor(fvar(1))
trigger2 = facing=-1
trigger2 = floor(Pos X) < floor(fvar(1))
x = 0

This will stop the character at the correct X position no matter if the start position is 70 or 140
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: Why are most MUGEN stages set to default p1startx = -70 and p2startx = 70?
#7  January 23, 2020, 11:09:41 pm
  • **
Awesome, thank you!