Jump to content

SAM

From ModEnc²
Revision as of 23:42, 23 January 2025 by en>4SG (Removed chatter and irrelevant updates about engine extensions. Condensed the page notes.)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: SAM
File(s): Rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: BuildingTypes


Can be set to 'yes' or 'no' and determines that this BuildingType is a SAM (surface to air missile launcher) and thus its weapons can only fire at AircraftTypes.


Note

This is unused in Red Alert 2 as the use of this means that the structure will not fire InfantryTypes,VehicleTypes with JumpJet=yes set or acquire them as targets - it will only target AircraftTypes.

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 two rounds 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.

In other words, SAM targets can only be Aircraft that have AirportBound=yes, Dock=none, and have taken off.