YesNoOk
avatar

Constants on MUGEN fight file (Read 10852 times)

Started by cidiego, March 09, 2018, 10:19:39 am
Share this topic:
Constants on MUGEN fight file
#1  March 09, 2018, 10:19:39 am
  • **
    • Spain
    • cidiego@gmail.com
Hello guys, please help me here.

I am wondering if I can use constant files in the definitions of the Fight.def file of MUGEN.  That is, to create some parameters that are automatically shared among all my characters.
If there is a way to do that, or something similar, can you tell me ?

Thank you!

Thank you all for sharing!
Re: Constants on MUGEN fight file
#2  March 09, 2018, 10:50:26 am
  • **
    • Brazil
that's reserved for the Common1.cns, you should look into that.
Re: Constants on MUGEN fight file
#3  March 09, 2018, 11:26:30 am
  • **
    • Spain
    • cidiego@gmail.com
Interesting. But i cant get -2 lines to work there. For instance, create a random helper if I write it into the common1.cns

Is the common1.cns neglected if the characters has    stcommon = AndyXIIIcommon1.cns   ?
Thank you all for sharing!
Re: Constants on MUGEN fight file
#4  March 09, 2018, 12:29:27 pm
  • **
    • Brazil
yes it is! sorry, I forgot to mention that, it's pretty important.
most characters do overwrite Common1.cns
Re: Constants on MUGEN fight file
#5  March 09, 2018, 03:22:36 pm
  • **
    • Spain
    • cidiego@gmail.com
Thanks a lot for your answer!.
Is there any possibility I can add another state tab to the Fight file ?   I want to leave the common1.cns untouched and add a St1 with -2 and -3 parameters.
Thank you all for sharing!
Re: Constants on MUGEN fight file
#6  March 09, 2018, 03:28:39 pm
  • **
    • Brazil
I'm not sure what you mean.
Fight.def doesn't accept any states, only .CNS files do.
And if you mean adding another .CNS file to be referenced by every character (effectively another Common1.cns) I don't think that's possible.
Re: Constants on MUGEN fight file
#7  March 09, 2018, 04:36:40 pm
  • **
    • Spain
    • cidiego@gmail.com
Turns out it wont read another .cns file, just as you said.
Well my doubt is solved now.
Thanks a lot !
Thank you all for sharing!