Latest topics
» Kriegsspiel: A Bridge Too Far (AAR)by Martin Yesterday at 6:31 pm
» targeting artillery targets
by Saucier Tue Oct 29, 2024 12:15 am
» Grog can't make it
by Grog Fri Sep 13, 2024 5:59 pm
» Toggle vegetation = true not working
by popeadrian Fri Aug 30, 2024 11:43 pm
» 1862 Kriegsspiel manual by Von Tschiscwitz
by modron Thu Aug 29, 2024 8:23 pm
» SOW Scenario Generator
by popeadrian Sun Aug 25, 2024 5:39 pm
» Guide to map making?
by popeadrian Wed Aug 14, 2024 1:44 am
» SOWWL Artillery batteries
by Uncle Billy Thu Jul 11, 2024 3:15 pm
» Set Up for SOWWL NAPOLEON GAMES For Kriegspiel style
by Uncle Billy Tue Jul 09, 2024 10:35 pm
» The New SOWWL Is Now Available On Steam
by Grog Mon Jul 08, 2024 8:14 pm
» Boxed KS set Wallington NT near Morpeth
by Martin Sat Jun 08, 2024 3:50 pm
» Help Request-Artillery Behavior
by Dutch101 Mon May 27, 2024 4:08 pm
Statistics
We have 1599 registered usersThe newest registered user is ShermanStan
Our users have posted a total of 30539 messages in 2305 subjects
Log in
How do I restore the objective timer?
3 posters
Page 1 of 1
How do I restore the objective timer?
I'm guessing it's something in toolbar.layout?
parmenio- Posts : 52
Join date : 2015-12-22
Re: How do I restore the objective timer?
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.
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.
Uncle Billy- Posts : 4611
Join date : 2012-02-27
Location : western Colorado
Re: How do I restore the objective timer?
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 : 52
Join date : 2015-12-22
Re: How do I restore the objective timer?
Does it show up at the appropriate times?
Uncle Billy- Posts : 4611
Join date : 2012-02-27
Location : western Colorado
Re: How do I restore the objective timer?
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
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.
.... 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
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.
parmenio- Posts : 52
Join date : 2015-12-22
Re: How do I restore the objective timer?
The use of MyGui was probably the very worst decision NSD made for this game. The system used in SOWGB was far, far superior.
Uncle Billy- Posts : 4611
Join date : 2012-02-27
Location : western Colorado
Re: How do I restore the objective timer?
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.
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 : 52
Join date : 2015-12-22
Re: How do I restore the objective timer?
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.
Uncle Billy- Posts : 4611
Join date : 2012-02-27
Location : western Colorado
Re: How do I restore the objective timer?
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?
Is it possible to chat with one of Norb's people and see if that code could be acquired from the GB game?
Mr. Digby- Posts : 5769
Join date : 2012-02-14
Age : 65
Location : UK Midlands
Re: How do I restore the objective timer?
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.
Uncle Billy- Posts : 4611
Join date : 2012-02-27
Location : western Colorado
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum