ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Talk:SAM

From ModEnc
Jump to navigation Jump to search

Aircraft designated as targets must not exist in the [General]PadAircraft= list;

  • Otherwise, the SAM will not even aim.

Aircraft designated as targets cannot have a valid building in their Dock list;

  • Otherwise, the SAM can only rotate its turret but cannot actually fire.

However, even so, the SAM can only fire its weapons normally when the target aircraft is in a hover state. Once the aircraft moves, it will only occasionally fire a few shots under specific conditions and the frequency of re-locking and turret rotation in this case does not adhere to the weapon's ROF settings, nor is it a fixed value. Even the aforementioned situation of suddenly firing a few shots can occur without facing the target, even if there is no [Weapon]OmniFire=yes. Additionally, SAM enforces attacks only on aerial targets, meaning it cannot fire at targets that have landed on the ground, even if they do not have LandTargeting=1.

Currently measured:

  1. In the YR1.001+Ares3.0p1+PhobosBuild#45 environment
    • it is functioning normally.
  2. In the YR1.001+Ares3.0p1+KratosPPv0.1.15 environment
    • the SAM building will be prohibited from acquiring targets
      • (the author of KratosPP stated that this part was not modified at all, and the author does not understand this logic either).
  3. In the YR1.001+Ares3.0p1+PhobosBuild#45+KratosPPv0.1.15 environment
    • the SAM can acquire targets normally
      • but firing will immediately trigger a Fatal Error.
DeathFish (talk) 07:19, 14 January 2025 (UTC)

Alternative solutions

(For YR only) Because the SAM tag has many limitations If you want give BuildingTypes (AA Tower) The fake SAM=yes effect can be used
I recommend that you use the Natural=yes tag for BuildingTypes (AA Tower) And use the tag Unnatural=yes for InfantryTypes,VehicleTypes,AircraftTypes All that can fly.

-Testid123 02:15, 18 January 2025