YesNoOk
avatar

Attempting a Constants and Maps Standard (Read 3739 times)

Started by Lasombra Demon, March 24, 2022, 02:27:48 am
Share this topic:
Attempting a Constants and Maps Standard
#1  March 24, 2022, 02:27:48 am
  • *****
  • WIP: Tons and tons of IKEMEN stages
Reading this: https://mugenguild.com/forum/all./topics/optional-animation-standards-138791.0.html

I think we need a topic to start defining usage of Constants and Maps for our IKEMEN Go projects. This can somehow help define some community standards...

I'd like to start referring to OrochiKyoCR's Tag system ones:
Spoiler, click to toggle visibilty
Last Edit: March 25, 2022, 03:31:19 am by Lasombra Demon
Re: Attempting a Constants and Maps Standard
#2  March 25, 2022, 02:03:19 am
  • *****
  • WIP: Tons and tons of IKEMEN stages
Sorry for the bump, but I think we have a good alternative for Messatsu's standards:

Since we cannot use strings for values, we can use Map values with the old Anim value and it should be a reasonable translation.

Will compile them the following way:

Constant/Map Name:
Constant/Map Numeric Value - Constant/Map Meant Value

Spoiler, click to toggle visibilty

And nationalities! From https://countrycode.org/

Country:
Spoiler, click to toggle visibilty
Last Edit: March 25, 2022, 03:31:41 am by Lasombra Demon
Re: Attempting a Constants and Maps Standard
#3  March 25, 2022, 12:29:52 pm
  • *****
  • WIP: Tons and tons of IKEMEN stages
So, discussing this with JNP and others, there is a more intuitive and nicer-looking idea. Just using the mapnames and/or constantnames as the categories themselves (with a namespace) and having each with a value of 0 or 1.

I think for these we can call it Messatsu.Trait?

So things would be like...

For a random Ryu:
Spoiler, click to toggle visibilty

Gacel also suggested we start using these to refer to semi-standard animations!

So it would be like:
AnimInfo.AppleForYou = 858
AnimInfo.VerticalSpin = 5250
AnimInfo.VerticalSpinHeadDown = 5251
AnimInfo.PreClaytality = 5305
etc.


This would allow for much, much more standarized and community-supported implementation of certain stuff. We just distribute a hugeass file with all the constants/maps set to 0, and people fill in the gaps as they want.
Re: Attempting a Constants and Maps Standard
#4  March 25, 2022, 07:09:23 pm
  • *****
  • WIP: Tons and tons of IKEMEN stages
So now we have the argument as to weather or not these should be constants or plain maps.

Some people say these should be modifyable, some say they shouldn't.

I... Am not sure?
BETTER USE MAPS
#5  March 28, 2022, 08:47:33 pm
  • *****
  • WIP: Tons and tons of IKEMEN stages
Welp, I've witnessed the debate among JNP and the rest, and the more seriously-oriented programmers defended the definition of Constants.

But this time The DreamSlayer Just did Have a Point, and I think it's worth adding this into your -2

Spoiler, click to toggle visibilty

At least until I add Messatsu's traits into this. :)
Re: Attempting a Constants and Maps Standard
#6  March 28, 2022, 09:15:51 pm
  • *****
  • WIP: Tons and tons of IKEMEN stages
And... Here they are:

Spoiler, click to toggle visibilty