[Bug] Medal times cannot be set in descending order

Moderator: English Moderator

Post Reply
User avatar
Dommy
Translator
Translator
Posts: 1866
Joined: 25 Aug 2011, 21:45
Location: Poland
Contact:

[Bug] Medal times cannot be set in descending order

Post by Dommy »

I'm working on a mode that requires its own map type, where the more points you gain, the better the medal you achieve. However, this cannot be done in the current version of the game.

If you try to set a value lower than better medal (let's say trying to set 4500 points for the gold medal, while the author medal is 5000), the game just doesn't let you, the value is reverted back to what it was previously. This effectively stops me from properly validating the map objectives.

Example of what I try to do:

Code: Select all

Map.TMObjective_AuthorTime 	= _ScoreAuthor;		///< 5000
Map.TMObjective_GoldTime 	= _ScoreGold;		///< 4500
Map.TMObjective_SilverTime 	= _ScoreSilver;		///< 3000
Map.TMObjective_BronzeTime 	= _ScoreBronze;		///< 2000
Unfortunately, the values for gold, silver, and bronze are not saved but reverted to the previous state. I have to use a workaround based on map metadata to store information about these medals, and the medal values are equal to the author's score.

It's important that these medal scores can be set, as multiple tools read medal scores from the values stored in the GBX header (for example Mania Exchange medal records readings), like here:

Code: Select all

<times bronze="5000" silver="5000" gold="5000" authortime="5000" authorscore="0"/>
If it can be looked into, it would be highly appreciated!
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT

Contact me via GALAXY & PURSUIT DISCORD
Post Reply

Return to “MP4.1 REPORTS / BUGS / INFORMATION”

Who is online

Users browsing this forum: No registered users and 1 guest