Forged Alliance Forever Forged Alliance Forever Forums 2013-01-02T16:16:55+02:00 /feed.php?f=26&t=2610 2013-01-02T16:16:55+02:00 2013-01-02T16:16:55+02:00 /viewtopic.php?t=2610&p=26107#p26107 <![CDATA[Re: Default settings button and the unit spawn/cheat window]]> Statistics: Posted by eXcalibur — 02 Jan 2013, 16:16


]]>
2012-12-31T18:05:06+02:00 2012-12-31T18:05:06+02:00 /viewtopic.php?t=2610&p=25997#p25997 <![CDATA[Re: Default settings button and the unit spawn/cheat window]]>
You can have GAZ_UI, and not fiddle with keybindings, and use Default Settings button all ya want and Alt-F2 will still work. Or you can have GAZ_UI and change keybinds and never use the Default settings button and Alt-F2 will still work.

Not many people are aware of game.prefs at all, let alone the AppData folder.

Players like to "test balance" through sandbox games and spawning units at will makes it a lot faster. Experienced users are likely to have used GAZ_UI to rebind keys (hotbuild have this problem?) and... I wonder how much valuable feedback you may be losing due to them not willing to test due this glitch.

Statistics: Posted by Stratocaster — 31 Dec 2012, 18:05


]]>
2012-12-30T16:31:25+02:00 2012-12-30T16:31:25+02:00 /viewtopic.php?t=2610&p=25927#p25927 <![CDATA[Re: Default settings button and the unit spawn/cheat window]]>
i did not get the impression that binding a key to shownetworkstats made alt+f2 stop working. but i can be wrong about this.

as i described in another post, this is a problem. when you reinstall supcom the game.prefs file gets NOT replaced. therefore an inexperienced user cannot solve the alt+f2 problem intuitively!

Statistics: Posted by eXcalibur — 30 Dec 2012, 16:31


]]>
2012-12-26T13:35:50+02:00 2012-12-26T13:35:50+02:00 /viewtopic.php?t=2610&p=25614#p25614 <![CDATA[Re: Default settings button: stop removing cheat/debug keybi]]>
I bound a key to network statistics window, to Shift ~ (Shift and the Tilde key), using GAZ_UI and that was enough to cause this issue. I then rebound it to \ (Backslash) and that did not restore use.

Having GAZ_UI enabled and using only the other features, such as:

Force Render Enemy Lifebars - Enabled
Reclaim Window - Enabled

without any keybinds changed, did not cause a problem. Maybe just binding a key to many of the unused functions on the bottom with a new key caused the issue.

Statistics: Posted by Stratocaster — 26 Dec 2012, 13:35


]]>
2012-12-26T13:23:28+02:00 2012-12-26T13:23:28+02:00 /viewtopic.php?t=2610&p=25611#p25611 <![CDATA[Re: Default settings button: stop removing cheat/debug keybi]]> viewtopic.php?f=3&t=1600

it happened to me (that alt+f2 stopped working) a couple of times while i had only gaz_ui installed and never happened to me while gaz_ui was not installed. i have to admit that i have almost always gaz_ui installed, though.
i still suspect gaz_ui to be the conflicting mod, although i have to admit that i used and still use the "default" button to reset my options as well.

@Ze_Pilot: he said that the "default setting" button did not remove the debug key, it just MOVES it in the game.prefs file in a way that it "mysteriousely" stopps working...

Statistics: Posted by eXcalibur — 26 Dec 2012, 13:23


]]>
2012-12-26T12:44:59+02:00 2012-12-26T12:44:59+02:00 /viewtopic.php?t=2610&p=25608#p25608 <![CDATA[Re: Default settings button: stop removing cheat/debug keybi]]>
It's probably another mod conflicting with that function.

Statistics: Posted by Ze_PilOt — 26 Dec 2012, 12:44


]]>
2012-12-26T13:46:47+02:00 2012-12-26T12:35:57+02:00 /viewtopic.php?t=2610&p=25607#p25607 <![CDATA[Default settings button and the unit spawn/cheat window]]>
If you like to open games with the intention of testing units in a sandbox, you tend to change a lot of options such as:

Cheats: enabled
Fog of war: none
Game speed: Adjustable
Game mode: Sandbox
Teams: unlocked

To make things easier to make a game go back to ranked settings instantly, there's a default settings button in the FAF lobby (to the right of the observer button).

I discovered after one of these voluntary bug testing sessions (new patch and Nomads), that I could no longer use Alt-F2 to open the unit spawner window. I troubleshot everything from my mods, to game settings, and found that deleting my game.prefs file (C:\Users\User\AppData\Local\Gas Powered Games\Supreme Commander Forged Alliance\Game.prefs) restored my ability to use the unit spawn window. I wound up doing this multiple times and I got tired of needing to spend time to redo my keybinds and settings and templates. I studied the game.prefs file and found the entry related to Alt-F2 and that debug window and made a note of it.

Code:
profile = {
    current = 1,
    profiles = {
        {
            UserDebugKeyMap = {
               ['Alt-F2'] = 'debug_create_unit',
            },


Testing confirmed that the default settings button altered the organization of the game.prefs file, moving various sections around, including the line above. Further testing showed that GAZ_UI, with just a few options enabled like Force Render Enemy Life Bars and Reclaim window enabled, does not cause the issue. The issue is caused from rebinding commands to new keys, which GAZ_UI lets you do (F1 key).

So, my suggestion is to make pressing that Default settings button do the bare minimum to just make a game ranked.

Cheating: Off
Fog of War: Explored
Game Speed: Normal
Prebuilt: Off
Game mode: Assassination

It shouldn't modify keybinds, nor even the unit limit. It should just do what it says it does, return to settings that would make the match ranked. Either GAZ_UI could use a rewrite or this, but in the meanwhile, if you use GAZ_UI and rebind your keys, don't ever press the Default Settings button, unless you have your game.prefs file backed up.

Statistics: Posted by Stratocaster — 26 Dec 2012, 12:35


]]>