Skip to content

Implementing Super Mario Odyssey Scenarios #14

@shibbo

Description

@shibbo

Being able to load objects via scenario is important for any hacking, so I figured out how it works and how you can implement it.

The system works by looking into the ScenarioData.byml in the stage's map archive. There is an array, which is the possible scenarios. Inside of the entry are a list of strings, which correspond to what layer to use. Each letter represents the index into the level's dictionary to use for that specific scenario (ie A = 0, B = 1, C = 2, ... P = 15).

Implementation is simply asking the user which scenario they'd like to open, and then you'd just load the dictionary nodes at those indices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions