Page 19 of 31
RE: TOAW XML Editor
Posted: Tue May 07, 2019 3:22 pm
by Zovs
ORIGINAL: 76mm
ORIGINAL: Zovs
Suggest the dialing app can be double clicked to make bigger and increase the view point.
Sorry, no comprende?
Okay, here is dialog application for another game system. When you launch it its in 'normal' mode like so:
But when you expand it it looks like so:
Notice that all the fields and editable things are now much more larger (more real estate) this is what I was referring to. Why keep it boxed in to that modal dialog?
RE: TOAW XML Editor
Posted: Tue May 07, 2019 3:35 pm
by 76mm
ORIGINAL: Zovs
Notice that all the fields and editable things are now much more larger (more real estate) this is what I was referring to. Why keep it boxed in to that modal dialog?
Ah, now I understand the concept, but which form do you think it would be useful for here? The unit tree, or what?
RE: TOAW XML Editor
Posted: Tue May 07, 2019 4:06 pm
by larryfulkerson
Here's the Scenario editor for WITP-AE

RE: TOAW XML Editor
Posted: Tue May 07, 2019 4:15 pm
by Zovs
That is also a good one Larry!
Personally I was thinking both but your call. I was trying to expand things in the main editor but I think it may be more useful on the add new unit one.
RE: TOAW XML Editor
Posted: Tue May 07, 2019 5:15 pm
by 76mm
Well, rather than expanding I could also just make the whole form bigger; I tried to keep it smallish so that people could use it on laptops, but how much real estate do I have to play with?
I also dread messing around with scaling and fonts but could probably figure it out sooner or later.
RE: TOAW XML Editor
Posted: Tue May 07, 2019 5:37 pm
by Zovs
I am guessing 800x600 at a minimum should be doable. Most laptops are at least 1024x768 I believe.
RE: TOAW XML Editor
Posted: Tue May 07, 2019 11:16 pm
by larryfulkerson
I'm running 1440 by 900 and it's working just fine. Also, I need to report a problem. I'm changing the number of motorcycles just to get the save changes button to enable so I can save my changes. I've read in the GAM file just to get the invalid characters changed to 'Z's and then I intended to save the result but the save changes button wasn't enabled. So I had to change something. So I dropped down the number of motorcycles and when I go to save my changes it reports an error and for the life of me I can't see what it is. I'll attach the GAM file on the next post below.
Also, how about some kind of indication when the changes are saved. I click on the button but nothing seems to happen and I'm left wondering if my changes were written to disk.

RE: TOAW XML Editor
Posted: Tue May 07, 2019 11:17 pm
by larryfulkerson
Here's the GAM file for the above problem.
RE: TOAW XML Editor
Posted: Wed May 08, 2019 12:40 am
by 76mm
Thanks Larry, will take a look!
RE: TOAW XML Editor
Posted: Wed May 08, 2019 8:48 am
by Zovs
Tom,
While your at it, if your in the same screen as Larry is in the editor, it won't allow you to add 0 Number. It wants at least a 1. If you could correct that, that would be great. This would all a user in this screen to set the max to 16 and the number (on hand) to 0. You can do this in the add equipment by just leaving the number as 0.
RE: TOAW XML Editor
Posted: Wed May 08, 2019 10:03 am
by larryfulkerson
And while you're at it....how about allowing overstuffed units that have more equipment than is allowed for balancing purposes. Say the unit has 50 light rifle squads but is authorized only 10. I've seen scenario designers do that.
RE: TOAW XML Editor
Posted: Wed May 08, 2019 10:11 am
by 76mm
ORIGINAL: Zovs
While your at it, if your in the same screen as Larry is in the editor, it won't allow you to add 0 Number. It wants at least a 1. If you could correct that, that would be great. This would all a user in this screen to set the max to 16 and the number (on hand) to 0. You can do this in the add equipment by just leaving the number as 0.
That should be easy.
RE: TOAW XML Editor
Posted: Wed May 08, 2019 10:13 am
by 76mm
ORIGINAL: larryfulkerson
And while you're at it....how about allowing overstuffed units that have more equipment than is allowed for balancing purposes. Say the unit has 50 light rifle squads but is authorized only 10. I've seen scenario designers do that.
I don't have any principled objection, but I don't get the point of doing that? And are you sure it won't break something in a scenario? Just because some scenarios do it doesn't necessarily mean it is a good idea...
RE: TOAW XML Editor
Posted: Wed May 08, 2019 10:46 am
by 76mm
Hey Larry, a couple of things:
ORIGINAL: larryfulkerson
So I dropped down the number of motorcycles and when I go to save my changes it reports an error and for the life of me I can't see what it is.
First, unfortunately, I couldn't replicate this using your gam or either of a couple of other files I tried. Frankly not sure what could have caused this; but see next point.
ORIGINAL: larryfulkerson
I'm changing the number of motorcycles just to get the save changes button to enable so I can save my changes.
I'll be changing this button activation stuff in the next version, which should only be a few days out. I found both this button activation scheme and the one in the Add New Equipment form very clunky, so want to change. Hopefully these changes will eliminate whatever bug you encountered. But before changing I'd like to confirm whether I can allow the "Current Quantity" to exceed the "Max Quantity", because most of the complications arise from the need to check these quantities.
ORIGINAL: larryfulkerson
I've read in the GAM file just to get the invalid characters changed to 'Z's and then I intended to save the result but the save changes button wasn't enabled.
For future reference, you don't need to save the fix for invalid XML characters, it is saved automatically. Also the invalid characters are now replaced with a "$" rather than a "Z".
ORIGINAL: larryfulkerson
Also, how about some kind of indication when the changes are saved. I click on the button but nothing seems to happen and I'm left wondering if my changes were written to disk.
I put this on the list, this could be a good candidate for data for the status bar which Steve requested.
RE: TOAW XML Editor
Posted: Wed May 08, 2019 10:57 am
by sPzAbt653
ORIGINAL: 76mm
ORIGINAL: larryfulkerson
And while you're at it....how about allowing overstuffed units that have more equipment than is allowed for balancing purposes. Say the unit has 50 light rifle squads but is authorized only 10. I've seen scenario designers do that.
I don't have any principled objection, but I don't get the point of doing that? And are you sure it won't break something in a scenario? Just because some scenarios do it doesn't necessarily mean it is a good idea...
It's actually a necessary feature, because often units have more of something than authorized for a reason. For one example, a Panzer unit that starts a scenario with 79 Pz IV's but is authorized only 48, because during the scenario the unit will receive some new Panthers to replace the difference [and we don't want the unit retaining all 79 IV's because then it would be 'overstuffed'].
RE: TOAW XML Editor
Posted: Wed May 08, 2019 11:00 am
by sPzAbt653
ORIGINAL: larryfulkerson
So I dropped down the number of motorcycles and when I go to save my changes it reports an error and for the life of me I can't see what it is.
First, unfortunately, I couldn't replicate this using your gam or either of a couple of other files I tried. Frankly not sure what could have caused this; but see next point.
I also get the little Error Icon whenever I change either of those [Number or Max]. And it doesn't tell me what the error is, lol [:@]
RE: TOAW XML Editor
Posted: Wed May 08, 2019 11:02 am
by 76mm
ORIGINAL: sPzAbt653
It's actually a necessary feature, because often units have more of something than authorized for a reason. For one example, a Panzer unit that starts a scenario with 79 Pz IV's but is authorized only 48, because during the scenario the unit will receive some new Panthers to replace the difference [and we don't want the unit retaining all 79 IV's because then it would be 'overstuffed'].
OK, consider it done, I'll do this in the next version, to be out in a couple of days. Will actually make the code much easier...
RE: TOAW XML Editor
Posted: Wed May 08, 2019 11:05 am
by 76mm
ORIGINAL: sPzAbt653
I also get the little Error Icon whenever I change either of those [Number or Max]. And it doesn't tell me what the error is, lol
Actually it will tell you what the error is if you mouse over it. That error message was intended to only appear if a user input invalid data, such as a letter, negative number, decimals, etc.
So I'm mystified why it appears if you are entering positive whole numbers...I will take another look at the code.
RE: TOAW XML Editor
Posted: Wed May 08, 2019 1:35 pm
by sPzAbt653
Yes there is a mouse over error explanation !
EDIT: We could also have '0' instead of '1' for the Number/On Hand. For an example, Panthers aren't available until 1943, but the scenario starts in 1941, so some units may have 0/48 Panthers and would start filling out when the Panthers begin arriving in 1943.
RE: TOAW XML Editor
Posted: Wed May 08, 2019 1:48 pm
by 76mm
ORIGINAL: sPzAbt653
We could also have '0' instead of '1' for the Number/On Hand.
Yes, Don already asked for it, and in fact, I've already done it. Need to sort out a few more things before I release the next version, maybe as soon as tomorrow.