Page 15 of 31

RE: TOAW XML Editor

Posted: Wed May 01, 2019 11:31 pm
by 76mm
ORIGINAL: Zovs
In the unit view would it be possible to show the date after you input s turn number for reinforcement?
In theory, yes. In practice, not sure...I think the coding would be kind of fiddly but nothing too complicated, but I am running out of real estate on the screen. I will put this on the list and take a look.

RE: TOAW XML Editor

Posted: Wed May 01, 2019 11:35 pm
by 76mm
ORIGINAL: Lobster
What is needed is a flow chart.
This is what I was trying to achieve with the "causal chain," which would list event numbers...

My understanding of a flow chart would be the same, but with graphics. This would certainly be much more complicated to code--what exactly do you have in mind, and how would it be better than simply listing events?

RE: TOAW XML Editor

Posted: Thu May 02, 2019 12:05 am
by Lobster
I was referring to what I do to make a chain of events. I make a flow chart. I think that would be beyond the scope of your tool. It would be a huge pain in the butt to code since it's a graphical representation of events and there's already free programs on the net that can be used by people. Sorry, didn't mean that you should make it part of yours.

RE: TOAW XML Editor

Posted: Thu May 02, 2019 12:17 am
by Zovs
Thanks 76mm

RE: TOAW XML Editor

Posted: Thu May 02, 2019 2:47 am
by sPzAbt653
ORIGINAL: 76mm
ORIGINAL: Zovs
In the unit view would it be possible to show the date after you input s turn number for reinforcement?
In theory, yes. In practice, not sure...I think the coding would be kind of fiddly but nothing too complicated, but I am running out of real estate on the screen. I will put this on the list and take a look.
At the bottom of the box, could you put an 'info bar' that would show some stuff when it is moused over? TOAW's editor actually does this in many areas. In a worse case, is there the ability to add mouse-overs for some stuff? I don't particularly like the floating mouse-overs as they tend to cover other stuff on screen and become annoying.

RE: TOAW XML Editor

Posted: Thu May 02, 2019 10:28 am
by 76mm
ORIGINAL: sPzAbt653
At the bottom of the box, could you put an 'info bar' that would show some stuff when it is moused over? TOAW's editor actually does this in many areas.
Definitely possible, although I can't say that I like the info bar approach very much, personally I find the info very easy to overlook. But let me know what specific you have in mind and I can take a look. The main issue is that I'd like to have a consistent approach to presenting information, rather than tool tips on some forms, info bars on others, etc. But I'm always willing to consider new approaches.
ORIGINAL: sPzAbt653
In a worse case, is there the ability to add mouse-overs for some stuff? I don't particularly like the floating mouse-overs as they tend to cover other stuff on screen and become annoying.
I'd be happy to add mouse-overs for more stuff; you've probably seen that I've added some tooltips for many of the force variables explaining the settings, etc.,. let me know if these pop up too quickly, stay up too long, etc., I should be able to tweak those settings, I think they are on the defaults now, whatever those are...

Let me know specifically what you have in mind--what is obvious it you is probably not so obvious to me...again, willing to consider various approaches although ultimately I want a consistent look/operation.

The main thing is that there is a standard Windows control for something, and there are such standard controls for both info bars and tool tips.

RE: TOAW XML Editor

Posted: Thu May 02, 2019 11:41 am
by Zovs
So this is a very basic idea of how it may look and what I was hoping I could see (the date for when a turn is used):

Image

RE: TOAW XML Editor

Posted: Thu May 02, 2019 11:55 am
by sPzAbt653
although I can't say that I like the info bar approach very much, personally I find the info very easy to overlook.
It's true I know, I just think that an Info Bar is a cleaner look than the floating Tool Tips. As far as what to put there and when, I think it requires use of the program to determine what the user needs to know at first, plus what can be of constant use.
So the thing we see below is that by mousing over 'Turn: 142', we get to see that is March 6th, 1944. We always need that, although TOAW often has too much info [a hangover from the days when computer games were beginning]. It's obviously a Button and we all know we can click it so no need to say that. 'Set Deployment or Mission' is the type of thing that could be helpful to new users.


Image

RE: TOAW XML Editor

Posted: Thu May 02, 2019 11:58 am
by sPzAbt653
Here is the Info Bar from another game. It uses the entire bottom of the screen so has more than you would ever need, but it shows a lot more than can be reasonable for a tool tip. Plus, if you want or need to know something you can glance to the Bar, whereas with a tool tip it becomes annoying over time. Again though, that is my opinion.

Image

RE: TOAW XML Editor

Posted: Thu May 02, 2019 1:24 pm
by Zovs
Steve that approach would also work, i.e. if the select a unit it shows the Entry turn [142]: March 6th, 1944 etc...

RE: TOAW XML Editor

Posted: Thu May 02, 2019 6:02 pm
by Zovs
So after I dump the scenario particulars into XML if I manipulate it in a text editor, when I see things like this I am thinking I can deleted them? Or should I leave them as it makes no impact?

Code: Select all

<PLACE ID="64" loc="38,78" name=" " />

I have a few where I moved text (while in the editor) and or deleted text.

RE: TOAW XML Editor

Posted: Thu May 02, 2019 6:06 pm
by Zovs
Also, I converted this scenario from TOAW III to IV and I am seeing stuff like this:

Code: Select all

NAME="Sturmgeschütz III41" 

Is this normal? Any ideas?

RE: TOAW XML Editor

Posted: Thu May 02, 2019 6:28 pm
by 76mm
ORIGINAL: Zovs
<PLACE ID="64" loc="38,78" name=" " />
Those are place names. I think you can either delete them (in a text editor), leave them, or insert a place name, as you wish.

RE: TOAW XML Editor

Posted: Thu May 02, 2019 6:31 pm
by 76mm
ORIGINAL: Zovs
Also, I converted this scenario from TOAW III to IV and I am seeing stuff like this:

Code: Select all

NAME="Sturmgeschütz III41" 
Is this normal? Any ideas?
Don't know if it is "normal", but it is certainly common. I think something changed with game fonts somewhere along the line, leaving gibberish like that. I would just replace it with what you want.

Similarly, some of the text in older scenarios seems to be made of up invalid XML characters, which would crash TOAWxml, so now upon loading the program tests for these characters and replaces them with a "Z" if it finds them (you'll get a message if this happens). I posted about this a couple pages back in this thread.

RE: TOAW XML Editor

Posted: Thu May 02, 2019 6:46 pm
by Zovs
Ok thanks 76mm (What’s your real name, mine is Don, I think call signs is silly).

Your tool is fantastic, it has greatly increased my productivity, I would have left my designs in the trash bin of history if not for this one tool.

I am a programmer by trade and I know XML. Been using Notepad++, bit going to switch to VSCode.

Man if you can get the event editor in I’ll be set.

RE: TOAW XML Editor

Posted: Thu May 02, 2019 7:40 pm
by sPzAbt653
I think something changed with game fonts somewhere along the line, leaving gibberish like that.
Somebody didn't like the lightening bolt type runes for the SS, so they disabled the use of special characters. That included things like umlauts and the weird looking o's a's and e's, etc. Now when the program opens it replaces all of them with the gibberish.
Somebody may come in and say that the SS runes are illegal, but they aren't. How it's different from typing SS is beyond me. There it is - SS - see if I get arrested ! [:)]

RE: TOAW XML Editor

Posted: Thu May 02, 2019 9:51 pm
by Zovs
Runes and such is not illegal for historical purposes. War games are for historical purposes and therefore it's good to go.

RE: TOAW XML Editor

Posted: Thu May 02, 2019 10:33 pm
by Lobster
ORIGINAL: sPzAbt653
I think something changed with game fonts somewhere along the line, leaving gibberish like that.
Somebody didn't like the lightening bolt type runes for the SS, so they disabled the use of special characters. That included things like umlauts and the weird looking o's a's and e's, etc. Now when the program opens it replaces all of them with the gibberish.
Somebody may come in and say that the SS runes are illegal, but they aren't. How it's different from typing SS is beyond me. There it is - SS - see if I get arrested ! [:)]

Watch out for the black helos. [X(]

RE: TOAW XML Editor

Posted: Thu May 02, 2019 10:46 pm
by 76mm
ORIGINAL: Zovs
Ok thanks 76mm (What’s your real name, mine is Don, I think call signs is silly).
Tom. But don't be offended if I keep calling you Zovs, honestly I can't keep all the names straight, although I'll try my best...
ORIGINAL: Zovs
Your tool is fantastic, it has greatly increased my productivity, I would have left my designs in the trash bin of history if not for this one tool.
Glad you like it...hopefully I'll have time to use it as well once I'm finished creating it!
ORIGINAL: Zovs
I am a programmer by trade and I know XML. Been using Notepad++, bit going to switch to VSCode.
Interesting...you know any C# :-)? Why the move to VSCode? I'm generally pretty happy with Notepad++ but don't know any better...
ORIGINAL: Zovs
Man if you can get the event editor in I’ll be set.
Working on it. Depending on how hard it will be, I might create a functional event editor, then come back and tweak the GUI, or if it looks hard, might tweak the GUI first then come back to it.

RE: TOAW XML Editor

Posted: Thu May 02, 2019 10:59 pm
by Zovs
Thanks Tom!

VSCode is a powerful yet easy to use editor, it has a ton of features and extensions that can be added for just about everything. Plus I have been using it for work for that last four years so I am familiar with it.

Yes, I know the basics of C#, I am essentially a Java programmer by trade. The two languages are somewhat similar.