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

QuarryTypes: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Crimsonum (talk | contribs)
Created page with "<blockquote>''There are various target types that teams and special weapons can be assigned to attack. These are general target categories since the actual disposition of pote..."
 
Crimsonum (talk | contribs)
No edit summary
Line 2: Line 2:


Quarry types is a feature first introduced in {{ra}}. As explained by the above comment in the game's source code, they are used to specify general target categories for AI [[teams]] and [[SpecialWeapons|special weapons]] ([[SuperWeaponTypes|super weapons]] in later games).
Quarry types is a feature first introduced in {{ra}}. As explained by the above comment in the game's source code, they are used to specify general target categories for AI [[teams]] and [[SpecialWeapons|special weapons]] ([[SuperWeaponTypes|super weapons]] in later games).
== Usage ==


Quarry types are used as a parameter in at least two places:
Quarry types are used as a parameter in at least two places:

Revision as of 07:41, 17 February 2023

There are various target types that teams and special weapons can be assigned to attack. These are general target categories since the actual disposition of potential targets cannot be precisely predicted -- thus these serve as guidelines for the computer AI.
Red Alert source

Quarry types is a feature first introduced in Red Alert. As explained by the above comment in the game's source code, they are used to specify general target categories for AI teams and special weapons (super weapons in later games).

Usage

Quarry types are used as a parameter in at least two places:

Available QuarryTypes

Red Alert

Index QuarryType Description
0 QUARRY_NONE None or invalid, cancels attack mission
1 QUARRY_ANYTHING Any enemy building or unit (same as "hunt")
2 QUARRY_BUILDINGS Any enemy building
3 QUARRY_HARVESTERS Any enemy Ore Miner
4 QUARRY_INFANTRY Any enemy infantry
5 QUARRY_VEHICLES Any enemy ground vehicle
6 QUARRY_VESSELS Any enemy ship
7 QUARRY_FACTORIES Any enemy factory
8 QUARRY_DEFENSE Any enemy defense building
9 QUARRY_THREAT Any enemy objects approaching (or already in) its base and which are in an attack mission
10 QUARRY_POWER Any enemy power facility
11 QUARRY_FAKES Any enemy fake building

Tiberian Sun to Yuri's Revenge

Index QuarryType Description
0 QUARRY_NONE None or invalid, cancels attack mission
1 QUARRY_ANYTHING Any enemy building or unit (same as "hunt")
2 QUARRY_BUILDINGS Any enemy building
3 QUARRY_HARVESTERS Any enemy Harvester or Ore Miner
4 QUARRY_INFANTRY Any enemy infantry
5 QUARRY_VEHICLES Any enemy ground vehicle
6 QUARRY_FACTORIES Any enemy factory
7 QUARRY_DEFENSE Any enemy defense building
8 QUARRY_THREAT Any enemy objects approaching (or already in) its base and which are in an attack mission
9 QUARRY_POWER Any enemy power facility
Red Alert 2 additions
10 QUARRY_OCCUPIABLE1 Any building that can be occupied
11 QUARRY_TECH1 Any tech building

Notes

  • 1 Presumed internal name.