Skip to content

Commit

Permalink
Fixed Mk-77 crash issue #408
Browse files Browse the repository at this point in the history
Changed bomb scheme to bomb-parashute.
Changed Ma and Mw to have the containers behave more realistically in
the air.
  • Loading branch information
08jne01 committed Sep 12, 2021
1 parent 285187e commit fe1fbcb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion A-4E-C/ExternalFM/FM/Hashes.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ static WCHAR* files[] = {
};

static BYTE hashes[][32] = {
{0x2c,0x97,0x98,0x2f,0xb6,0xbf,0x64,0x68,0x14,0x37,0xad,0x8b,0x74,0x43,0x75,0xe4,0x36,0xcd,0x41,0xe6},
{0x2d,0x02,0xa2,0xcf,0x76,0x4d,0x4c,0x59,0x85,0x35,0x1c,0x54,0xdf,0x58,0xc8,0x85,0x91,0x48,0xf0,0x5c},
{0x6e,0xb1,0x3b,0xcc,0x5e,0x6c,0x4f,0x7b,0xed,0x41,0xef,0x8a,0x77,0x1d,0x17,0xf2,0xc0,0xef,0x3a,0xb3},
{0xa8,0xf7,0x0b,0xa4,0xcf,0x94,0xeb,0x38,0x36,0x69,0x26,0x11,0x61,0x35,0xb3,0x07,0x0c,0x16,0x30,0x67},
{0x76,0x0a,0x96,0x5c,0xff,0x3d,0x20,0x51,0xc0,0x2e,0x9a,0x79,0x72,0xe6,0x67,0x1b,0x20,0x5b,0x6e,0x92}
Expand Down
16 changes: 8 additions & 8 deletions A-4E-C/Weapons/A4E_Weapons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -675,8 +675,8 @@ mk77mod0 =
name = "MK77mod0-WPN",
model = "A4E_Mk77mod0",
user_name = _("Mk-77 mod 0"),
wsTypeOfWeapon = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A, WSTYPE_PLACEHOLDER},
scheme = "bomb-common",
wsTypeOfWeapon = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Fire, WSTYPE_PLACEHOLDER},
scheme = "bomb-parashute",
class_name = "wAmmunitionBallute",
type = 0,
mass = 340,
Expand All @@ -692,8 +692,8 @@ mk77mod0 =
cx_factor = 1,
L = 1.05,
I = 33.282267,
Ma = 2.746331,
Mw = 2.146083,
Ma = -0.1,--2.746331,
Mw = 0.1,--2.146083,
wind_time = 1000.000000,
wind_sigma = 80.000000,
},
Expand Down Expand Up @@ -783,8 +783,8 @@ mk77mod1 =
name = "MK77mod1-WPN",
model = "A4E_Mk77mod1",
user_name = _("Mk-77 mod 1"),
wsTypeOfWeapon = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A, WSTYPE_PLACEHOLDER},
scheme = "bomb-common",
wsTypeOfWeapon = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Fire, WSTYPE_PLACEHOLDER},
scheme = "bomb-parashute",
class_name = "wAmmunitionBallute",
type = 0,
mass = 230,
Expand All @@ -800,8 +800,8 @@ mk77mod1 =
cx_factor = 1,
L = 1.05,
I = 33.282267,
Ma = 2.746331,
Mw = 2.146083,
Ma = -0.1,--2.746331,
Mw = 0.1,--2.146083,
wind_time = 1000.000000,
wind_sigma = 80.000000,
},
Expand Down
Binary file modified A-4E-C/bin/A-4E-C.dll
Binary file not shown.

0 comments on commit fe1fbcb

Please sign in to comment.