Page 3 of 4

Re: Toolbar \ Command Map - Question?

Posted: Mon Mar 28, 2011 7:29 pm
by RebBugler

I haven’t figured out how to highlight the buttons when the mouse is over the button.

davinci
Gui, columns J & K...they reference the coordinates of each specific Button in Graphics/Toolbar/Buttons...

Re: Toolbar \ Command Map - Question?

Posted: Mon Mar 28, 2011 7:51 pm
by Davinci
Gui, columns J & K...they reference the coordinates of each specific Button in Graphics/Toolbar/Buttons...
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.

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

Re: Toolbar \ Command Map - Question?

Posted: Mon Mar 28, 2011 8:41 pm
by RebBugler
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?

Re: Toolbar \ Command Map - Question?

Posted: Mon Mar 28, 2011 9:05 pm
by Davinci
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

Re: Toolbar \ Command Map - Question?

Posted: Tue Mar 29, 2011 12:46 am
by RebBugler
Question – why are the default buttons listed as having 19 Angles \ 19 Frames , this is sort of adding to my confusion?

davinci
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:

And then again, so do I sometimes...THE MAD-MODDERS SYNDRONE... :woohoo: :side:

Re: Toolbar \ Command Map - Question?

Posted: Tue Mar 29, 2011 1:29 am
by Davinci
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:
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.

Hey, it’s just something that keeps me entertained until the next adventure!

Thanks, for your help with this!

davinci

Re: Toolbar \ Command Map - Question?

Posted: Tue Mar 29, 2011 6:16 pm
by ADukes
Question – why are the default buttons listed as having 19 Angles \ 19 Frames , this is sort of adding to my confusion?
Because there is space for 19 buttons. 18 right and 15 down are in use.

Re: Toolbar \ Command Map - Question?

Posted: Wed Mar 30, 2011 4:55 am
by Davinci
Because there is space for 19 buttons. 18 right and 15 down are in use.
OK, now I understand the concept!

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

Re: Toolbar \ Command Map - Question?

Posted: Sat Apr 02, 2011 10:31 pm
by Davinci
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

Re: Toolbar \ Command Map - Question?

Posted: Sat Apr 02, 2011 11:52 pm
by ADukes
#formnum==1