Re: Toolbar \ Command Map - Question?
Posted: Mon Mar 28, 2011 5:26 am
by Davinci
mikesla – if the only thing that you are planning on doing such as adding a button to the Toolbar to pull up the CommandMap – I think that it is just a single line per toolbar.
This will add it to the Brigade Leaders toolbar.
gui.csv
GUI_LVL5_Inf,GFX_MS_Buttons,624,682,,SFX_UI_Map,,-1,-1,1,0,-1,-1,1,0,0,0,0,0,loadscreen:CommandMap,,Command_Map
If you plan on adding it to the Corps and the Divisional Commanders - it would be like the examples below!
GUI_LVL4_Inf,GFX_MS_Buttons,624,682,,SFX_UI_Map,,-1,-1,1,0,-1,-1,1,0,0,0,0,0,loadscreen:CommandMap,,Command_Map
GUI_LVL3_Inf,GFX_MS_Buttons,624,682,,SFX_UI_Map,,-1,-1,1,0,-1,-1,1,0,0,0,0,0,loadscreen:CommandMap,,Command_Map,
Take note that once you open up the gui file that everything is in a particular order, So, you would scroll down and insert the appropriate line in it’s place.
This is a before shot of the default file settings:
GUI_LVL5_Inf,GFX_MS_Background,418,652,,,,,,,,,,,,,,,,,,
GUI_LVL5_Inf,GFX_MS_Buttons,596,654,,SFX_UI_Click,,-1,-1,0,0,-1,-1,0,0,0,0,0,0,loadscreen:InGameMenu,,Menu
GUI_LVL5_Inf,GFX_MS_Buttons,624,654,,SFX_UI_Map,,-1,-1,1,0,-1,-1,1,0,0,0,0,0,loadscreen:Map,,Map
GUI_LVL5_Inf,GFX_MS_Buttons,652,654,,SFX_UI_Messenger,,-1,-1,2,0,-1,-1,2,0,0,0,0,0,goto,,Go To Me
GUI_LVL5_Inf,GFX_MS_Buttons,680,654,,SFX_UI_Sword,,-1,-1,3,0,-1,-1,3,0,0,0,0,0,loadscreen:OOB:-1,,Order of Battle
This is after the new line is added
GUI_LVL5_Inf,GFX_MS_Background,418,652,,,,,,,,,,,,,,,,,,
GUI_LVL5_Inf,GFX_MS_Buttons,596,654,,SFX_UI_Click,,-1,-1,0,0,-1,-1,0,0,0,0,0,0,loadscreen:InGameMenu,,Menu
GUI_LVL5_Inf,GFX_MS_Buttons,624,654,,SFX_UI_Map,,-1,-1,1,0,-1,-1,1,0,0,0,0,0,loadscreen:Map,,Map
GUI_LVL5_Inf,GFX_MS_Buttons,652,654,,SFX_UI_Messenger,,-1,-1,2,0,-1,-1,2,0,0,0,0,0,goto,,Go To Me
GUI_LVL5_Inf,GFX_MS_Buttons,680,654,,SFX_UI_Sword,,-1,-1,3,0,-1,-1,3,0,0,0,0,0,loadscreen:OOB:-1,,Order of Battle
GUI_LVL5_Inf,GFX_MS_Buttons,624,682,,SFX_UI_Map,,-1,-1,1,0,-1,-1,1,0,0,0,0,0,loadscreen:CommandMap,,Command_Map
Basically, I’m using the settings of the Map \ Button to place an invisible button directly below it. The numbers \ coordinates work by 28 .
So, if the original coordinates are 624,654 and I wanted to go directly below that button, I would add a value of 28 to the second number 654+28=682 . That would be my new coordinates, and I’ll just use the original button to fill in the slot, but it only shows up when the mouse is hovered over it.
The only other thing that I did was to change the size of the maps from 570x570 too 640x640 and then I made the maps transparent due to the fact that I sort of hate when things block the screen.
Post back if you need any help with this.
davinci