The 1 player Mode File Modding Informational and Refence Library - Event Matches

Started by Eternal Yoshi, August 29, 2013, 05:22:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Just placing this here for reference. Will bring back info on other 1 player modes when I acquire more info on them.                                                         EVENT MATCHES
You need Tabuu to edit this file. It's MiscData[6] in common2.pac.

sq_event_data.dat = MiscData[6] in common2.pac.

It is ill advised to alter the file size.

Sc_sel_event.pac controls the text and such of the event match menu.


Red = Player 1 data
Blue = Player 2 data
Yellow = Player 3 data
Green = Player 4 data
Brown = Character ID
Purple = Scaling
Teal = Stage ID
Magenta = Stock Count
Royal Blue = Status
Dark Orange = Starting Damage(All Difficulties)
Pink = Team Flag
White = Color ID
Dark Red = Offense Ratio
Cyan = Defense Ratio
Gold = Game Mode
Dark Olive Green = Game Speed
Sandy Brown = Camera Shake control
Dark Green = Time Limit
Light Green = Timer Visibility?(Timer invisible when at 40000000)
Indigo = Global Offense and Defense Ratio???
Light Yellow = Item Frequency
Rose = CPU Level (All Difficulties)

00 = Normal
01 = Metal(Portrait Dark)
02 = Invisible(No Portrait)
03 = Freezes the game.


Rule Format
00 = Time?
01 = Stock Match
02 = Coins


So as of now, we can change characters, music, and scale them.
And now stock count, control status, offense and defense ratios among the characters, and stages.


In a different format:



Header Size - 0x50

0x08 = Match Type(Value is at 2 for Coin event match)
0x0C = Time Limit
0x10 = Timer Visibility?
0x1B = Item Frequency
0x1F = Stage ID
0x38 = Game Speed
0x3C = Camera Shaking control
0x46 = Music ID
0x49 = Global Offense Ratio(Leave area as FFFFFFFF for normal ratios)
0x4B = Global Defense Ratio(Leave area as FFFFFFFF for normal ratios)

PlayerData Size = 0x38
---------------------------------
0x00  = byte CharacterID
0x01  = byte Status (Normal,Metal,Invisible,BEEP?)
0x04  = float Size(Scaling)
0x08  = Team Flag
0x0C  = CPU level(Easy)
0x0F  = Offense Ratio(Easy)
0x11  = Defense Ratio(Easy)
0x14  = Stock count(Easy)
0x18  = Starting Damage(Easy)
0x1A  = CPU Level(Normal)
0x1D  = Offense Ratio(Normal)
0x1F  = Defense Ratio(Normal)
0x22  = Stock count(Normal)
0x26  = Starting Damage(Normal)
0x28  = CPU Level(Hard)
0x2B  = Offense Ratio(Hard)
0x2D  = Defense Ratio(Hard)
0x30  = Stock count(Hard)
0x34  = Starting Damage(Hard)




For the sake of reference for whoever wants to try their hand at this, here are the Character IDs and Music Lists.

Music List(Don't use nameless and unused songs!)
Sorry but you are not allowed to view spoiler contents.


Character IDs for dat file
Sorry but you are not allowed to view spoiler contents.


Note: Pokemon Trainer and his independent Pokes use different IDs.

3E has two meanings. Either none, or "Choose your Character".

Sorry but you are not allowed to view spoiler contents.


Sorry but you are not allowed to view spoiler contents.


Seems objects in sora_melee.rel control the success and failure conditions for most event matches.

Post Merge: August 29, 2013, 05:23:16 AM

This is for future use.

http://opensa.dantarion.com/wiki/Event_Match_Files
This has a more complete table on Event Matches and the MiscData[60] in sc_sel_event.pac, which is the Event Match menu.

This is useful information, thanks for sharing. I assume that, in the future, we will be able to set arbitrary victory conditions? Such as "Let team mate X defeat enemy Y"? Or is this already possible?
I'm no longer around. If you really need to get my attention, send a PM

Picky Victory conditions such as that have special coding in certain places which require codes and the like to fully edit. You don't have to edit objects in sora_melee.rel if you find the offsets of the coding in memory.

soo lesee.. i grab tabuu and the file, open it up and search for the All Star Regulars event..

then if i wanna force a color palette onto all of the characters.. i would edit players 1-4 and give them the proper values under the "colorID" section..

then if i wanted to force a stage, say, final destination, id place the code for FD in the stage portion...

then i replace said palettes and stages with N64 versions of themselves... and now im playing an event in which you face the N64 cast N64 style?!?!

then i would obviously have PROFIT!?!

then i guess the real question is.. does this work with custom stage codes and the palette extension code (CsBLISS or something)? cause im not sure what values to use for stuff beyond vanilla parameters..

[white]

I don't know if this works with CBliss costumes, but I CAN confirm this working with stages added by Stage Roster Expansion. The ID you use for SRE stages is the stage ID you use in the Custom SSS code. You can even have expansion stages loading in Classic and All Star too.

Quote from: Eternal Yoshi on June 04, 2014, 04:31:13 AM
I don't know if this works with CBliss costumes, but I CAN confirm this working with stages added by Stage Roster Expansion. The ID you use for SRE stages is the stage ID you use in the Custom SSS code. You can even have expansion stages loading in Classic and All Star too.

the stage part is good to know, at least i dont have to overwrite FD for N64 FD..

however it would be convenient if N64 models for characters had their own slots, if it was doable, id have EVERY character use an N64-esque model, like saturn sonic and PS1 snake etc. etc.

although Mr. G&W can be pretty much left alone lol

it would be neat to do a melee event in the same fashion, give everyone gamecube-esque models and use melee FD.. but this would be a lot of work.. :/

oh and i suppose since the stage roster expansion code works since it gives a new stage ID for custom stages, the same could be said of Ex Characters since they're given new ID's as well as part of the code?

that could open up for some cool boss battles! WE CAN HAVE THE MELEE GIGA BOWSER EVENT FIGHT!! =3

[white]

Wait, I'm so confused on this. All I want to do is change up some events that are causing my mod to crash. One of them I want to be entirely different. I want to know how to change the Super Bowser Bros. Event (#9) to something where Mario fights against Bowser. I changed the Mushroomy Kingdom stage to a different one, so it's not scrolling. Would this be possible, or would I have to change my new stage back to Mushroomy Kingdom?

ALL ABOARD THE HYPE TRAIN!!!!
NNID: Supersawnik99