1) What does this do or alter?
2) Can it be created or modded?
3)I think this has to do with buttons being called up, highlighted while command is happening, TC for instance. But if this isn't it, how can I mod this. Presently only two buttons work, normal and mouse over...I need the action/highlighted one to work as I add new commands to the toolbar.
4) Also, ADukes...I fixed the gfx (updated the pre-release one), and think I have the gui fixed. It was just changing the button call up numbers in the middle of the page for arty ammo types...Right?
#regstate == 1 gui file
- RebBugler
- Reactions:
- Posts: 4252
- Joined: Sun Aug 03, 2008 12:51 am
- Location: Ouachita Mountains, Arkansas
#regstate == 1 gui file
Last edited by RebBugler on Sun May 09, 2010 10:17 am, edited 1 time in total.
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
Re: #regstate == 1
1) The regstate variable stores the movement state of a regiment.
#regstate == 1 -> regiment has stoped
2) No.
4) Check your PMs!
#regstate == 1 -> regiment has stoped
2) No.
4) Check your PMs!
Re: #regstate == 1 gui file
A Blast post from the past!
Reb - Did you find out any information about the regstate command?
I'm trying to add a button on the toolbar - the button is added, and it works, but doesn't show the hi-lighted state like the default buttons.
..........................................
EDIT Post
..........................................
Disregard - I don't think that this command is what I'm looking for!..... From the Manual
#regstate This is the movement state of a regiment. #regstate == 0 means march, #regstate == 1 means stop,
#regstate == 2 means load, #regstate == 3 means ram, #regstate == 4 means shoot, #regstate == 5 means run,
#regstate == 6 means charge, #regstate == 7 means melee, #regstate == 8 means takecover, #regstate == 9 means
Fallback, #regstate == 10 means retreat, #regstate == 11 means advance, #regstate == 12 means routed. [gui.csv]
davinci
Reb - Did you find out any information about the regstate command?
I'm trying to add a button on the toolbar - the button is added, and it works, but doesn't show the hi-lighted state like the default buttons.
..........................................
EDIT Post
..........................................
Disregard - I don't think that this command is what I'm looking for!..... From the Manual
#regstate This is the movement state of a regiment. #regstate == 0 means march, #regstate == 1 means stop,
#regstate == 2 means load, #regstate == 3 means ram, #regstate == 4 means shoot, #regstate == 5 means run,
#regstate == 6 means charge, #regstate == 7 means melee, #regstate == 8 means takecover, #regstate == 9 means
Fallback, #regstate == 10 means retreat, #regstate == 11 means advance, #regstate == 12 means routed. [gui.csv]
davinci
Last edited by Davinci on Mon Jan 26, 2015 6:40 am, edited 1 time in total.
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: #regstate == 1 gui file
Regarding your initial question, Regstate is hardcoded, so new buttons can't be modded to reflect that highlighted (active) state.
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
Re: #regstate == 1 gui file
Hey, True the regstate doesn't seem to be designed for this, but shouldn't a true command work as a substitute?Regarding your initial question, Regstate is hardcoded, so new buttons can't be modded to reflect that highlighted (active) state.
So, what command means or equals true ?
I'm trying everything to bypass the code!
davinci
The only true logic is that, there is no true logic!
Re: #regstate == 1 gui file
Reb ...
I don't know if this will help you out with this since its been four years since you were dealing with this. I have been working on this for the past six-seven hours trying to figure something out.
I was trying t get the F-Key to hi-light on the Toolbar, nothing special since it already shows up as a Status Icon in the toolbar screen.
So, I tied both of them together by having the game draw a ( wooden F-Key ) first, and then when I press the ( F-Key ) the game will draw a ( Blue- F-Key ) over the brown one.
Once, disabled it turns off the ( Blue ) one, and leaves the brown one showing.
I haven't tried it, but maybe a work around is to first assign more Status_Icons , and then have them hi-light the other keys that are added . davinci
I don't know if this will help you out with this since its been four years since you were dealing with this. I have been working on this for the past six-seven hours trying to figure something out.
I was trying t get the F-Key to hi-light on the Toolbar, nothing special since it already shows up as a Status Icon in the toolbar screen.
So, I tied both of them together by having the game draw a ( wooden F-Key ) first, and then when I press the ( F-Key ) the game will draw a ( Blue- F-Key ) over the brown one.
Once, disabled it turns off the ( Blue ) one, and leaves the brown one showing.
I haven't tried it, but maybe a work around is to first assign more Status_Icons , and then have them hi-light the other keys that are added . davinci
- Attachments
-
- tb1_2015-01-26.jpg (57.06 KiB) Viewed 319 times
Last edited by Davinci on Mon Jan 26, 2015 10:49 am, edited 1 time in total.
The only true logic is that, there is no true logic!