Disabling Ctr+Alt+O flashing warning with XML

phungus420

Deity
Joined
Mar 1, 2003
Messages
6,296
I can't find the option in the config folder, how do I do it? I ask because I'm nearly ready to update WolfRev, and that damn flashing Ctr + Alt + O was driving me nuts. glider directed me to the correct option from the BUG options, but I had to cruise the forums to find out where it was (kind of hidden there in the system tab). I don't want to release a mod that comes with that feature, and would like to disable it via XML (or python if it's necessary) as the default.

Also unrelated, It would be cool if BULL added a button on the bottom right section that brought up the Dotmapping screen, it's very hard to find where it is, and a button (I'm assuming this requires SDK work) implemented with BULL would be great :deal:

Edit: Also where in the code is the SVN updater information stored? I'd like to either remove it, or have it reference my Mod, not BUG (as if it tried to update WolfRev with the new BUG SVN it'll break the mod).
 
I can't find the option in the config folder, how do I do it? I ask because I'm nearly ready to update WolfRev, and that damn flashing Ctr + Alt + O was driving me nuts. glider directed me to the correct option from the BUG options, but I had to cruise the forums to find out where it was (kind of hidden there in the system tab). I don't want to release a mod that comes with that feature, and would like to disable it via XML (or python if it's necessary) as the default.

It's in Assets\Config\Bug Main Interface.xml

There change "Options Shortcut Reminder" default value to False.

Edit: Also where in the code is the SVN updater information stored? I'd like to either remove it, or have it reference my Mod, not BUG (as if it tried to update WolfRev with the new BUG SVN it'll break the mod).

SVN updater info is in Assets\Config\Bug core.xml

There change 'check for updates' section's default to false.
 
Weird, I tried that and it didn't work. Thanks for telling me though, after knowing that this option was indeed correct, I figured out it was being overwritten by the ini files, so I deleted all the inis (except the two that come with the download), applied it and then re checked, and it worked.
 
Sadly, I never had a chance to make the SVN update check do anything. I got the code to do the check, but I still need to make it do something interesting when there is an update. You can also change BugSystemOptionsTab.py and remove those options entirely from the options screen. Same for the CTRL + ALT + O thing if you want.

The defaults are used to create the INI files when they don't exist or when the INI file doesn't have the option. The INI files have highest priority, of course.
 
I just have it say "Option Unsupported, Do Not Use" there now. Yeah, I didn't realize the INI files had priority, that was my main problem there. Surprised more people don't complain about the flashing Ctrl + Alt + O text though, was driving me nuts, and I couldn't figure out how to disable it until glider1 told me.

If you do get the SVN update to work, I'll need to copy what you did, would be so cool to have an automatic updater for my Mod.

Also, hows about making BULL create a button on the bottom right of the screen for dotmapping?
 
A dotmapping button won't require SDK work, just a graphic from NikNaks and a functioning PC on my end.

The options key reminder used to be on the first tab of the options screen, but that tab got so full I finally pushed it to the System tab. Honestly, I've told several people after seeing it in their screenshots, and they said they wanted it on so they wouldn't forget! :eek:
 
I don't know to which button you're referring. I was thinking of just using the found city action placed on a normal button. I really need to prioritize the theme-based button work and installer. That would make these buttons a lot easier and prettier!
 
What I think would be the most intuitive is to add a Button which toggles dot mapping information on the bottom right of the screen, with the other grid and stuff toggle options. Click it on, and you can see your dots, click it off, and they go away, just like the grid lines.
 
I'll probably put it on the left to a) separate it from the built-in buttons and b) have another button to toggle edit mode. There are more buttons I need to add, so I'll use the top and bottom left areas for BUG.
 
Back
Top Bottom