Toolbar \ Command Map - Question?

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Toolbar \ Command Map - Question?

Post by Michael Slaunwhite »

Only if it doesn't inconvenience you. I'm always interested in what you make.
Why would it inconvenience me, we all share information with each other on this forum.

I'll try to post it within a hour or two. After constantly reinstalling \ fixing Windows from several virus, I now use the Linux system to browse the Internet. This way I don't have to worry about a virus.

davinci
Thanks Davinci, I'll check back in a bit then. I heard that Linux is pretty much a safe bet. I installed OpenSuse, and Gnome in Vmware, but unfortunately with dialup, and updates being too large downloading anything made it difficult to bring it up to where it would take the place of windows. I do have to say that from what I have heard linux is the way to go.

Cheers Davinci, and thanks.
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Toolbar \ Command Map - Question?

Post 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
The only true logic is that, there is no true logic!
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Toolbar \ Command Map - Question?

Post by Davinci »

I heard that Linux is pretty much a safe bet. I installed OpenSuse, and Gnome in Vmware, but unfortunately with dialup, and updates being too large downloading anything made it difficult.
What I did was to have a guy from Alabama run me off a Copy of Linux on a CD.

Now, the program is designed to run directly from the CD \ Disk – if someone chooses not to have it installed.

But, I have a dual HDD, so I have Windows on one, and I have a partition on the second HDD with Linux installed.

So, if I’m not playing the game , I will usually just load up the Linux to browse around on the internet!

Now, if I do get a virus, which I have heard is near impossible, I can just re-format my Linux partition – and re-install the Linux system without fear of destroying anything on the Microsoft setup!

Basically, I’m pretty sure that there is a way of you acquiring a CD from somewhere on the internet, even if you paid a small fee to have them ship it to you!

It has helped me out of several situations where-as Microsoft has crashed, and I used it to get on-line to research information pertaining to my crash.

davinci
The only true logic is that, there is no true logic!
User avatar
RebBugler
Reactions:
Posts: 4252
Joined: Sun Aug 03, 2008 12:51 am
Location: Ouachita Mountains, Arkansas

Re: Toolbar \ Command Map - Question?

Post by RebBugler »

My latest toolbar (B&Fv06) includes the Command Map...the gui is set up different, but may help explain things.
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Toolbar \ Command Map - Question?

Post by Davinci »

My latest toolbar (B&Fv06) includes the Command Map...the gui is set up different, but may help explain things.
RebBugler – hey, how is everything going with you?

I wish I would have known that, I spent hours trying to figure out where the settings were located that would control those coordinates.

It was only after ADukes responded that I finally realized that I was trying to change the wrong file.

Sometimes I think that modding is an art of spending several hours changing something, only to spend several more hours changing it back to the original settings.

davinci
The only true logic is that, there is no true logic!
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Toolbar \ Command Map - Question?

Post by Michael Slaunwhite »

I heard that Linux is pretty much a safe bet. I installed OpenSuse, and Gnome in Vmware, but unfortunately with dialup, and updates being too large downloading anything made it difficult.
What I did was to have a guy from Alabama run me off a Copy of Linux on a CD.

Now, the program is designed to run directly from the CD \ Disk – if someone chooses not to have it installed.

But, I have a dual HDD, so I have Windows on one, and I have a partition on the second HDD with Linux installed.

So, if I’m not playing the game , I will usually just load up the Linux to browse around on the internet!

Now, if I do get a virus, which I have heard is near impossible, I can just re-format my Linux partition – and re-install the Linux system without fear of destroying anything on the Microsoft setup!

Basically, I’m pretty sure that there is a way of you acquiring a CD from somewhere on the internet, even if you paid a small fee to have them ship it to you!

It has helped me out of several situations where-as Microsoft has crashed, and I used it to get on-line to research information pertaining to my crash.

davinci
Thanks Davinci, I'll get my brother to grab me a copy whenever he gets the chance. Your right having a separate os installed really does help when one os crashes (winxp), or becomes infected so that cleanup can be done with little fuss.

Question: I know that one must have winxp installed first, then vista/Windows 7 next, now this is my question, when, and if I do decide to partition my drive D, and then install Linux in what order should I install Linux? or does that even matter?

Later, and thanks Davinci.
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Toolbar \ Command Map - Question?

Post by Michael Slaunwhite »

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
Hi Davinci.

WOW, I'm going to have to eyeball this one for a bit. I just started looking at the .csv's, and that looks like something I would have to open a manual for (oh no not a manual :huh: ).

If I need help I'll definitely will call out for ya. I don't know how you can understand this stuff davinci, you must have a brain the size of a watermelon. :laugh:

Cheers, and take care.
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Toolbar \ Command Map - Question?

Post by Davinci »

Question: I know that one must have winxp installed first, then vista/Windows 7 next, now this is my question, when, and if I do decide to partition my drive D, and then install Linux in what order should I install Linux? or does that even matter?
I have never heard of having a particular order to install any Operating System, other than the fact that that was the order that they were released!

But, as far as I know, each Windows Operating System should work independent of each other, with the latest one being the best one to have, if you don’t count Windows_Me into that!

A lot of people hate Vista but I have found that as long as you have 3GB of ram, most of the problems are acceptable, but it is very picky pertaining to certain games.

Are you sure that your D-Drive is not used to hold your back-up copy of windows?

Windows Vista \ Windows7 – makes partitioning a section of the HDD pretty simple; I’m not sure exactly how you would do Windows XP.

But, before you do anything, do a Google Search pertaining to your Operating System and I’m sure that you will be pointed in the right direction. There is one fact when it comes to the internet, whatever you are doing, someone else has posted the information on the net.

davinci
The only true logic is that, there is no true logic!
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Toolbar \ Command Map - Question?

Post by Michael Slaunwhite »

Question: I know that one must have winxp installed first, then vista/Windows 7 next, now this is my question, when, and if I do decide to partition my drive D, and then install Linux in what order should I install Linux? or does that even matter?
I have never heard of having a particular order to install any Operating System, other than the fact that that was the order that they were released!

But, as far as I know, each Windows Operating System should work independent of each other, with the latest one being the best one to have, if you don’t count Windows_Me into that!

A lot of people hate Vista but I have found that as long as you have 3GB of ram, most of the problems are acceptable, but it is very picky pertaining to certain games.

Are you sure that your D-Drive is not used to hold your back-up copy of windows?

Windows Vista \ Windows7 – makes partitioning a section of the HDD pretty simple; I’m not sure exactly how you would do Windows XP.

But, before you do anything, do a Google Search pertaining to your Operating System and I’m sure that you will be pointed in the right direction. There is one fact when it comes to the internet, whatever you are doing, someone else has posted the information on the net.

davinci
Hi Davinci.

Your right they usually are installed in order of release. The way I understand it is that if I had windows 7 installed, and then decided to install windows xp (separate HD, or partition), windows xp would be installed as primary, and wiping out windows 7 from the boot record. Now with that said though there is software which will scan all of your hardrives, and collect, and add all os's even though the boot record is corrupted or overwritten.

(I actually tried it by installing windows xp, then installing windows 98se, and got away with it :woohoo: )

um, no my D drive isn't used as a backup, I have windows XP (primary) installed on drive C:, and Windows 7 installed on my drive D:.

You are definitely right, people hate that pile of poo (Vista) including myself. I tossed that when I got my hands on Windows 7 RC1.

Cheers Davinci!
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Toolbar \ Command Map - Question?

Post by Davinci »

I added a separate button to bring up the Command Map and the Toolbar can also be used to Take Command On \ Off - of all of the regiments under the brigade leader.

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

davinci
Last edited by Davinci on Sun Apr 03, 2011 1:07 am, edited 1 time in total.
The only true logic is that, there is no true logic!
Post Reply