Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

RE: TOAW XML Editor

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> Mods and Scenarios >> RE: TOAW XML Editor Page: <<   < prev  5 6 [7] 8 9   next >   >>
Login
Message << Older Topic   Newer Topic >>
RE: TOAW XML Editor - 2/3/2019 11:07:43 AM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
Well you and Larry are the ones making the scenarios, so I will take your word for it; I've put this feature on the list, but as mentioned, it is not very close to the top and it will be at least several months before I get to it.

In the meantime, I have some suggestions for the scenarios that you describe:

quote:

ORIGINAL: Lobster
If there are a multitude of border guards and a multitude of armies each with border guards assigned wouldn't it be easier to select a border guard unit from a file and insert it each time you need one rather than try to copy, scroll down 20 armies and the insert it?

Currently, you can copy a unit in one army, and then drag and drop it to another. On my screen, I can see 28 units in the OOB tree (for the D21 scenario) without scrolling at all, and moreover, you can drag and drop from the bottom-most formation with the unit rather than the topmost. If I have to scroll, I can use the scroll bar to scroll from the very top of the D21 OOB to the very bottom in less than a second. To be frank, it is not immediately obvious to me that inserting a unit from a file would be easier than this, but you're the one building scenarios so I'll take your word for it.

quote:

ORIGINAL: Lobster
TOAW does not have Save unit as and Open unit functions just because...Can you imagine having to copy a unit in the force editor, scroll down and then paste then scroll up again and doing it all over again a thousand times or more?

I can see how this would be a useful feature in the TOAW editor, because indeed you would have to scroll up and down again through individual formations. But you don't have to do that in TOAWxml...you can open a formation to see its units, copy the relevant unit, and drag and drop it to another formation, with no scrolling involved at all. Once you've moved the unit to the proper formation, copy it again if you need more of them... The main drawback to the current setup in TOAWxml is that you can't drag and drop to formations which are not shown in the OOB tree (ie, you can't use the scrollbar while dragging-and-dropping), so you might not be able to drag from the top-most formation to the bottom-most (but I'm not sure how often you'd have to do that--if you are inserting a unit 1000 times, you could probably just copy it from the army just above it in the tree...).

quote:

ORIGINAL: Lobster
If you are going to make a tool to make building an OOB easier then you have to make it so building an OOB is easier.

I'm working on it! But in my opinion at this point there are a lot more important functions than this one...

quote:

ORIGINAL: Lobster
BTW, thanks for taking the time you've taken to get as far as you have. Well done.

Thanks!

< Message edited by 76mm -- 2/3/2019 11:13:25 AM >

(in reply to Lobster)
Post #: 181
RE: TOAW XML Editor - 3/25/2019 11:08:45 AM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
Hey guys, I know it's been awhile but I am still working on this. Currently I'm working on dividing/re-merging units, and frankly it has been harder than I expected. I figured out dividing units a while ago, but since then have been distracted by lots of real life stuff and so have been stuck on how to merge units for the last month or so...

I have to go on a trip in the next week or so but when I come back will get things figured out. Sorry for the delay, just wanted to keep you all in the loop.

(in reply to 76mm)
Post #: 182
RE: TOAW XML Editor - 3/26/2019 1:22:44 AM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
Haha, shortly after writing my last post, I sat down at my computer and figured out what had been holding me up. I've posted v1.13 in a link in the first post in this thread.

Here are the main things I've added since version 1.12:
-Dividing and Re-uniting units: Should be much easier than with the in-game editor, where IIRC for some reason you have to re-unite all units before editing an OOB. I don't think that is an issue with TOAWxml, but please play around and let me know what you find. Take a look at the revised manual in the download for more detail.

--Color-coding. I've added color-coding to show divided units, subunits, reinforcments, and locked formations in the Treeview--should make it easier to deal with large numbers of units.

--Max units in Treeview: At Lobster's request, I've updated the Treeview so that it shows not only the current quantity of equipment, but also the max quantity (in brackets).

As usual, I've done limited testing but cannot test against every situation, especially in existing scenarios, so let me know if you encounter any problems, including what error message, which scenario, and what you were doing which triggered the error.

(in reply to 76mm)
Post #: 183
RE: TOAW XML Editor - 3/26/2019 1:31:31 AM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
Screenshot showing the color-coding:




Attachment (1)

< Message edited by 76mm -- 3/26/2019 1:33:00 AM >

(in reply to 76mm)
Post #: 184
RE: TOAW XML Editor - 3/26/2019 1:32:47 AM   
larryfulkerson

 

Posts: 38152
Joined: 4/17/2005
From: Tucson, AZ
Status: online
Brother Tom: I really appreciate your efforts to make this magnificant tool even better. Good on you.

_____________________________

My computer could be more encouraging. You know, instead of "invalid password", why not something like, "Ooooh, you're so close!"?
- Lisa Porter

(in reply to 76mm)
Post #: 185
RE: TOAW XML Editor - 3/26/2019 1:34:47 AM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
Screenshot showing the "Lobster Revision", showing max equipment (in square brackets) for each line item:





Attachment (1)

(in reply to larryfulkerson)
Post #: 186
RE: TOAW XML Editor - 3/26/2019 1:36:55 AM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
quote:

ORIGINAL: larryfulkerson
Brother Tom: I really appreciate your efforts to make this magnificant tool even better. Good on you.

Well, thank you for all of your contributions to the game.

I'm just getting started...next set of tasks will be to allow the creation of new formations and units. Don't think it will be too hard, but we'll see...

(in reply to larryfulkerson)
Post #: 187
RE: TOAW XML Editor - 3/26/2019 3:53:17 AM   
Lobster


Posts: 2968
Joined: 8/8/2013
From: Third rock from the Sun.
Status: online
Whoa, there's no stopping you. You da man.

_____________________________

http://www.operationbarbarossa.net/

"Getting back to reality...I'll only go as a tourist!"

(in reply to 76mm)
Post #: 188
RE: TOAW XML Editor - 3/26/2019 7:46:30 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
Guys, I wanted to add a word of warning about editing divided units: DO NOT add or delete equipment line items from divided units or their subunits...while you can edit the qty or max number of particular types of equipment, do not add whole new types of equipment, or delete existing types of equipment (while you can't currently add equipment, it is possible to drag and drop equipment line items from unit to another, but DO NOT DO THIS with divided units or subunits). I also would not reorder equipment within divided units or subunits, although I'm not sure if this would cause any problems.

Basically for the unit division/reunification process to work, the parent and all of the subunits need to have the same number and type of equipment line items (and maybe in the same order, not sure).

In the next version I'll have some safeguards built in to make it harder to break things like this, but even then it will probably be possible if you try hard enough!

< Message edited by 76mm -- 3/26/2019 8:19:37 PM >

(in reply to Lobster)
Post #: 189
RE: TOAW XML Editor - 3/28/2019 1:50:58 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
So far so good on adding new formations and units--I've finished both of those, now need to add the ability to add equipment to units. Part of the process has been adding the ability to edit unit icons and colors.

Adding the ability to edit these with graphics is still a bit above my pay grade, at least the icon names are a bit more organized and I think it may be easier than hunting and pecking around the icon screen in the in-game editor. Here are screen shots of the status so far:




Attachment (1)

< Message edited by 76mm -- 3/28/2019 1:52:05 PM >

(in reply to 76mm)
Post #: 190
RE: TOAW XML Editor - 3/28/2019 1:53:13 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
Here is the Color editor. Unfortunately you will still need to go into the game to get the number code for the initial color scheme(s), but after that you can set the color codes using TOAWxml.




I've got to leave town for a while this weekend, so probably no further progress for a couple of weeks.

Attachment (1)

< Message edited by 76mm -- 3/28/2019 1:55:29 PM >

(in reply to 76mm)
Post #: 191
RE: TOAW XML Editor - 3/28/2019 6:16:53 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
Ooops, I forgot to reduce subunits' proficiency when units are divided, and increase it again when they are recombined. I'll fix this in the next version.

(in reply to 76mm)
Post #: 192
RE: TOAW XML Editor - 3/29/2019 12:00:57 AM   
mussey


Posts: 650
Joined: 12/2/2006
From: Cleve-Land
Status: offline

quote:

ORIGINAL: Lobster

Whoa, there's no stopping you. You da man.


U more dan a man, u da beast!!!

Someday soon, with advanced confidence in my editor abilities, I will use this. Don't stop.

_____________________________

Col. Mussbu

The long arm of the law - "The King of Battle"


(in reply to Lobster)
Post #: 193
RE: TOAW XML Editor - 4/8/2019 8:43:43 PM   
sPzAbt653


Posts: 8695
Joined: 5/3/2007
From: east coast, usa
Status: offline
quote:

ORIGINAL: fulcrum28
ok, i could drag "units" to formations, it works perfectly. The problem is that if I want to drag a division, which is defined as formation, inside an Army which is also a formation.

quote:

maybe changing unit name such as 276th Div -> 267th Div 8th Amy could work to give OOB flavour rather than actually redefining formation, what do yu think?

Hey guys, I wouldn't recommend changing unit names or formation names or moving units around within the oob. Both of these operations can cause various problems not only within the editor but also with the way a scenario functions. It is much safer to have an OOB Chart of your own, on actual paper, sitting in front of you as a reference. If you don't have any, I might have what you need, just ask. If not, it is easy to go to Wiki and find the OOB for just about any battle. C/P it to a text file and print it out. That way you can see the whole thing right in front of you and you don't need to mess with the scenario

< Message edited by sPzAbt653 -- 4/8/2019 8:46:59 PM >

(in reply to fulcrum28)
Post #: 194
RE: TOAW XML Editor - 4/20/2019 3:20:16 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
Hey guys, making good progress on adding equipment to OOBs, so I wanted to post a few screenies. Here is a shot showing the category filter; this filter extracts the data from the eqp file, so should work with any of them (I've tested with 4-5, so far all good):







Attachment (1)

< Message edited by 76mm -- 4/20/2019 3:21:23 PM >

(in reply to sPzAbt653)
Post #: 195
RE: TOAW XML Editor - 4/20/2019 3:22:17 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
Here is one showing the results of the category filter:





Attachment (1)

(in reply to 76mm)
Post #: 196
RE: TOAW XML Editor - 4/20/2019 3:23:15 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
You can sort the results by either column:




Attachment (1)

(in reply to 76mm)
Post #: 197
RE: TOAW XML Editor - 4/20/2019 3:24:07 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
Or filter results by country:





Attachment (1)

(in reply to 76mm)
Post #: 198
RE: TOAW XML Editor - 4/20/2019 3:25:12 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
And by unit characteristics/flags. Here filtering for German tanks with composite armor. You can also see all of the equipment's special characteristics:




Attachment (1)

< Message edited by 76mm -- 4/20/2019 3:26:04 PM >

(in reply to 76mm)
Post #: 199
RE: TOAW XML Editor - 4/20/2019 3:28:17 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
Generally I'm pretty pleased with how this turned out--let me know if you have any suggestions based on what you've seen so far...

I need to deal with a few other things before releasing this version (see my other thread on unit characteristics), but hopefully soon...

< Message edited by 76mm -- 4/20/2019 3:33:20 PM >

(in reply to 76mm)
Post #: 200
RE: TOAW XML Editor - 4/21/2019 4:54:26 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
One more addition: a panel with the various unit values. GUI is pretty cramped at this point, don't think I can add any more...






Attachment (1)

(in reply to 76mm)
Post #: 201
RE: TOAW XML Editor - 4/21/2019 6:00:56 PM   
cathar1244

 

Posts: 533
Joined: 9/5/2009
Status: offline
quote:

One more addition: a panel with the various unit values. GUI is pretty cramped at this point, don't think I can add any more...


Hmm, too bad the anti-shipping rating can't be squeezed in. It is tied to the AP rating, but is invisible unless one produces test units in the equipment file and views the equipment file in the scenario editor.

Cheers

(in reply to 76mm)
Post #: 202
RE: TOAW XML Editor - 4/21/2019 6:09:57 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
quote:

ORIGINAL: cathar1244
Hmm, too bad the anti-shipping rating can't be squeezed in. It is tied to the AP rating, but is invisible unless one produces test units in the equipment file and views the equipment file in the scenario editor.

sorry, I didn't even see that rating in the eqp files, although I didn't examine every piece of equipment.

Don't think it would be a technical issue to add it, but I'm kind of out of room. There is a decent chance I'll rejigger the GUI over time, so I will put this on my wishlist.

Also, I'm more of a WWII kind of guy, and the SAM Range is only used for post-war stuff, so maybe I could bump SAM Range off the list...

in the meantime, can you post an extract from an eqp file showing a piece of equipment with this rating in this thread, so that I can see the exact format?

< Message edited by 76mm -- 4/21/2019 6:12:54 PM >

(in reply to cathar1244)
Post #: 203
RE: TOAW XML Editor - 4/21/2019 6:40:20 PM   
cathar1244

 

Posts: 533
Joined: 9/5/2009
Status: offline
This is what I mentioned. It is an attribute automatically generated by the game on the basis of the magnitude of the anti-personnel value. Edit to add: And it probably manifests only in the case of units capable of ranged fire (guess).

Cheers



< Message edited by cathar1244 -- 4/21/2019 6:45:40 PM >

(in reply to 76mm)
Post #: 204
RE: TOAW XML Editor - 4/21/2019 7:53:56 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
Hmmm, the problem is that I don't see that figure (720) in the eqp file at all. Here is the eqp file entry for the A-6 in the default database:
************
<ITEM_1832>
<NAME>A-6 Intruder</NAME>
<COUNTRY>United States - 1961</COUNTRY>
<EQUIP1>257</EQUIP1>
<EQUIP2>356</EQUIP2>
<AT>4</AT>
<AP>54</AP>
<AA>14</AA>
<DF>21</DF>
<ARTY_RNG>1440</ARTY_RNG>
<EARLY_RNG>0</EARLY_RNG>
<SAM_RNG>0</SAM_RNG>
<NUKE>75000</NUKE>
<VOL>999</VOL>
<WEIGHT>0</WEIGHT>
<SHELL_W>250</SHELL_W>
<ARMOR>1</ARMOR>
<DEFENDER>0</DEFENDER>
<FLAG0>0</FLAG0>
<FLAG1>32</FLAG1>
<FLAG2>36</FLAG2>
<FLAG3>3</FLAG3>
<FLAG4>120</FLAG4>
<FLAG5>2</FLAG5>
<FLAG6>0</FLAG6>
<FLAG7>0</FLAG7>
</ITEM_1832>
************
There is no "Anti-Shipping" value here? The "Anti-Shipping" flag will be indicated in the box in the upper right corner, but that does not display a value, only that equipment has anti-shipping capability. Can you send me the eqp file extract for the A-6 from your eqp file? Other ideas?

< Message edited by 76mm -- 4/21/2019 7:55:14 PM >

(in reply to cathar1244)
Post #: 205
RE: TOAW XML Editor - 4/21/2019 7:56:27 PM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
While we're at it, any idea what the EQUIP1 and EQUIP2 lines are for? I have no idea, most of them are zero, so I've ignored them for now.

(in reply to 76mm)
Post #: 206
RE: TOAW XML Editor - 4/21/2019 8:09:34 PM   
Lobster


Posts: 2968
Joined: 8/8/2013
From: Third rock from the Sun.
Status: online

quote:

ORIGINAL: 76mm

Generally I'm pretty pleased with how this turned out--let me know if you have any suggestions based on what you've seen so far...

I need to deal with a few other things before releasing this version (see my other thread on unit characteristics), but hopefully soon...


A secretary to do all the typing. Has to be a good looking one otherwise why bother. Can you fit that in too?

_____________________________

http://www.operationbarbarossa.net/

"Getting back to reality...I'll only go as a tourist!"

(in reply to 76mm)
Post #: 207
RE: TOAW XML Editor - 4/21/2019 10:56:45 PM   
larryfulkerson

 

Posts: 38152
Joined: 4/17/2005
From: Tucson, AZ
Status: online
quote:

ORIGINAL: 76mm

While we're at it, any idea what the EQUIP1 and EQUIP2 lines are for? I have no idea, most of them are zero, so I've ignored them for now.

I'm not sure but I think one of them might be the index to the picture of the equipment used in the inventory report panel. The picture of the equipment on the far left edge of the inventory dialog. Equipment256.png I think.




Attachment (1)

< Message edited by larryfulkerson -- 4/22/2019 12:46:00 AM >


_____________________________

My computer could be more encouraging. You know, instead of "invalid password", why not something like, "Ooooh, you're so close!"?
- Lisa Porter

(in reply to 76mm)
Post #: 208
RE: TOAW XML Editor - 4/22/2019 12:01:08 AM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
quote:

ORIGINAL: larryfulkerson
I'm not sure but I think one of them might be the picture of the equipment used in the inventory report panel. The picture of the equipment on the far left edge of the inventory dialog. Equipment256.png I think.

Great, thanks, will take a look.

(in reply to larryfulkerson)
Post #: 209
RE: TOAW XML Editor - 4/22/2019 1:02:26 AM   
76mm


Posts: 3692
Joined: 5/2/2004
From: Washington, DC
Status: online
quote:

ORIGINAL: larryfulkerson
...I think one of them might be the index to the picture of the equipment used in the inventory report panel.

Thanks again, Larry. After poking around a bit, I can confirm that UNIT1 is the ID for the unit silhouette, and UNIT2 is the ID for the 3D image.

(in reply to larryfulkerson)
Post #: 210
Page:   <<   < prev  5 6 [7] 8 9   next >   >>
All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> Mods and Scenarios >> RE: TOAW XML Editor Page: <<   < prev  5 6 [7] 8 9   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.133