Has anyone ever tried to create a TF movement Calculator?

This new stand alone release based on the legendary War in the Pacific from 2 by 3 Games adds significant improvements and changes to enhance game play, improve realism, and increase historical accuracy. With dozens of new features, new art, and engine improvements, War in the Pacific: Admiral's Edition brings you the most realistic and immersive WWII Pacific Theater wargame ever!

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Post Reply
User avatar
SgtSwanson
Posts: 212
Joined: Sun May 15, 2005 12:36 am
Location: Long Branch, NJ

Has anyone ever tried to create a TF movement Calculator?

Post by SgtSwanson »

Is there a way to even do this with the most common destinations in mind? I have been thinking of creating one since back in WitP days because, I wanted to know the approx date or how many days a certian TF would reach it's destination. This is mainly for Cargo / Amphib TFs. I'm willing to give it a try, however my Excel formula knowledge sucks to say the least. Any takers?
Sgt Swanson
87-93 5/502 Inf. Berlin Bde
93-95 2/502 Inf. 101st Airborne Div.
Freedom is never free!!

Patch of the Week: 6th Infantry Division
wdolson
Posts: 7651
Joined: Tue Jun 27, 2006 9:56 pm
Location: Near Portland, OR

RE: Has anyone ever tried to create a TF movement Calculator?

Post by wdolson »

I haven't looked at the TF routing code recently, but it's pretty complex and it's even more complex with AE than it was with WitP.  Just to start, you would have to take the map file into account. 

The best way to do this would be to create some kind of utility like the WitP Tracker that would take the actual information from the save file and then calculate the time from that.  I don't know if that information is extractable from the save file though.

Bill
SCW Development Team
Numdydar
Posts: 3281
Joined: Fri Feb 13, 2004 9:56 pm

RE: Has anyone ever tried to create a TF movement Calculator?

Post by Numdydar »

The main issue with this is it is not as simple as it sounds from outside of the game. I am assuming that you would want to know

- The hexigonal distance between point A and B
- The distance will take into account going around land masses (i.e. it is not just a point-to-point distance as in how the crow flies)
- the speed of the various TF's involved. I.E the QE versus a slow xAK

Of course if you want to avoid major enemy bases, then it gets even more complex [:D]

I also assume that you would simply want to put in Port A and Port B and the speed of the TF and out will pop the time in days between the two.

Just as an example, if you wanted to know how long TF A would take to go between LA and Sidney that would be fairly simple to do, assumng Norema was not Japan's. Other routes would not be that easy, Toyko to Sinapore (once that area was all Japans), due to have to get around Boreno and the PI. It just depends on what you are looking for.

A point-to-point system ignoring all land masses would be the easiest and would at least give you a ball park idea. If that is all you are looking to do, then it should not be that hard.
Alfred
Posts: 6683
Joined: Thu Sep 28, 2006 7:56 am

RE: Has anyone ever tried to create a TF movement Calculator?

Post by Alfred »

Plus automatic ship refueling would vary from one TF to another, both going to the same destination but with simply different ships in the TFs.

Threat tolerance is also a factor.

Currently the TF screen tells you how many hexes to the destination (and back) plus the TF speed. That info is adequate.

Alfred
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: Has anyone ever tried to create a TF movement Calculator?

Post by n01487477 »

ORIGINAL: SgtSwanson

Is there a way to even do this with the most common destinations in mind? I have been thinking of creating one since back in WitP days because, I wanted to know the approx date or how many days a certian TF would reach it's destination. This is mainly for Cargo / Amphib TFs. I'm willing to give it a try, however my Excel formula knowledge sucks to say the least. Any takers?
ORIGINAL: wdolson

...
The best way to do this would be to create some kind of utility like the WitP Tracker that would take the actual information from the save file and then calculate the time from that. I don't know if that information is extractable from the save file though.
...

Actually Witptracker does this ... look at the TF screen it has Est.Time of arrival. It's not perfect as it takes the straight point to point hex data and calculates from the min ship speed.
[edit]Actually just had a quick think and we take the number of hexes to destination and calculate using that. It's not a perfect solution but to do so would mean importing a whole heap of data that we don't want to do ...
[edit2]I'll have another look at it before 1.9 gets released[;)]
Numdydar
Posts: 3281
Joined: Fri Feb 13, 2004 9:56 pm

RE: Has anyone ever tried to create a TF movement Calculator?

Post by Numdydar »

And any clue as to when 1.9 will be ready [:D]?
User avatar
SgtSwanson
Posts: 212
Joined: Sun May 15, 2005 12:36 am
Location: Long Branch, NJ

RE: Has anyone ever tried to create a TF movement Calculator?

Post by SgtSwanson »

I've been having problems with getting the Tracker to read my Babes game file. I'm playing a Babes lite scen against the AI. Is there any difference for the Tracker between a stock scen and a modded one?
Sgt Swanson
87-93 5/502 Inf. Berlin Bde
93-95 2/502 Inf. 101st Airborne Div.
Freedom is never free!!

Patch of the Week: 6th Infantry Division
User avatar
HansBolter
Posts: 7374
Joined: Thu Jul 06, 2006 12:30 pm
Location: United States

RE: Has anyone ever tried to create a TF movement Calculator?

Post by HansBolter »

ORIGINAL: Alfred

That info is adequate.

Alfred


No it isn't. The fact that people are asking for more is proof that it isn't.

The game has been in need of an "expected arrival date" estimate in the TF interface since it was released.
Hans

User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: Has anyone ever tried to create a TF movement Calculator?

Post by n01487477 »

ORIGINAL: SgtSwanson

I've been having problems with getting the Tracker to read my Babes game file. I'm playing a Babes lite scen against the AI. Is there any difference for the Tracker between a stock scen and a modded one?
Maybe if you post in the Tracker thread with the error message and maybe if you want to email the file to me I can have a look
PM me.;..
User avatar
Graymane
Posts: 584
Joined: Wed Mar 30, 2005 11:21 pm
Location: Bellevue, NE

RE: Has anyone ever tried to create a TF movement Calculator?

Post by Graymane »

ORIGINAL: SgtSwanson

Is there a way to even do this with the most common destinations in mind? I have been thinking of creating one since back in WitP days because, I wanted to know the approx date or how many days a certian TF would reach it's destination. This is mainly for Cargo / Amphib TFs. I'm willing to give it a try, however my Excel formula knowledge sucks to say the least. Any takers?

I did a basic calculator in a spreadsheet a long time ago. I'd have to go hunt down where it is. As others have mentioned though, it is based on straight-line distances that can be really innacurate when you think about threat tolerances. This especially applies to PH to routes in the SP or SWPAC.

I do keep handmade charts that show something like this for major routes (I'm just making the numbers up, they aren't real):

PH SF Pago Brisbane
PH xx 50 100 150
SF 50 xx 160 200
Pago 100 160 xx 75
Brisbane 150 200 75 xx

I do the routes by opening the game and using the threat tolerances and "directness" setttings that I would normally use.

To make an out-of-game tool that is accurate one would have to parse the map data to understand the land masses and the do some empirical testing to determine how the refueling works.

The good news is that even straight-line routes and what is shown in-game are probably good enough to planning as long as you don't need to be more accurate that a few days. The in-game TF info tells you how many hexes the TF needs to travel as well as the speed in hexes of the TF for each 12-hour pulse. You can easily ballpark the times right from the screen.

It says something like m/c (6/3), Fuel 234/123 (56) where the cruise speed is 3 and the hexes are 56. So 10 or so turns. For planning purposes, I'll also add using 1-2 days for loading, 1-2 days for unloading and 1 day extra for refueling all depending on how long the trip is. So for a cargo trip using these sample numbers, a bit over 3 weeks round trip.
A computer without COBOL and Fortran is like a piece of chocolate cake without ketchup and mustard.
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: Has anyone ever tried to create a TF movement Calculator?

Post by n01487477 »

ORIGINAL: Graymane

ORIGINAL: SgtSwanson

Is there a way to even do this with the most common destinations in mind? I have been thinking of creating one since back in WitP days because, I wanted to know the approx date or how many days a certian TF would reach it's destination. This is mainly for Cargo / Amphib TFs. I'm willing to give it a try, however my Excel formula knowledge sucks to say the least. Any takers?

I did a basic calculator in a spreadsheet a long time ago. I'd have to go hunt down where it is. As others have mentioned though, it is based on straight-line distances that can be really innacurate when you think about threat tolerances. This especially applies to PH to routes in the SP or SWPAC.

I do keep handmade charts that show something like this for major routes (I'm just making the numbers up, they aren't real):

PH SF Pago Brisbane
PH xx 50 100 150
SF 50 xx 160 200
Pago 100 160 xx 75
Brisbane 150 200 75 xx

I do the routes by opening the game and using the threat tolerances and "directness" setttings that I would normally use.

To make an out-of-game tool that is accurate one would have to parse the map data to understand the land masses and the do some empirical testing to determine how the refueling works.

The good news is that even straight-line routes and what is shown in-game are probably good enough to planning as long as you don't need to be more accurate that a few days. The in-game TF info tells you how many hexes the TF needs to travel as well as the speed in hexes of the TF for each 12-hour pulse. You can easily ballpark the times right from the screen.

It says something like m/c (6/3), Fuel 234/123 (56) where the cruise speed is 3 and the hexes are 56. So 10 or so turns. For planning purposes, I'll also add using 1-2 days for loading, 1-2 days for unloading and 1 day extra for refueling all depending on how long the trip is. So for a cargo trip using these sample numbers, a bit over 3 weeks round trip.
Actually iirc the in game data is a really good indicator if you set the home base to the destination it will give you the number of hexes to be traversed. Then look at the slowest ship or just the movement indicator and calculate the time to target...
Alfred
Posts: 6683
Joined: Thu Sep 28, 2006 7:56 am

RE: Has anyone ever tried to create a TF movement Calculator?

Post by Alfred »

ORIGINAL: HansBolter

ORIGINAL: Alfred

That info is adequate.

Alfred


No it isn't. The fact that people are asking for more is proof that it isn't.

The game has been in need of an "expected arrival date" estimate in the TF interface since it was released.

Or they are lazy.

See post #11 from Damian. He always reminds people about the capabilities of Tracker but acknowledges that the ingame data is adequate.

It really isn't difficult to get the approximate info as requested from ingame. But then it is always easier to get someone else to do the work and give the answer.
\
Alfred
User avatar
HansBolter
Posts: 7374
Joined: Thu Jul 06, 2006 12:30 pm
Location: United States

RE: Has anyone ever tried to create a TF movement Calculator?

Post by HansBolter »

Agreed.

I was merely trying, in a friendly way to point out that your opinion that it is adequate doen't necessarily equate to a fact that it's adequate.

You are a very helpful resource to many on this forum with your detailed and heavily researched answers to their questions, but like me, you sometimes have a tendency to equate your opinion with fact, or at least state it in a way that appears like you are equating it with fact. I was merely playing the devil's advocate. No offense intended.

I do find your reference to the laziness of people rather curoius given your propensity to provide the laziest of the lazy with copius amounts of assistance. [8D]


You do a great job of assisting the uninformed regardless of whether or not their uninformed status is a result of laziness. Keep up the good work!
Hans

Post Reply

Return to “War in the Pacific: Admiral's Edition”