View Single Post
  #48  
Old April 19th, 2021, 08:57 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is offline
Major
 
Join Date: Jun 2005
Posts: 1,076
Thanks: 77
Thanked 348 Times in 236 Posts
MarkSheppard is on a distinguished road
Default Re: Blitzkrieg Banzai? (SP1 Conversion)

Version 3.1 with Unit Weapon Type Dumping.

LINK - 110 MB ZIP

It may interest you to know that the python file that I created to handle all the transliteration tasks for the weapon types is 786 kb and 13,500~ lines of IF codebreaks that are like this:

Quote:
if MOB_NUMBER == 12:
if WEAPON_NUMBER == 1: WeaponName = "Sniper Rifle"
if WEAPON_NUMBER == 2: WeaponName = "Pistol"
if WEAPON_NUMBER == 3: WeaponName = "M2 Carbine"
if WEAPON_NUMBER == 4: WeaponName = "M1 Rifle"
if WEAPON_NUMBER == 5: WeaponName = "M3A1 SMG"
if WEAPON_NUMBER == 6: WeaponName = "Colt SMG"
if WEAPON_NUMBER == 7: WeaponName = "M14 Rifle"
if WEAPON_NUMBER == 8: WeaponName = "M16A1 Rifle"
if WEAPON_NUMBER == 9: WeaponName = "M16A2 Rifle"
if WEAPON_NUMBER == 10: WeaponName = "M4 Carbine"
if WEAPON_NUMBER == 11: WeaponName = "BAR"
if WEAPON_NUMBER == 12: WeaponName = "M14 SAW"
if WEAPON_NUMBER == 13: WeaponName = "M249 SAW"
if WEAPON_NUMBER == 14: WeaponName = "7.62mm M60 LMG"
if WEAPON_NUMBER == 15: WeaponName = "Bazooka"
if WEAPON_NUMBER == 16: WeaponName = "Super Bazooka"
if WEAPON_NUMBER == 17: WeaponName = "Rifle-Grenade"
if WEAPON_NUMBER == 18: WeaponName = "RPG-7"
if WEAPON_NUMBER == 19: WeaponName = "Blindicide"
if WEAPON_NUMBER == 20: WeaponName = "M72 LAW"
if WEAPON_NUMBER == 21: WeaponName = "PZF-44"

Last edited by MarkSheppard; April 20th, 2021 at 01:18 PM..
Reply With Quote
The Following User Says Thank You to MarkSheppard For This Useful Post: