[Annoying] Game soft-locked in map editor "test with mode"
Posted: 14 Oct 2019, 23:28
A rather annoying one, prevents mappers from using an upcoming feature in Pursuit map editor: the test mode.
When you click on the Validate button, map type will launch a "test with mode". It works fine until you want to return to the editor. Clicking "Yes" on the prompt does nothing. Reloading the script with Shift + Scroll Lock will only brick the game mode. The only way to return is to open stations menu and enter another title, join a server or enter packs menu.
Game mode is perfectly normal, it bases on ModePursuit, which extends ModeTrackMania. Map type launches it this way:
Soft-lock example and how to get around it:
(0:22 I hit Shift + Scroll Lock)
Bonus report!
It seems like an event of type CPluginEvent::Type::StartTest should be fired when the user places the "Test Mode" car somewhere on the map. Thie however never happens. If I understand correctly, this is how TrackMania Turbo applies the custom manialink interface while testing the map around.
It would be HIGHLY appreciated by Pursuit mappers if we could launch the "test with mode" when this event is fired, preserving the just chosen spawning position. Reason for that being a very easy way to test if certain spots on the map can be reached with certain cars.
When you click on the Validate button, map type will launch a "test with mode". It works fine until you want to return to the editor. Clicking "Yes" on the prompt does nothing. Reloading the script with Shift + Scroll Lock will only brick the game mode. The only way to return is to open stations menu and enter another title, join a server or enter packs menu.
Game mode is perfectly normal, it bases on ModePursuit, which extends ModeTrackMania. Map type launches it this way:
Code: Select all
#Const C_TestModeName "Modes/TrackMania/Freemode.Script.txt"
[...]
case CPluginEvent::Type::StartValidation : {
TestMapWithMode(C_TestModeName);
}
(0:22 I hit Shift + Scroll Lock)
Bonus report!
It seems like an event of type CPluginEvent::Type::StartTest should be fired when the user places the "Test Mode" car somewhere on the map. Thie however never happens. If I understand correctly, this is how TrackMania Turbo applies the custom manialink interface while testing the map around.
It would be HIGHLY appreciated by Pursuit mappers if we could launch the "test with mode" when this event is fired, preserving the just chosen spawning position. Reason for that being a very easy way to test if certain spots on the map can be reached with certain cars.
Code: Select all
case CPluginEvent::Type::StartTest : {
TestMapWithMode(C_TestModeName);
}