View Single Post
  #96  
Old Yesterday, 05:35 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is online now
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,482
Thanks: 107
Thanked 723 Times in 479 Posts
MarkSheppard is on a distinguished road
Default Re: Blitzkrieg Banzai? (SP1 Conversion)

OK, the bug is:

Byte 127 in each unit's Section 1 portion is the "maximum fire range"; which when bought by the in-game editor; sets it to the maximum fire range of the longest ranged weapon in the unit's inventory.

Thus; for a Headquarters unit with M16 Rifle, it gets set to 8.

If it's a M48A2 Patton, it gets set to 88.

Because I didn't have any information on Byte 127, my tool(s) were writing them as zero (0) which led to the bug.

Currently rearchitecting the program to include weapon ranges in the database (only weapon names are currently in).
Reply With Quote
The Following User Says Thank You to MarkSheppard For This Useful Post: