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

Statistics displaying wins made with modded squads as with vanilla squad names #67

Open
Lemonymous opened this issue Feb 21, 2021 · 1 comment
Labels
blocked This can't be worked on for now enhancement New feature or request

Comments

@Lemonymous
Copy link
Contributor

When viewing vanilla statistics, modded squads are placed in vanilla squad brackets.
It would be possible to update the profile data so all modded squads are displayed as Customized Squad instead.

in profile.lua each score entry has a squad entry 0-7 for vanilla squads, 8 for random, 9 for custom and 10 for secret squad.
Each score entry also have a mechs entry showing which mechs was used in the run.
By comparing squad with mechs; a mismatch could be detected, and squad could be changed to 9 to display all modded squads as Customized Squad.

It might also be possible to make new name entries somehow, if the function converting squad->tiptext could be found.
The game does not crash if squad is any number outside of the 0-10 vanilla options; but instead displays TipTitle_.
TipTitle_Archive_A, TipTitle_Archive_B ... TipTitle_Custom, have names corresponding to the names seen on the statistics screen.
This indicates the function converting squad to text returned nil.

@kartoFlane kartoFlane added the enhancement New feature or request label Jul 23, 2021
@Lemonymous
Copy link
Contributor Author

After checking more into this feature, it appears that at least for now, it is not possible to alter profiles freely. Without that ability, it will not be possible to make additional squad entries for modded squads with their own statistics. At least as far as I can tell.

Unless someone has any clever ideas, this issue can probably be closed.

@kartoFlane kartoFlane added the blocked This can't be worked on for now label Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This can't be worked on for now enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants