TheSuperHackers / GeneralsGamePatch

Community Patch to fix and improve original Generals Zero Hour 1.04
Other
60 stars 19 forks source link

Sniper can shoot empty GLA Stinger Site, but not empty USA Firebase #1590

Open xezon opened 1 year ago

xezon commented 1 year ago

Sniper can shoot empty GLA Stinger Site, but not empty USA Firebase.

xezon commented 1 year ago

It is not clear to me what behavior is ultimately preferred.

Stinger Site behavior pro:

Stinger Site behavior contra:

I was not able to streamline behavior either way.

Object GLAStingerSite
  Body = HiveStructureBody ModuleTag_04
    SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON
  End
End

Removing this entry from Stinger Site will apply SNIPER damage to structure. Adding it to Firebase will change nothing.

MTKing4 commented 1 year ago

They're two different buildings with different properties, stinger respawns units automatically, that's why it always shoots at it, firebase is different and is loaded manually, there's no reason to standardize the two