Gui, columns J & K...they reference the coordinates of each specific Button in Graphics/Toolbar/Buttons...
I haven’t figured out how to highlight the buttons when the mouse is over the button.
davinci
Toolbar \ Command Map - Question?
- RebBugler
- Reactions:
- Posts: 4252
- Joined: Sun Aug 03, 2008 12:51 am
- Location: Ouachita Mountains, Arkansas
Re: Toolbar \ Command Map - Question?
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
Re: Toolbar \ Command Map - Question?
RebBugler – I placed the keys to Take Command on the Toolbar – basically the buttons have the same function as pressing the 1 & 2 keys, TC on \ off.Gui, columns J & K...they reference the coordinates of each specific Button in Graphics/Toolbar/Buttons...
I had to make another 2Buttons.dds file – which is 96x96 in size, but I haven’t figured out how the coordinates work in relation to that file.
I played around with it for several hours last night, which confused me even more, basically until I understand; I just can’t understand what I’m looking at.
davinci
The only true logic is that, there is no true logic!
- RebBugler
- Reactions:
- Posts: 4252
- Joined: Sun Aug 03, 2008 12:51 am
- Location: Ouachita Mountains, Arkansas
Re: Toolbar \ Command Map - Question?
In the gui, button assignments are referenced by columns H - O that call up buttons, each numbered, beginning with 0, from the upper left corner of the 'buttons' graphic, e.g., the upper left corner button, wheel left, is numbered 0 across, 0 down, ...or, 0,0. The highlighted button is 0 across, 2 down, ...or, 0,2 (columns J, K).
Clear as Mud?
Clear as Mud?
Last edited by RebBugler on Mon Mar 28, 2011 8:49 pm, edited 1 time in total.
Reason: added more info
Reason: added more info
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
Re: Toolbar \ Command Map - Question?
RebBugler – OK, I got it to work, well somewhat, but I’m not sure why it is working; I still can’t see the logic in the buttons, and the coordinates.
GUI_LVL5_Inf,GFX_BS_2Buttons,624,682,,SFX_UI_Map,,0,0,0,1,0,0,0,0,0,0,0,0,loadscreen:CommandMap,,Command_Map
GUI_LVL5_Inf,GFX_BS_2Buttons,652,682,,SFX_UI_Messenger,,1,0,1,1,1,0,1,0,0,0,0,0,Atcommon,,TC On
GUI_LVL5_Inf,GFX_BS_2Buttons,680,682,,SFX_UI_Sword,,2,0,2,1,2,0,2,0,0,0,0,0,Atcommoff,,TC Off
If the mouse is over the buttons, they will turn from grey to blue – but once the button is pressed they will go back to grey, basically they will not stay highlighted!
Not that that is a major problem, but I would like the buttons to work correctly, instead of just work, did that make any sense?
Question – why are the default buttons listed as having 19 Angles \ 19 Frames , this is sort of adding to my confusion?
davinci
GUI_LVL5_Inf,GFX_BS_2Buttons,624,682,,SFX_UI_Map,,0,0,0,1,0,0,0,0,0,0,0,0,loadscreen:CommandMap,,Command_Map
GUI_LVL5_Inf,GFX_BS_2Buttons,652,682,,SFX_UI_Messenger,,1,0,1,1,1,0,1,0,0,0,0,0,Atcommon,,TC On
GUI_LVL5_Inf,GFX_BS_2Buttons,680,682,,SFX_UI_Sword,,2,0,2,1,2,0,2,0,0,0,0,0,Atcommoff,,TC Off
If the mouse is over the buttons, they will turn from grey to blue – but once the button is pressed they will go back to grey, basically they will not stay highlighted!
Not that that is a major problem, but I would like the buttons to work correctly, instead of just work, did that make any sense?
Question – why are the default buttons listed as having 19 Angles \ 19 Frames , this is sort of adding to my confusion?
davinci
The only true logic is that, there is no true logic!
- RebBugler
- Reactions:
- Posts: 4252
- Joined: Sun Aug 03, 2008 12:51 am
- Location: Ouachita Mountains, Arkansas
Re: Toolbar \ Command Map - Question?
That kinda confuses me too, but has nothing to do with adding commands to the toolbar or changing buttons...so blow it off...you over-complicate things sometimes D :woohoo:Question – why are the default buttons listed as having 19 Angles \ 19 Frames , this is sort of adding to my confusion?
davinci
And then again, so do I sometimes...THE MAD-MODDERS SYNDRONE... :woohoo: :side:
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
Re: Toolbar \ Command Map - Question?
Understood , but now I’m going to have to take pencil & paper and go through this character by character, line by line, I got it to work, but I’m not sure why it is working.That kinda confuses me too, but has nothing to do with adding commands to the toolbar or changing buttons...so blow it off...you over-complicate things sometimes D :woohoo:
Hey, it’s just something that keeps me entertained until the next adventure!
Thanks, for your help with this!
davinci
The only true logic is that, there is no true logic!
Re: Toolbar \ Command Map - Question?
Because there is space for 19 buttons. 18 right and 15 down are in use.Question – why are the default buttons listed as having 19 Angles \ 19 Frames , this is sort of adding to my confusion?
Re: Toolbar \ Command Map - Question?
OK, now I understand the concept!Because there is space for 19 buttons. 18 right and 15 down are in use.
After driving down the interstate, it occurred to me that maybe the buttons on that part of the Toolbar can only be one, or two colors, instead of three!
So, if the programming is only allowing one or two colors, well then I spent several hours trying to figure out something that can’t be figured out!
davinci
The only true logic is that, there is no true logic!
Re: Toolbar \ Command Map - Question?
ADukes - how is everything going?
Hey, I have a question that you will probably know the answer to!
GUI
The Y Column controls the Highlight Condition – never scrolled over that far to notice it before.
The line formation use’s the Lvl6_Inf_Line - #formnum< 2
I added a Lvl6_Inf_Line_Fight to the Toolbar – which is the second formation in the drills file.
Question – does this formation have a code, such as #formnum== 2 ?
I have tried out different numbers but none of them seem to work, as of now the button works but the Line button seems to be the one that is highlighted!
Thanks,
davinci
Hey, I have a question that you will probably know the answer to!
GUI
The Y Column controls the Highlight Condition – never scrolled over that far to notice it before.
The line formation use’s the Lvl6_Inf_Line - #formnum< 2
I added a Lvl6_Inf_Line_Fight to the Toolbar – which is the second formation in the drills file.
Question – does this formation have a code, such as #formnum== 2 ?
I have tried out different numbers but none of them seem to work, as of now the button works but the Line button seems to be the one that is highlighted!
Thanks,
davinci
The only true logic is that, there is no true logic!
Re: Toolbar \ Command Map - Question?
#formnum==1