by camaxide » Mon Sep 30, 2024 9:12 am
So, mid playtesting I had one of my playtesters wanting to test something, so he changed some variable in the console and wanted to restart the map, so he tried Restart in the console.
This restarted the engine, and swapped from Doom2 straight into Ultimate Doom. But what's worse it everything was reset.. The mod uses cvars to track player achievements, unlocks, best times, and progress.. so his 50 hours of playtesting progress was wiped in an instant by a command named 'Restart' without a warning.
Reading the wiki this command should only restart the gzdoom engine - not wipe a players custom config cvars.
A function like this would be best named WipeSettings, or ResetEverything.. and upon calling it there should be a yes / no prompt asking 'Are You Sure?!' like before you quit a game.. as this is a very hostile command for anyone not fully knowing what they are about to do.
A full reset function could be good to place somewhere in the menu - and if a console command is to be present it needs another wording.
So, mid playtesting I had one of my playtesters wanting to test something, so he changed some variable in the console and wanted to restart the map, so he tried Restart in the console.
This restarted the engine, and swapped from Doom2 straight into Ultimate Doom. But what's worse it everything was reset.. The mod uses cvars to track player achievements, unlocks, best times, and progress.. so his 50 hours of playtesting progress was wiped in an instant by a command named 'Restart' without a warning.
Reading the wiki this command should only restart the gzdoom engine - not wipe a players custom config cvars.
A function like this would be best named WipeSettings, or ResetEverything.. and upon calling it there should be a yes / no prompt asking 'Are You Sure?!' like before you quit a game.. as this is a very hostile command for anyone not fully knowing what they are about to do.
A full reset function could be good to place somewhere in the menu - and if a console command is to be present it needs another wording.