supafly
06-25-2007, 05:09 AM
Hi all,
I've seen this basically asked in another thread just below this but no-ones given an answer,
I want to disable the skirmish menu in Zero hour, what INI file should i change and what changes should i make to it,
I don't even mind if there's a huge gap between buttons, as long as the skirmish menu is disabled.
If anyone can post a link or if they have an INI file like that, that'd be great.
thanks, supafly
Me Myself & Pi
06-25-2007, 11:00 AM
Interesting requestion. But when I was tickering with my mod in the other thread, I believe I figured out how to do this. Though you'll have to modify more then just the INI file.
1) Go to the "WindowZH.big" file & extract it the "Window\Menus\MainMenu.wnd".
2) In the SaveAs window, create a folder called "Window" in the game directory.
3) Go into that folder & create another one called "Menus".
4) Save the file there.
5) Open it up in Notepad.
6) Use the "Find" program, (press ctrl+F to bring it up.) Type in it "Skirmish" & click on "Find Next"
7) Now scroll up untill you see "CHILD" Now highlight that & everything down to "END" & delete it. This is what you need to delete:
CHILD
WINDOW
WINDOWTYPE = PUSHBUTTON;
SCREENRECT = UPPERLEFT: 540 276,
BOTTOMRIGHT: 748 312,
CREATIONRESOLUTION: 800 600;
NAME = "MainMenu.wnd:ButtonSkirmish";
STATUS = ENABLED+IMAGE;
STYLE = PUSHBUTTON+MOUSETRACK;
SYSTEMCALLBACK = "[None]";
INPUTCALLBACK = "[None]";
TOOLTIPCALLBACK = "[None]";
DRAWCALLBACK = "[None]";
FONT = NAME: "Generals", SIZE: 15, BOLD: 0;
HEADERTEMPLATE = "MainButton";
TOOLTIPTEXT = "GUI:SkirmishLower";
TOOLTIPDELAY = -1;
TEXT = "GUI:Skirmish";
TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
DISABLED: 62 64 92 255, DISABLEDBORDER: 31 32 47 255,
HILITE: 186 255 12 255, HILITEBORDER: 0 2 0 255;
ENABLEDDRAWDATA = IMAGE: Buttons-Left, COLOR: 255 0 0 255, BORDERCOLOR: 255 128 128 255,
IMAGE: NoImage, COLOR: 47 55 168 255, BORDERCOLOR: 254 254 254 255,
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: Buttons-Middle, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: Buttons-Right, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
DISABLEDDRAWDATA = IMAGE: Buttons-Disabled-Left, COLOR: 128 128 128 255, BORDERCOLOR: 192 192 192 255,
IMAGE: NoImage, COLOR: 192 192 192 255, BORDERCOLOR: 128 128 128 255,
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: Buttons-Disabled-Middle, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: Buttons-Disabled-Right, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
HILITEDRAWDATA = IMAGE: Buttons-HiLite-Left, COLOR: 209 253 4 255, BORDERCOLOR: 59 60 52 255,
IMAGE: Buttons-Pushed-Left, COLOR: 47 55 168 255, BORDERCOLOR: 254 254 254 255,
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: Buttons-Pushed-Middle, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: Buttons-Pushed-Right, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: Buttons-HiLite-Middle, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: Buttons-HiLite-Right, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
END
8) Now save the file.
9) Go to the "INIZH.big" & extract the "Data\INI\WindowTransitions".
10) In the SaveAs window, go to the "Data" folder of your game directory
11) In it, you should see a folder called "INI" if you don't, then create one with that name.
12) Save the file in that folder.
13) Open up the INI
14) Open up the "Find" program & type in it "Skirmish" & click on find.
15) Delete the paragraph that you found "Skirmish" in.
16) repeat steps 14 & 15 three more times, so that you delete up to four paragraphs. If you Find another "Skirmish" it should be in this line "WindowTransition MainMenuSinglePlayerMenuBackSkirmish" That's were you need to stop.
17) Save the file.
Now the "Skirmish" button won't show up. If the game crashes at all, then repeat all the steps over again. If you do, make sure that when extracting the files, that you save them over the ones you already extracted.
supafly
06-25-2007, 03:20 PM
Wow thanks for fast reply, Thankyou
vBulletin® v3.8.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.