View Single Post
  #6  
Old December 8th, 2008, 07:18 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,989
Thanks: 486
Thanked 1,923 Times in 1,251 Posts
Mobhack is on a distinguished road
Default Re: ammo cannisters buggers

Quote:
Originally Posted by thatguy96 View Post
Quote:
Originally Posted by RERomine View Post
I'm not sure you can edit the OOB to get around this either. The weight of an ammo canister is zero, same as an infantry unit, so the code must restrict loading ammo carrier types(56) on parachute transport types(60). That being the case, if you really need ammo dropped with your troops, I would buy a glider
Negative. Canisters show "0" but for some odd reason they're not. Their crew is also not relative to their actual weight. They require a carry capacity of 106 or more. I had to figure this out by incrementally increasing carry capacity in WinSPMBT while modding, and I just set the carry capacity to 128 in WinSPWWII and the C-47 could carry the canister just fine.
Ammo units are are ammo carrier unit class.

The ammo carrier is a vehicle class.

We wrote special kludge code for loading them that allows loading containers onto a 1XX load class as if guns/weapons rather than a 2XX class. (That it is a container and not an ammo truck is determined from crew count and I think unit size, and having speed 0).

(With the new loading code for air drops, these as crewed units will likely also now split into an abandoned unit and a crew which both parachute separately and need to be re-linked on landing, assuming no casualties, to work.)

Cheers
Andy
Reply With Quote