TheSuperHackers/GeneralsGamePatch

Ambulance and Propaganda Tower swallow Emergency Repair burst

Opened this issue · 7 comments

commy2 commented
repair.mp4
xezon commented

Does the same happen with Ambulance Repair?

commy2 commented

Yes. All repairs.

shot_20230801_200946_2

xezon commented

Ok. I expect that we would require a flag in AutoHealBehavior module to allow stacking. Many other auto heals do not need to stack.

A remotely related issue is

commy2 commented
It works despite Junk Repair.

shot_20230801_202135_3

It also works despite Vet 2 repair

shot_20230801_202255_4

It also works despite Factory repair

shot_20230801_202442_5

xezon commented

It works despite Junk Repair.

Ok this is surprising.

Junk Repair

  Behavior = AutoHealBehavior ModuleTag_05
    HealingAmount = 2
    HealingDelay = 1000 ; msec
    TriggeredBy = Upgrade_GLAJunkRepair
  End

Ambulance

  Behavior = AutoHealBehavior ModuleTag_22
    HealingAmount     = 4
    HealingDelay      = 1000 ; msec
    Radius            = 100.0
    StartsActive      = Yes
    KindOf            = INFANTRY
  End
  Behavior = AutoHealBehavior ModuleTag_23
    HealingAmount     = 5
    HealingDelay      = 1000 ; msec
    Radius            = 100.0
    StartsActive      = Yes
    KindOf            = VEHICLE
    ForbiddenKindOf   = AIRCRAFT
    SkipSelfForHealing = Yes
  End

Setups are similar. Curious why it acts differently.

commy2 commented

Veterancy and Junk Repair are modules on the object to repair, Emergency Repair and Ambulance is modules on another object nearby.

Factory repair is hard-coded stuff.

Just spitballing.

xezon commented

Hmm yeah perhaps the stacking originally only works on self + 1x remote heal.