Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ground IDs #3

Open
hohav opened this issue Jun 10, 2024 · 0 comments
Open

Ground IDs #3

hohav opened this issue Jun 10, 2024 · 0 comments

Comments

@hohav
Copy link
Owner

hohav commented Jun 10, 2024

We should include ground IDs, but the representation needs thought. From @Walnut356 via peppi#62:

I did a quick check of the ground ID's on the tournament legal stages, which I've left in tables below. There's 2 holes in this data: stadium transformations, and the little divots on the walls of yoshi's (though I'm not sure they even have IDs).

Implementation isn't 100% straight forward. Every stage has little areas next to the ledges - sometimes multiple per side - that count as "different ground". We could represent it exactly how it is in the game, or we could just lump them all in under "it's the main stage". If they are lumped, do we lump yoshi's slants in as well? They're the same conceptually, but they affect gameplay way more.

The other option is to just put in both, likely with the generalized one being the default (e.g. ground_id and ground_id_exact).

ID tables

ID 65535 is always the respawn/entry platform

FD:

ID Position
0 Left edge
1 Main
2 Right edge

Yoshi's:

ID Position
0 Randall
1 Left plat
2 Left slant
3 Main
4 Top plat
5 Right plat
6 Right Slant

Battlefield:

ID Position
0 Left edge
1 Main
2 Left plat
3 Top plat
4 Right plat
5 Right edge

Stadium:

ID Position
34 Main
35 Left plat
36 Right plat
51 Left edge (outside)
52 Left edge (inside)
53 Right edge (inside)
54 Right edge (outside)

DL:

ID Position
0 Left plat
1 Right plat
2 Top plat
3 Left edge
4 Main
5 Right edge

FoD:

ID Position
0 Left plat
1 Right plat
2 Top plat
3 Left edge (outside)
4 Left edge (inside)
5 Main
6 Right edge (inside)
7 Right edge (outside)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant