Old_Message_Mod

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.
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Old_Message_Mod

Post by Davinci »

As of now we have been concentrating on one file, but I doubt that this file is the answer to the mystery.

You are a programmer, correct?

You remember way back in the days of basic programming there were two commands that worked together, the Inkey$, and the GetKey$, if I remember that right. It’s been twenty-eight-years-ago, since I seen any of those commands.

Basically, using those two commands and some pre-defined CHR$ variables, the game would only look for those pre-defined variables. This created a sort of loop.

Sort of what the Games Sub Screens – are doing now, you are trapped in a sub-menu that only accepts predefined codes, such as…up, down, close.

I noticed this when I changed around the COMMANDS \ togglehud – the game would still accept the command as valid, and turn off the toolbar even if I changed the positions of them.

With all of that said – when the program ( sub-menu ) is closed – the game is directed back to another location – it is at that location that the toolbar has to be reactivated.

The problem here is that if all of the ( sub-menu’s ) are directed back to this same location – this will not work!

I played around with this last night, and after playing and clicking the hud button, and then clicking the close button, it is sort of awkward, but its do-able.

I’m sorry but I’m really not seeing how clicking twice harms the game flow of this game, when clicking eight times is required when changing the facing of a unit. There is absolutely nothing about this game that doesn’t require clicking the mouse.

I’m going to concentrate on re-doing the courier screen – just to see if I can get all of the commands on one screen; this would speed up the courier process, without the hassle of being directed to multiple menus.

Hey – playing on your mod – you might consider using these coordinates.

718,604 exit
770,606 hud
681,4 up
681,624 down

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

Post by Davinci »

And this is why I'm out of this one. It must fit within the design parameters, or it just appears like sloppy work. One click to close maintains the design flow.
WOW , and now we have a Mod policeman, Really!.

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

Post by Davinci »

born2see - try out this file - let me know if it works.

This will over-write your previous gscreens file - so make a backup copy before experimenting with this one.

If this works - the hud button is no longer needed.

davinci
Attachments
gscreens.rar
(413 Bytes) Not downloaded yet
The only true logic is that, there is no true logic!
User avatar
RebBugler
Reactions:
Posts: 4256
Joined: Sun Aug 03, 2008 12:51 am
Location: Ouachita Mountains, Arkansas

Re: Old_Message_Mod

Post by RebBugler »

And this is why I'm out of this one. It must fit within the design parameters, or it just appears like sloppy work. One click to close maintains the design flow.
WOW , and now we have a Mod policeman, Really!.

davinci
Yikes, not that. It's just that this is a good idea, and if perfected could be ushered into the game. The toolbar is a distraction when the message comes up, sometimes I even will hit a button with the message still up. The message should stand alone, without a dead toolbar staring at you. Please continue your quest, I'll shut up, because I've tried, and can't fix this so.
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
born2see
Reactions:
Posts: 1326
Joined: Fri Apr 22, 2011 9:25 am

Re: Old_Message_Mod

Post by born2see »

Davinci wrote:
born2see - try out this file - let me know if it works.
No cigar. I tried a different approach bit with similar results. I increased the message graphic to the same size as the message screen, which is what I think you did in another way by changing that size to 0,0.

If I understand this correctly, the new strategy is to get a full screen Message Screen to eliminate the Toolbar issue. I'll spend sometime on it today to see if I can come up with anything. Although my real goal is to win "On to the Round Tops". it's a tough SOB.

PS: Keep up the good work on the Map Zoom.
Attachments
FullScreen.jpg
FullScreen.jpg (228.04 KiB) Viewed 513 times
Last edited by born2see on Fri Jul 15, 2011 9:19 pm, edited 1 time in total.
"Those in whose judgment I rely, tell me that I fought the battle splendidly and that it was a masterpiece of art.” - George McClellan to his wife describing the battle of Antietam
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Old_Message_Mod

Post by Davinci »

The toolbar is a distraction when the message comes up, sometimes I even will hit a button with the message still up. The message should stand alone, without a dead toolbar staring at you. Please continue your quest, I'll shut up, because I've tried, and can't fix this so.
RebBugler – Please, no matter how many jabs we throw at each other, you are still good in my book!
I increased the message graphic to the same size as the message screen, which is what I think you did in another way by changing that size to 0,0.
Huh – no try it with the same size that you have been playing with. Once we get this to working, then we can experiment.
If I understand this correctly, the new strategy is to get a full screen Message Screen to eliminate the Toolbar issue. [/b].
This is the answer to the mystery, check the picture below.

I don’t understand how your message became distorted by adding 0,0
..........................................
..........................................
EDIT Post:

Hey, your last picture doesn't look like the newer one, but the older one?

davinci
Attachments
blackscreen1.jpg
blackscreen1.jpg (108.92 KiB) Viewed 513 times
Last edited by Davinci on Sat Jul 16, 2011 4:26 am, edited 1 time in total.
The only true logic is that, there is no true logic!
born2see
Reactions:
Posts: 1326
Joined: Fri Apr 22, 2011 9:25 am

Re: Old_Message_Mod

Post by born2see »

Davinci wrote:
Hey, your last picture doesn't look like the newer one, but the older one?
You were absolutely right. Wrong file. Works great!! Only need one button. You ought to get some sort of design award graphic next to your name for figuring that one out.

Now if you could add some sort of background instead of black... I learned that from mikesla. Keep those ideas flowing. :laugh:
Attachments
FullScreen_2011-07-16.jpg
FullScreen_2011-07-16.jpg (137.11 KiB) Viewed 513 times
"Those in whose judgment I rely, tell me that I fought the battle splendidly and that it was a masterpiece of art.” - George McClellan to his wife describing the battle of Antietam
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Old_Message_Mod

Post by Davinci »

You were absolutely right. Wrong file. Works great!! Only need one button. You ought to get some sort of design award graphic next to your name for figuring that one out.
Good, problem solved! - I was really wondering why that didn't work for you.

You can try to experiment with those two zeros, but I think that the code is telling the game to use a completely black background.....0 - is the color black.
Now if you could add some sort of background instead of black..
That might not be possible, but there is always something about this game that we don't know about.

davinci
The only true logic is that, there is no true logic!
born2see
Reactions:
Posts: 1326
Joined: Fri Apr 22, 2011 9:25 am

Re: Old_Message_Mod

Post by born2see »

Davinci wrote:
You can try to experiment with those two zeros, but I think that the code is telling the game to use a completely black background.....0 - is the color black.
Wrong, my son.. Here is a real quick demonstration of a custom background. I'm not creative enough to come up with something that looks good but I'll steal one from the game and fill in the blank spot. I'm almost certain that can be done using layers. I just pasted one image on top of the other.
Attachments
CustomBackground.jpg
CustomBackground.jpg (173.41 KiB) Viewed 513 times
"Those in whose judgment I rely, tell me that I fought the battle splendidly and that it was a masterpiece of art.” - George McClellan to his wife describing the battle of Antietam
born2see
Reactions:
Posts: 1326
Joined: Fri Apr 22, 2011 9:25 am

Re: Old_Message_Mod

Post by born2see »

Here is a bad example of the message superimposed over an old picture of Little Round Top. This is my final effort. I leave it to someone who has some real skills to continue this if they're interested.

Back to "On to the Round Tops"...
Attachments
lrt.jpg
lrt.jpg (238.91 KiB) Viewed 513 times
Last edited by born2see on Sat Jul 16, 2011 11:25 pm, edited 1 time in total.
"Those in whose judgment I rely, tell me that I fought the battle splendidly and that it was a masterpiece of art.” - George McClellan to his wife describing the battle of Antietam
Post Reply