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  6 7 [8] 9 10   next >   >>
Login
Message << Older Topic   Newer Topic >>
RE: TOAW XML Editor - 4/22/2019 1:06:33 AM   
larryfulkerson

 

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

ORIGINAL: 76mm
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.

Great ! You've made me very happy that I could help out a little bit. I'm not sure how you might use that information now that you know what they stand for but I'm pretty sure you'll find a way.

_____________________________

I seem to have been only like a boy playing on the seashore, and diverting myself in now and then finding a smoother pebble or a prettier shell than ordinary, whilst the great ocean of truth lay all undiscovered before me. - Isaac Newton

(in reply to 76mm)
Post #: 211
RE: TOAW XML Editor - 4/22/2019 1:28:55 AM   
76mm


Posts: 3533
Joined: 5/2/2004
From: Washington, DC
Status: offline
quote:

ORIGINAL: larryfulkerson
I'm not sure how you might use that information now that you know what they stand for but I'm pretty sure you'll find a way.


Actually, now that I know what it is, I will completely ignore this data! I will rely on the DB creators/editors to get the 2D/3D images right in the eqp files (and I don't need the 2D images at all in any event).

(in reply to larryfulkerson)
Post #: 212
RE: TOAW XML Editor - 4/22/2019 1:41:26 AM   
larryfulkerson

 

Posts: 37644
Joined: 4/17/2005
From: Tucson, AZ
Status: online
I've got a tiny suggestion that I think might just be unworkable.




Attachment (1)

_____________________________

I seem to have been only like a boy playing on the seashore, and diverting myself in now and then finding a smoother pebble or a prettier shell than ordinary, whilst the great ocean of truth lay all undiscovered before me. - Isaac Newton

(in reply to 76mm)
Post #: 213
RE: TOAW XML Editor - 4/22/2019 7:35:35 AM   
cathar1244

 

Posts: 443
Joined: 9/5/2009
Status: offline
Hi 76mm,

I have to test this, but I think the relationship is, if a unit is capable of ranged fire (aircraft / artillery), then the anti-shipping is calculated something like this (not sure if this is accurate or not):

AP value    Anti-Shipping value

01-05       120
06-10       240
11-15       360
16-20       480

etc.


You are correct, it is not explicitly stated in the equipment file -- it is generated by the game on the basis of the antipersonnel rating.

Another attribute like this that would be useful to depict would be the transportation cost (weight) of equipment and units. It is another auto-generated characteristic.

Cheers

quote:

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?

(in reply to 76mm)
Post #: 214
RE: TOAW XML Editor - 4/22/2019 7:43:18 AM   
larryfulkerson

 

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

from TOAWEquipment.eqp:

<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>


from TOAW4 Database v4

<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>
<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_3848>


from equipment.eqp TOAW III

<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>
<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>





< Message edited by larryfulkerson -- 4/22/2019 8:10:11 AM >


_____________________________

I seem to have been only like a boy playing on the seashore, and diverting myself in now and then finding a smoother pebble or a prettier shell than ordinary, whilst the great ocean of truth lay all undiscovered before me. - Isaac Newton

(in reply to cathar1244)
Post #: 215
RE: TOAW XML Editor - 4/22/2019 12:15:51 PM   
76mm


Posts: 3533
Joined: 5/2/2004
From: Washington, DC
Status: offline
quote:

ORIGINAL: larryfulkerson
I've got a tiny suggestion that I think might just be unworkable.

Larry, hopefully I'll get to this one day but anything involving graphics, especially the map, is a whole other level of complexity, so I've got to put it off for now.

Personally for now I would just jot down all the objectives with analog pen and paper while you've got TOAW open...

< Message edited by 76mm -- 4/22/2019 12:17:03 PM >

(in reply to larryfulkerson)
Post #: 216
RE: TOAW XML Editor - 4/22/2019 12:20:47 PM   
76mm


Posts: 3533
Joined: 5/2/2004
From: Washington, DC
Status: offline
quote:

ORIGINAL: cathar1244
I have to test this, but I think the relationship is, if a unit is capable of ranged fire (aircraft / artillery), then the anti-shipping is calculated something like this (not sure if this is accurate or not):

OK, if we can figure out the formula with certainty, I will try to get it in. But I wonder if it is more complicated than that...for instance, what if equipment has both the "Anti-Shipping" and "Torpedo Bomber" flags--will it have a higher anti-ship rating than just "Anti-Shipping"? Could Shell Weight also have an effect?

quote:

ORIGINAL: cathar1244
Another attribute like this that would be useful to depict would be the transportation cost (weight) of equipment and units. It is another auto-generated characteristic.

I've already included Weight (for equipment)? As noted in my post below, I have not yet figured out (or even really thought about) how to translate equipment characteristics/values into the data/values in Unit Reports.

< Message edited by 76mm -- 4/22/2019 12:49:33 PM >

(in reply to cathar1244)
Post #: 217
RE: TOAW XML Editor - 4/22/2019 12:28:27 PM   
76mm


Posts: 3533
Joined: 5/2/2004
From: Washington, DC
Status: offline
A whole 'nother kettle of fish is how to translate equipment characteristics (Flags) into "Special Abilities" in the Unit Report (see below):

Several issues here:
--how are the % figures calculated?
--where do some of the special abilities ("Minor Ferry") come from?
--some Special Abilities (Headquarters) seem to be conferred by the unit icon rather than by flags.

I'll probably leave this kind of unit report alone unless/until we somehow get a comprehensive understanding of how all of that works...




Attachment (1)

< Message edited by 76mm -- 4/22/2019 12:30:49 PM >

(in reply to 76mm)
Post #: 218
RE: TOAW XML Editor - 4/22/2019 1:20:18 PM   
Lobster


Posts: 2564
Joined: 8/8/2013
From: Third rock from the Sun.
Status: online
As far as I've been able to determine every engineer squad has minor ferry ability. It's associated with the engineer flag. To have the major ferry ability the Major Ferry flag has to be checked in the equipment editor. Just a guess but I would guess percentage of ability has to do with the number of engineer squads to total number of equipment in a unit.

At a guess I would say that the majority of the special abilities are flags set in the equipment editor and the percentage ability is based on equipment numbers as a percentage of the whole unit.

_____________________________

http://www.operationbarbarossa.net/

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

(in reply to 76mm)
Post #: 219
RE: TOAW XML Editor - 4/22/2019 1:38:42 PM   
sPzAbt653


Posts: 8391
Joined: 5/3/2007
From: east coast, usa
Status: offline
I don't think the total number of equipment has a bearing. Below I changed Heavy Rifle Squads from 4000 to 40 and it had no effect on Engineering ability.




Attachment (1)

(in reply to Lobster)
Post #: 220
RE: TOAW XML Editor - 4/22/2019 1:43:37 PM   
sPzAbt653


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

I'll probably leave this kind of unit report alone

Quite often units are 'tailored' and it is important to see the Special Abilities as we build them. The same is true for other aspects such as Strengths and Movement.

(in reply to 76mm)
Post #: 221
RE: TOAW XML Editor - 4/22/2019 1:45:01 PM   
76mm


Posts: 3533
Joined: 5/2/2004
From: Washington, DC
Status: offline
quote:

ORIGINAL: Lobster
Just a guess but I would guess percentage of ability has to do with the number of engineer squads to total number of equipment in a unit.

At a guess I would say that the majority of the special abilities are flags set in the equipment editor and the percentage ability is based on equipment numbers as a percentage of the whole unit.


Generally I think you're right, although I don't think that calculation of the % figures are as simple as you suggest...for instance, in the screenie above, engineer squads constitute about 19% of the unit's equipment items, but it has a "Minor Ferry" rating of 99%. Similarly, the Ferry-Bridging Teams are about 19%, but the "Major Ferry" rating is 87%.

Maybe certain types of equipment are disregarded for calculation of % figures, or there are threshold equipment item quantities to obtain specific % figures? Dunno at this point...

(in reply to Lobster)
Post #: 222
RE: TOAW XML Editor - 4/22/2019 1:47:34 PM   
76mm


Posts: 3533
Joined: 5/2/2004
From: Washington, DC
Status: offline
quote:

ORIGINAL: sPzAbt653
I don't think the total number of equipment has a bearing. Below I changed Heavy Rifle Squads from 4000 to 40 and it had no effect on Engineering ability.

hmmm, interesting.

(in reply to sPzAbt653)
Post #: 223
RE: TOAW XML Editor - 4/22/2019 1:49:55 PM   
sPzAbt653


Posts: 8391
Joined: 5/3/2007
From: east coast, usa
Status: offline
I'm really out of my element here with all of this stuff, but I was poking around in Bio-Ed and ODD to see if there were any obvious clues. I found this in the ODD Equipment Editor, I hope Curt doesn't mind me posting it. No idea what it all means.




Attachment (1)

(in reply to 76mm)
Post #: 224
RE: TOAW XML Editor - 4/22/2019 1:52:52 PM   
76mm


Posts: 3533
Joined: 5/2/2004
From: Washington, DC
Status: offline
quote:

ORIGINAL: sPzAbt653
Quite often units are 'tailored' and it is important to see the Special Abilities as we build them. The same is true for other aspects such as Strengths and Movement.

Sure, I understand how useful this would be, but right now TOAWxml can only expose (and edit) data exported to the XML files, not values such as the Special Abilities, Strengths, and Movement which are calculated by the game engine but not exported to XML.

I can only add these features if we obtain a very clear understanding of the relevant formulas/algorithms/values, either via reverse-engineering or input from a dev.

I still have a fair bit to do with the XML files, so this is not top priority at the moment, although I would certainly like to add it when/if it becomes possible.

< Message edited by 76mm -- 4/22/2019 3:45:14 PM >

(in reply to sPzAbt653)
Post #: 225
RE: TOAW XML Editor - 4/22/2019 1:57:40 PM   
76mm


Posts: 3533
Joined: 5/2/2004
From: Washington, DC
Status: offline
quote:

ORIGINAL: sPzAbt653
I'm really out of my element here with all of this stuff, but I was poking around in Bio-Ed and ODD to see if there were any obvious clues. I found this in the ODD Equipment Editor, I hope Curt doesn't mind me posting it. No idea what it all means.

Yeah, those are the equipment characteristics flags, which are exposed in the eqp files and shown in the box in the top-right corner of the "Add New Equipment" screen. That was all fairly straightforward to figure out, but the question now is how those "flags"--and the quantity of equipment within a unit that has them--translate into the unit-level "Special Abilities" shown in the Unit Report.

< Message edited by 76mm -- 4/22/2019 2:02:58 PM >

(in reply to sPzAbt653)
Post #: 226
RE: TOAW XML Editor - 4/22/2019 2:54:29 PM   
sPzAbt653


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

ORIGINAL: 76mm
quote:

ORIGINAL: sPzAbt653
Quite often units are 'tailored' and it is important to see the Special Abilities as we build them. The same is true for other aspects such as Strengths and Movement.

Sure, I understand how useful this would be, but right now TOAWxml is can only expose (and edit) data exported to the XML files, not values such as the Special Abilities, Strengths, and Movement which are calculated by the game engine but not exported to XML.

I can only add these features if we obtain a very clear understanding of the relevant formulas/algorithms/values, either via reverse-engineering or input from a dev.

I still have a fair bit to do with the XML files, so this is not top priority at the moment, although I would certainly like to add it when/if it becomes possible.

I hope I'm not misunderstanding all of this, so take my comment lightly! I looked at ODD and see what you are saying [that these stats are not imported/exported], and that reminded me why I never used ODD - I would open it every couple years, tinker around a bit, realize that it wasn't totally useful, and leave it. I used it several times for putting grids on maps, but that was it. So my comment with regards to this current project is - for a simple example, if I want a unit to have a Movement Allowance [MA] of 18, I need to set the proper amount of Transport Assets, let's say Trucks. So I add 50 Trucks. Now I have to export the file, import into TOAW, check the MA and if it is 8 I have to go back to this program, add 20 more trucks and then export, check it again, etc. you get the point.

All of that isn't worth a scenario designers effort, so I would suggest to not spend time on such a process as no one would really use it. Certainly I'd rather have it fully integrated, but if it's not possible, why bother?

(in reply to 76mm)
Post #: 227
RE: TOAW XML Editor - 4/22/2019 3:33:59 PM   
76mm


Posts: 3533
Joined: 5/2/2004
From: Washington, DC
Status: offline
quote:

ORIGINAL: sPzAbt653
All of that isn't worth a scenario designers effort, so I would suggest to not spend time on such a process as no one would really use it. Certainly I'd rather have it fully integrated, but if it's not possible, why bother?

Well, truth be told, I'm actually creating this for my own purpose, which is to be able to use TOAW IV as a campaign layer for tactical-level games. You all are just along for the ride--hopefully someone else will find it useful, but if not that's OK with me.

That said, if I can accommodate requests from other players without a huge amount of work, I will try to do so. If I cannot accommodate a request because we don't have the data/formula/algorithms necessary to do so, well, then I won't!

quote:

ORIGINAL: sPzAbt653
...if I want a unit to have a Movement Allowance [MA] of 18, I need to set the proper amount of Transport Assets, let's say Trucks. So I add 50 Trucks. Now I have to export the file, import into TOAW, check the MA and if it is 8 I have to go back to this program, add 20 more trucks and then export, check it again, etc. you get the point.

Obviously up to you how/if you use TOAWxml, but a couple of comments:
1) you wouldn't have to insert the 20 extra trucks in TOAWxml, you could also do it directly via the in-game editor and add/subract trucks until you are satisfied; and
2) in reality you might only need to do this once or twice per scenario--you could create your base template units, check their characteristics via the in-game editor, and then copy and further manipulate the units via TOAWxml. Or do it at the end of the process to tweak all units to your taste. Or not. Up to you...

I appreciate that everyone (including me) would prefer a fully-integrated editor, and gradually we will get closer. In the meantime I'm happy to accept your comments and suggestions and will accommodate them to the extent practicable.

< Message edited by 76mm -- 4/22/2019 3:37:00 PM >

(in reply to sPzAbt653)
Post #: 228
RE: TOAW XML Editor - 4/22/2019 4:36:57 PM   
Lobster


Posts: 2564
Joined: 8/8/2013
From: Third rock from the Sun.
Status: online
The number of engineers versus total units has to make a difference. Otherwise you are back at the truck situation. One engineer squad can get an entire division across a river in one day.

BTW, one way of slowing down a unit is to use the slow motorized for trucks instead of fast motorized.

< Message edited by Lobster -- 4/22/2019 4:39:25 PM >


_____________________________

http://www.operationbarbarossa.net/

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

(in reply to 76mm)
Post #: 229
RE: TOAW XML Editor - 4/22/2019 4:59:37 PM   
76mm


Posts: 3533
Joined: 5/2/2004
From: Washington, DC
Status: offline
quote:

ORIGINAL: Lobster
The number of engineers versus total units has to make a difference. Otherwise you are back at the truck situation. One engineer squad can get an entire division across a river in one day.

Logically of course you are correct, but that does not seem to be how the game works... You can test this real-time by opening a Unit Report in the Deployment Editor and changing the numbers around.

For example, in the headquarters unit shown in my screenshot above, I decreased the Ferry Engineers to zero, and the Major Ferry capability disappeared. I then added Ferry Engineers gradually--with 1, I had 2% Major Ferry capability, 10 = 32%, 20 = 64%, etc.

Then I restored the number of Ferry Engineers to 27 and started playing with other equipment line items, increasing various line items (MP squad, Jagdpanzer IV, Horse Team) from their current numbers up to 1000. While some of these changes had the effect of increasing the recon %, they DID NOT reduce the minor or major ferry %s at all.

So while it is not true that "one engineer squad can get an entire division across a river in one day", it appears that 27 ferry engineer squads can get 87% of a division--of any size--across a river in one day (or whatever the 87% refers to...).

< Message edited by 76mm -- 4/22/2019 5:04:41 PM >

(in reply to Lobster)
Post #: 230
RE: TOAW XML Editor - 4/22/2019 6:28:54 PM   
cathar1244

 

Posts: 443
Joined: 9/5/2009
Status: offline
I love this kind of stuff in TOAW. It is like a cult of mysteries, the darkness of which we attempt to illuminate with actions like the kind 76mm mentions in the quote below.

Cheers

quote:

I decreased the Ferry Engineers to zero, and the Major Ferry capability disappeared. I then added Ferry Engineers gradually--with 1, I had 2% Major Ferry capability, 10 = 32%, 20 = 64%, etc.

(in reply to 76mm)
Post #: 231
RE: TOAW XML Editor - 4/22/2019 6:31:15 PM   
Lobster


Posts: 2564
Joined: 8/8/2013
From: Third rock from the Sun.
Status: online
Yes, one battalion of ferry engineers = one pontoon battalion. They can lay a pontoon bridge that can get a division across a river in one day.

Of course the game treats major ferry in an abstract manner otherwise there would be different capacity pontoon bridges which would cause some degree of insanity among the player base.

I have a multitude of pontoon and engineer unit in the Barbarossa scenario and I can tell you that the major/minor ferry ability does vary with quantity.

In any event, I hope you don't lose all of your hair before you get this done.

_____________________________

http://www.operationbarbarossa.net/

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

(in reply to 76mm)
Post #: 232
RE: TOAW XML Editor - 4/22/2019 6:37:12 PM   
76mm


Posts: 3533
Joined: 5/2/2004
From: Washington, DC
Status: offline
quote:

ORIGINAL: cathar1244
I love this kind of stuff in TOAW. It is like a cult of mysteries, the darkness of which we attempt to illuminate with actions like the kind 76mm mentions in the quote below.

I also meant to mention that I think that the way they've done it works quite well--basically the number of ferry engineers serves as a "slider" for major ferry capacity--you want 2% major ferry capacity? Assign 1 ferry engineer... And so on...I expect that other capabilities work in a similar fashion. How many pieces of "stand off" equipment does a unit need to be considered to have "stand off" capability? Dunno...

Seems like the only "more realistic" (and I apply the term loosely) alternative for ferrying capacity would be for the game to take into account the volume and weight of each piece of equipment in a unit when calculating ferry capacity, which I think most of us would agree would be a bit extreme...

(in reply to cathar1244)
Post #: 233
RE: TOAW XML Editor - 4/22/2019 6:39:26 PM   
76mm


Posts: 3533
Joined: 5/2/2004
From: Washington, DC
Status: offline
quote:

ORIGINAL: Lobster
Yes, one battalion of ferry engineers = one pontoon battalion. They can lay a pontoon bridge that can get a division across a river in one day.

Nah, so far I really enjoy the process, it is very intellectually challenging. The main thing is to recognize what is and is not possible...

I am, however, a bit intimidated by the prospect of working on the Event Editor...

(in reply to Lobster)
Post #: 234
RE: TOAW XML Editor - 4/22/2019 8:51:24 PM   
sPzAbt653


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

I'm actually creating this for my own purpose ... you wouldn't have to insert the 20 extra trucks in TOAWxml, you could also do it directly via the in-game editor and add/subract trucks until you are satisfied

Understood. So similar to the other programs in the past, this won't be a stand alone editor for TOAW. Therefore, I vote that you are given access to TOAW's Editors in order to improve them. Of course, I don't have a vote and that may not be possible anyway. But at this moment the dream is really nice

I'm 100% behind your effort. Hopefully none of my comments are too depressing.

(in reply to 76mm)
Post #: 235
RE: TOAW XML Editor - 4/22/2019 8:54:40 PM   
sPzAbt653


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

you want 2% major ferry capacity? Assign 1 ferry engineer

Along these lines, I will mention that you need 10% to get across a Major River, and an engineers capability is affected by things like Shock and Movement Allowance Remaining. I'm not sure about the effects on Minor capability as I've never payed too much attention.

(in reply to 76mm)
Post #: 236
RE: TOAW XML Editor - 4/22/2019 8:57:41 PM   
76mm


Posts: 3533
Joined: 5/2/2004
From: Washington, DC
Status: offline
quote:

ORIGINAL: sPzAbt653
Hopefully none of my comments are too depressing.



Nah, as mentioned, I enjoy the process.

And I don't disagree with you, but I can only do what I can do...in the meantime I'll keep plugging away, and we'll see what happens.

(in reply to sPzAbt653)
Post #: 237
RE: TOAW XML Editor - 4/22/2019 8:57:55 PM   
sPzAbt653


Posts: 8391
Joined: 5/3/2007
From: east coast, usa
Status: offline
I think the Event Editor works 'fine'. Even 'well'. I would like to see how it could be considered to work better. I've worked with SC3 and it uses a non-UI [scripted] multiple file [something like twelve separate ones] system that is way more silly to use than TOAW's.

(in reply to 76mm)
Post #: 238
RE: TOAW XML Editor - 4/23/2019 6:05:25 AM   
cathar1244

 

Posts: 443
Joined: 9/5/2009
Status: offline
76mm, in the interest of illuminating some of the deeper mysteries of TOAW , here is what I have determined regarding the auto-generation of "anti-shipping capability" ratings.

Important caveat: Anti-personnel (AP) ratings shown below are as entered in the equipment file with an editor that is EXTERNAL to the game. Entering AP values with the game's built-in equipment editor scales the ratings differently and for me, was confusing.

Anyone using the game's built-in equipment editor to alter the AP values is on their own.


First requirement to generate anti-shipping capability: The anti-shipping flag has to be toggled on (FLAG3 has to include the value "2").

Two cases follow. The second case is in effect when the "torpedo bomber flag" is toggled on (FLAG7 has to include the value "128"), else, the first case applies.

Note that in both cases, when the antipersonnel rating is set to zero, the anti-shipping capability is still present but attacks may only be conducted against naval units.

First case -- anti-shipping on, not a torpedo bomber.

Antipersonnel rating            Anti-shipping capability

0				120	can attack only naval units
1 ... 15			120
16 ... 23			240
24+   			        360


Second case -- anti-shipping on, is a torpedo bomber.

Antipersonnel rating            Anti-shipping capability

0				240	can attack only naval units
1 ... 11	                240
12 ... 17			480
18+			        720


There is also a third case in which anti-shipping capability is auto-generated. This is the case in which the anti-shipping flag is NOT toggled and a (smallish) anti-shipping capability is made available based upon the AP value. I will look into that and update this comment.

Edited to add the third case. Man, what a rabbit hole this one was, but finally figured out the arithmetic.

Note these examples function for fixed-wing aircraft. I would have to test with artillery to see if the same relationship holds.

Again, with antipersonnel (AP) as entered by an external editor into the equipment file ...

the anti-ship capability is figured as the square root of (two times the AP rating), rounded down.

Example: AP is 0. 0 times 2 = 0. Square root of 0 is 0, the anti-ship rating.

Example: AP is 8. 8 times 2 = 16. Square root of 16 is 4, the anti-ship rating.

Example: AP is 9. 9 times 2 = 18. Square root of 18 is 4.2426. Round down to 4, this is the anti-ship rating.

Highest allowed AP rating is 8000 (!) This works out to an anti-ship rating of 126 after rounding down. (Higher AP ratings can be entered, but TOAW will treat them as 8000.)

Talk about non-obvious schemes ... one more piece of mystery meat illuminated!

Cheers

< Message edited by cathar1244 -- 4/23/2019 11:18:38 AM >

(in reply to sPzAbt653)
Post #: 239
RE: TOAW XML Editor - 4/23/2019 11:33:56 AM   
cathar1244

 

Posts: 443
Joined: 9/5/2009
Status: offline
Anti-ship capability for artillery, as auto-generated by TOAW.

Once again, with the antipersonnel rating (AP) as entered by an external editor into the equipment file:

Anti-ship capability is the square root of (AP divided by 2), rounded down.

Example: The common equipment 150mm howitzer has an AP of 260 in the equipment file. Divide by 2 to obtain 130. The square root of 130 is 11.4018, or, rounded down --> 11. This is the anti-shipping capability.

Edit to add: Note that guns need a range of at least 5 kilometers for the anti-ship capability to manifest.

Cheers

< Message edited by cathar1244 -- 4/23/2019 11:45:21 AM >

(in reply to cathar1244)
Post #: 240
Page:   <<   < prev  6 7 [8] 9 10   next >   >>
All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> Mods and Scenarios >> RE: TOAW XML Editor Page: <<   < prev  6 7 [8] 9 10   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.152