Endurance or max range

Please post here for questions and discussion about scenario design, art and sound modding and the game editor for WITP Admiral's Edition.

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

Post Reply
User avatar
Jorm
Posts: 547
Joined: Tue Jun 25, 2002 5:40 am
Location: Melbourne

Endurance or max range

Post by Jorm »

When editing aircraft do you need data for both endurance and the max/normal/extended range ?

Is the endurance value actually used the the game engine ?

User avatar
Pascal_slith
Posts: 1657
Joined: Wed Aug 20, 2003 2:39 am
Location: In Arizona now!

RE: Endurance or max range

Post by Pascal_slith »

Edurance is a legacy database item from WitP. It is not used (this from my own similar question a couple months back).

You have to enter all the range figures.
So much WitP and so little time to play.... :-(

Image
User avatar
Shark7
Posts: 7936
Joined: Tue Jul 24, 2007 4:11 pm
Location: The Big Nowhere

RE: Endurance or max range

Post by Shark7 »

ORIGINAL: Pascal

Edurance is a legacy database item from WitP. It is not used (this from my own similar question a couple months back).

You have to enter all the range figures.

Actually, I tried it, putting in the endurance with no range data will work, as in a put a plane with 132 minute endurance and it spit it out as having a 6/4/3 range in the game. Still it is probably not completely accurate and you should use the range entries.
Distant Worlds Fan

'When in doubt...attack!'
User avatar
Pascal_slith
Posts: 1657
Joined: Wed Aug 20, 2003 2:39 am
Location: In Arizona now!

RE: Endurance or max range

Post by Pascal_slith »

Then I guess what the devs should have told me was that range figures override the endurance calculation.... [&:]
So much WitP and so little time to play.... :-(

Image
User avatar
Shark7
Posts: 7936
Joined: Tue Jul 24, 2007 4:11 pm
Location: The Big Nowhere

RE: Endurance or max range

Post by Shark7 »

ORIGINAL: Pascal

Then I guess what the devs should have told me was that range figures override the endurance calculation.... [&:]

I can't speak for them, all I can tell you is what I tried and the results I got. I will say that if you plug in range figures, those are what show in the game, but if you don't and simply use endurance it does produce a result.
Distant Worlds Fan

'When in doubt...attack!'
User avatar
n01487477
Posts: 4764
Joined: Tue Feb 21, 2006 12:00 am

RE: Endurance or max range

Post by n01487477 »

Yep, and this is how I work it out in Tracker for those that are not put in ...

final double mile_to_nm = 0.868976;

if ( rangeDTmax == 0 ) {
double maxMiles = theCruiseSpeed * ((float)theEndurance/60);
double toNM = Math.ceil(maxMiles * mile_to_nm);
double rangeDtMax_temp = Math.ceil(toNM/40);
theMaxDTRange = (byte)rangeDtMax_temp;
}
else
theMaxDTRange = rangeDTmax;
Post Reply

Return to “Scenario Design and Modding”