.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT > TO&Es
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old August 17th, 2016, 01:10 AM

jp10 jp10 is offline
Corporal
 
Join Date: Jul 2016
Location: Nashville, TN, USA
Posts: 177
Thanks: 21
Thanked 69 Times in 48 Posts
jp10 is on a distinguished road
Default C-130 carry amount

Since a C-130 can carry a RL capacity of 92 passengers, 72 combat troops or 64 paratroopers is there a game reason why a C-130 has a carry capacity of 55?
Reply With Quote
  #2  
Old August 17th, 2016, 07:27 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,957
Thanks: 465
Thanked 1,899 Times in 1,237 Posts
Mobhack is on a distinguished road
Default Re: C-130 carry amount

Carry is an unsigned byte. 0-255.

The Carry code is further split into 0XX, 1XX, 2XX categories for troops, guns, vehicles.

So that means only 55 maximum items carried (the last 2 digits).

Changing that field to a word (16 bits) would require a new OOB format, new save games format, and a total rewrite of all OOBs, scenarios, saved games etc.
Reply With Quote
The Following 2 Users Say Thank You to Mobhack For This Useful Post:
  #3  
Old August 17th, 2016, 07:37 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,495
Thanks: 3,966
Thanked 5,704 Times in 2,815 Posts
DRG will become famous soon enough
Default Re: C-130 carry amount

Quote:
Originally Posted by jp10 View Post
Since a C-130 can carry a RL capacity of 92 passengers, 72 combat troops or 64 paratroopers is there a game reason why a C-130 has a carry capacity of 55?

Because it's game CC is 255 indicating it can carry troops , guns and vehicles

if it was guns only it could be 192 and it would carry 92 troops and guns/mortars but to give it it's capability to carry vehicles it runs into the do not exceeed game number of 255 becasue that's the highest number the game will accept in that field and changing that would screw up every save game and sceanrio ever built.
There are some c-130's in the game with 164 capacity in nations that would not load a vehicle

Scenario designers can change that to 092 if they like but for the general OOB 255 is the largest number that can be used with vehicle carry capacity

Don
Reply With Quote
The Following 2 Users Say Thank You to DRG For This Useful Post:
  #4  
Old August 17th, 2016, 10:10 AM

dmnt dmnt is offline
Sergeant
 
Join Date: Jan 2010
Location: Espoo, Finland
Posts: 359
Thanks: 56
Thanked 136 Times in 104 Posts
dmnt is on a distinguished road
Default Re: C-130 carry amount

Just asking as this popped to my mind recently but have you considered changing what the interpretation of 2xx codes would be? So that

1-99 = 1-99 grunts, only
101-199 = 1-99 grunts and/or possibly a gun / mortar / big bulky thingy
201-249 = 2-98 grunts and/or possibly a vehicle

So for carry capacity > 200 the number of troops is 2*(carry-200). With big airplanes, hovercrafts etc the number of grunts could be rounded to an even number and live with it as the relative error would be rather low. However, as I have never seen the code, I have no idea if it would require tweaking in one place or if it would require tweaking in 2^16 places. If you think it would be too many hours invested and too little gained gamewise, feel free to wave it off with that.
Reply With Quote
  #5  
Old August 17th, 2016, 11:02 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,957
Thanks: 465
Thanked 1,899 Times in 1,237 Posts
Mobhack is on a distinguished road
Default Re: C-130 carry amount

The carry loading is a nasty bit of code, spread out in various places, so changing it would not be trivial.

Some OObs do have the same transport plane with a 2XX code, so it can carry vehicles (but a restricted number of paras), and a version with a 1XX or 0XX code, which can carry more paras, but not vehicles.

The code is what it is, and will stay that way - since it can be worked around for trivial edge cases like big transport planes, which do not appear that often in play.
Reply With Quote
The Following User Says Thank You to Mobhack For This Useful Post:
  #6  
Old August 17th, 2016, 11:28 AM
Suhiir's Avatar

Suhiir Suhiir is offline
Lieutenant General
 
Join Date: Apr 2007
Location: Salt Lake City, UT
Posts: 2,829
Thanks: 542
Thanked 797 Times in 602 Posts
Suhiir is on a distinguished road
Default Re: C-130 carry amount

One thing I spent a considerable amount of time on when I redid the USMC OOB was vehicle/aircraft/landingcraft carry capacity and the weights of vehicles and helos.

The (more-or-less) default weight of an M1 Abrams is 45-50.
The (more-or-less) default carry capacity of a C-130 is 255.
So in WinSPMBT a C-130 can carry an M1 Abrams ...

When I redid the USMC I made most tanks weigh 55 and limited the carry capacity of anything but large landing craft (LCM-8, LST) to X54 so this could not happen. But a CH-53 can carry a LAV, but not an LVT/AAV ... etc. etc. etc.
To go thru and revise all the OOBs would be a not-so-minor nightmare.
__________________
Suhiir - Wargame Junkie

People should not be afraid of their governments. Governments should be afraid of their people.

"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." - Albert Einstein
Reply With Quote
The Following User Says Thank You to Suhiir For This Useful Post:
  #7  
Old August 18th, 2016, 12:00 AM

jp10 jp10 is offline
Corporal
 
Join Date: Jul 2016
Location: Nashville, TN, USA
Posts: 177
Thanks: 21
Thanked 69 Times in 48 Posts
jp10 is on a distinguished road
Default Re: C-130 carry amount

Thanks, I only need two of the 14 planes to carry vehicles so i changed the carry weight from 255 to 164 and was able to squeeze a few more paratroopers in. I still had to trim some of the squads down but the real unit was at 75% so it is nicely close to the real numbers.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:51 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.