Latest topics
» TableTop Simulator
by zu Pferd Yesterday at 11:07 pm

» Impromptu Games
by Charmead Yesterday at 6:38 pm

» SOW Scenario Generator
by Mr. Digby Yesterday at 6:13 pm

» Three more Lace Wars Maps
by Mongo Sat Sep 07, 2019 6:41 pm

» Battle Results
by Mr. Digby Sun Aug 25, 2019 10:57 am

» Army level rules?
by lederhosen Tue Aug 20, 2019 3:14 pm

» Fascinating documentary on Lee’s retreat from Gettysburg
by Martin Tue Aug 20, 2019 2:41 pm

» Guten Tag from Trier, Germany
by Martin Tue Aug 20, 2019 11:20 am

» 20th October 2019 face to face game at Little Gaddesdon
by Martin Sat Aug 17, 2019 11:34 am

» New to SOWW and to KS mod. Few questions as well
by Uncle Billy Thu Aug 08, 2019 10:09 pm

» 22nd September face to face game at LG. WW1 Naval
by gunboat diplomat Fri Jul 26, 2019 2:24 pm

» KS Napoleon Mod 1.31 & Supplemental Maps 1.21 Released
by risorgimento59 Thu Jul 25, 2019 7:47 pm

Statistics
We have 1062 registered users
The newest registered user is KingPfaff6

Our users have posted a total of 26384 messages in 2067 subjects
Log in

I forgot my password


How do I restore the objective timer?

Go down

How do I restore the objective timer? Empty How do I restore the objective timer?

Post  parmenio on Sun Apr 14, 2019 5:46 pm

I'm guessing it's something in toolbar.layout?

parmenio

Posts : 30
Join date : 2015-12-22

Back to top Go down

How do I restore the objective timer? Empty Re: How do I restore the objective timer?

Post  Uncle Billy on Sun Apr 14, 2019 6:16 pm

I don't believe the objective timer code is in the KS toolbar. Since we don't use objectives for accumulating points in our games, showing a timer wasn't necessary. You'd have to add code to the layout to have one. You could copy and maybe modify the language in the stock toolbar or even the Grog toolbar and put it in the KS toolbar.

One of the more unrealistic parts of the stock scenarios was the way they utilized objectives. No battle was ever fought where spending a certain amount of time on a certain spot was necessary for victory or defeat. If you really want to modify the stock scenarios so they not only work with the KS mod but also reflect it's overall philosophy, then changing this feature would be an important improvement.

_________________
I can make this march and I will make Georgia howl.
Uncle Billy
Uncle Billy

Posts : 3542
Join date : 2012-02-27
Location : western Colorado

Back to top Go down

How do I restore the objective timer? Empty Re: How do I restore the objective timer?

Post  parmenio on Mon Apr 15, 2019 12:31 pm

It turns out it is in the toolbar layout file - right at the top:

Code:
<Widget type="EditBox" skin="WordWrapEmpty" position_real="0.395508 0.147651 0.117188 0.14094" name="eTime">
 <Property key="FontName" value="Default"/>
 <Property key="WordWrap" value="true"/>
 <Property key="Static" value="true"/>
 <Property key="ReadOnly" value="true"/>
 <Property key="VisibleHScroll" value="false"/>
 <Property key="VisibleVScroll" value="false"/>
 <Property key="MultiLine" value="true"/>
 <Property key="TextAlign" value="Center"/>
 <Property key="TextColour" value="0.871345 0.208919 0.208919"/>
 <Property key="FontName" value="JacquesFrancois_12"/>
 <UserString key="NSDDrawCond" value="#rank < 5"/>
 <UserString key="NSDUpdate" value="1"/>
 <UserString key="OnEdit" value="$objtimer"/>
 <UserString key="NSDBarVal" value="Friend"/>
 </Widget>


parmenio

Posts : 30
Join date : 2015-12-22

Back to top Go down

How do I restore the objective timer? Empty Re: How do I restore the objective timer?

Post  Uncle Billy on Mon Apr 15, 2019 3:47 pm

Does it show up at the appropriate times?

_________________
I can make this march and I will make Georgia howl.
Uncle Billy
Uncle Billy

Posts : 3542
Join date : 2012-02-27
Location : western Colorado

Back to top Go down

How do I restore the objective timer? Empty Re: How do I restore the objective timer?

Post  parmenio on Mon Apr 15, 2019 5:06 pm

Not with the MyGui widget that was in there originally. I've since commented that one out and copied the one from the Grog toolbar (with some amendments). I'm attempting to show it at the top of the screen but.....

.... it turns out you have to a bit careful with the order in which things are declared in a layout file as I managed to end up with no mouse-clicks being operational on any UI elements at all Shocked

I fixed that just before leaving for work this AM but currently, the "X" buttons don't work on two map displays so I need to constrain to the top right of the screen - the control's parent window was covering the entire width so was probably blocking access to the "X" buttons.

I'm thoroughly unimpressed with the available documentation on MyGUI - some google translated documents in the SDK.
Seems you have to suck it and see. Crying or Very sad

parmenio

Posts : 30
Join date : 2015-12-22

Back to top Go down

How do I restore the objective timer? Empty Re: How do I restore the objective timer?

Post  Uncle Billy on Mon Apr 15, 2019 5:11 pm

The use of MyGui was probably the very worst decision NSD made for this game. The system used in SOWGB was far, far superior.

_________________
I can make this march and I will make Georgia howl.
Uncle Billy
Uncle Billy

Posts : 3542
Join date : 2012-02-27
Location : western Colorado

Back to top Go down

How do I restore the objective timer? Empty Re: How do I restore the objective timer?

Post  parmenio on Tue Apr 16, 2019 10:03 am

You're not wrong. One of the things that annoys me is the inability to interact with the Command Map for Courier purposes... as well as the fact that it still hasn't been fixed.

Can it be that hard? As far as I'm aware, the entire source for MyGui is on Github. If the vanilla version won't do it for you, change it.

parmenio

Posts : 30
Join date : 2015-12-22

Back to top Go down

How do I restore the objective timer? Empty Re: How do I restore the objective timer?

Post  Uncle Billy on Tue Apr 16, 2019 2:47 pm

It's not the display of the command map that's a problem. The code to recognize that a spot on the map was clicked and those coordinates need to be transferred to the courier system apparently doesn't exist in the game engine anymore.

_________________
I can make this march and I will make Georgia howl.
Uncle Billy
Uncle Billy

Posts : 3542
Join date : 2012-02-27
Location : western Colorado

Back to top Go down

How do I restore the objective timer? Empty Re: How do I restore the objective timer?

Post  Mr. Digby on Wed Apr 17, 2019 10:16 am

Oh? So SOW-GB had that facility but not Waterloo?

Is it possible to chat with one of Norb's people and see if that code could be acquired from the GB game?

_________________
The other Martin - Charles Reille, le dernier Maréchal de France.

"Any hussar who has not got himself killed by the age of 30 is a jackass." - Antoine Charles Louis Lasalle, commander of Napoleon's light cavalry, killed in battle at Wagram 6 July 1809, aged 34.

"I had forgotten there was an objective." - Generallieutenant Mikhail Borozdin I
Mr. Digby
Mr. Digby

Posts : 5232
Join date : 2012-02-14
Age : 60
Location : UK Midlands

Back to top Go down

How do I restore the objective timer? Empty Re: How do I restore the objective timer?

Post  Uncle Billy on Wed Apr 17, 2019 3:34 pm

It's part of the game engine code. When I approached him last, he said he wasn't ready to release the code. I suppose I could ask again, but I'm not optimistic in receiving a different answer.

_________________
I can make this march and I will make Georgia howl.
Uncle Billy
Uncle Billy

Posts : 3542
Join date : 2012-02-27
Location : western Colorado

Back to top Go down

How do I restore the objective timer? Empty Re: How do I restore the objective timer?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum