GeneralsGamePatch icon indicating copy to clipboard operation
GeneralsGamePatch copied to clipboard

USA Pilot has non-functional Chemical Suit upgrade and crashes the game

Open xezon opened this issue 4 years ago • 7 comments

USA Pilot has non-functional Chemical Suit upgrade.

GeneralCamo:

I may have figured out a method to grant Pilots the benefits of Chemical Suits. Use a different upgrade, that spawns a decal under the pilot and grants them an armor boost. That upgrade is granted by an object that is spawned from the strategy center when Chemical Suits is researched. This avoids the issue with ArmorUpgrade crashing the game with Upgrade_AmericaChemicalSuits when a vetted pilot spawns. The only side effect I can see is that due to how these decals would work (FS_FAKE), the chem suit decal on the pilot would not be visible to enemy players.

Crashes the game when a vetted infantry spawns from a vehicle:

  Behavior                = ArmorUpgrade ModuleTag_Armor01
    TriggeredBy           = Upgrade_AmericaChemicalSuits
  End

Does not crash the game:

  Behavior                = ArmorUpgrade ModuleTag_Armor01
    TriggeredBy           = Upgrade_DifferentOne
  End

xezon avatar Sep 22 '21 06:09 xezon

I think this should be implemented. I also don't think it's a major issue. Pilots are definitely intended to benefit from the upgrade since they have the upgrade cameo for it.

kajxqeirscl avatar Aug 06 '23 15:08 kajxqeirscl

When does the crash manifest? Research Chemical Suits and then kill a promoted vehicle?

xezon avatar Aug 11 '23 05:08 xezon

Yes. When Pilot with decal emerges from promoted US vehicle.

commy2 avatar Aug 11 '23 07:08 commy2

Ok I just realized that Chemical Suits is disabled on Pilot in retail. So luckily this crash will not occur. Therefore this is not a big deal.

xezon avatar Aug 11 '23 12:08 xezon

that's what i thought, cause i've never seen this crash occur before

MTKing4 avatar Aug 11 '23 13:08 MTKing4

The OP explains it.

commy2 avatar Aug 11 '23 13:08 commy2