Difference between revisions of "Restrict"

From Ashes of the Singularity - Official Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Units, buildings Orbital Abilities and Upgrades can all be restricted in scenarios, but these will only effect the player. It is not possible to limit what the AI can and can't do, with exceptions of certain categories such as air units or Juggernauts using the [[Missions (scripting)|Mission]] tags. The following is all the assets than can be restricted.
+
Units, buildings Orbital Abilities and Upgrades can all be restricted in scenarios, but these will only effect the player. It is not possible to limit what the AI can and can't do, with exceptions of certain categories such as air units or Juggernauts using the [[Missions (scripting)|Mission]] tags. Individiual assets can be enabled or disabled, or entire sections can be set with the "All" ID. A restriction that is below will overwrite what is above, which is useful for example, enabling all units but then disabling one specific unit. The following is everything that can be restricted:
'''
 
Substrate'''
 
  
<Restrict Type="Building" ID="All"                      Enable="0"  />
+
 
 +
 
 +
'''Substrate'''
 +
 
 +
    <Restrict Type="Building" ID="All"                      Enable="0"  />
  
 
     <!--Resources-->
 
     <!--Resources-->
Line 29: Line 31:
 
     <Restrict Type="Building" ID="SS_DroneMRV"              Enable="1"  />
 
     <Restrict Type="Building" ID="SS_DroneMRV"              Enable="1"  />
 
     <Restrict Type="Building" ID="SS_Regenerator"          Enable="1"  />
 
     <Restrict Type="Building" ID="SS_Regenerator"          Enable="1"  />
<Restrict Type="Building" ID="SS_AvatarHeavyAnnihilator"      Enable="1"  />
+
    <Restrict Type="Building" ID="SS_AvatarHeavyAnnihilator"      Enable="1"  />
 
     <Restrict Type="Building" ID="SS_AvatarExterminatorTurret"    Enable="1"  />  
 
     <Restrict Type="Building" ID="SS_AvatarExterminatorTurret"    Enable="1"  />  
 
     <Restrict Type="Building" ID="SS_AvatarSkyEnderTurret"        Enable="1"  />
 
     <Restrict Type="Building" ID="SS_AvatarSkyEnderTurret"        Enable="1"  />
Line 65: Line 67:
 
     <Restrict Type="Unit" ID="SS_2_Caregiver"      Enable="1"  />
 
     <Restrict Type="Unit" ID="SS_2_Caregiver"      Enable="1"  />
 
     <Restrict Type="Unit" ID="SS_2_Masochist"      Enable="1"  />
 
     <Restrict Type="Unit" ID="SS_2_Masochist"      Enable="1"  />
<Restrict Type="Unit" ID="SS_2_MobileNullifier"  Enable="1"  />
+
    <Restrict Type="Unit" ID="SS_2_MobileNullifier"  Enable="1"  />
  
 
     <Restrict Type="Unit" ID="SS_A_Dominator"      Enable="1"  />
 
     <Restrict Type="Unit" ID="SS_A_Dominator"      Enable="1"  />
Line 82: Line 84:
  
  
     <!--RESEARCH-->
+
     <!--RESEARCH--> Even Substrate Quantum Upgrades has the "PHC_Tech" in front of it.
 
     <Restrict Type="Research" ID="All"                    Enable="1"/>
 
     <Restrict Type="Research" ID="All"                    Enable="1"/>
 
      
 
      
Line 110: Line 112:
 
     <Restrict Type="Orbital" ID="CallOrbitalJam"      Enable="1"  />
 
     <Restrict Type="Orbital" ID="CallOrbitalJam"      Enable="1"  />
  
'''
+
 
PHC'''
+
'''PHC'''
 
  <!-- NEXUS UNITS -->
 
  <!-- NEXUS UNITS -->
 
     <Restrict Type="Unit" ID="PHC_2_Engineer"        Enable="1"/>
 
     <Restrict Type="Unit" ID="PHC_2_Engineer"        Enable="1"/>
Line 173: Line 175:
 
     <Restrict Type="Building" ID="PHC_DroneBay"        Enable="1"/>
 
     <Restrict Type="Building" ID="PHC_DroneBay"        Enable="1"/>
 
     <Restrict Type="Building" ID="PHC_RepairBay"        Enable="1"/>
 
     <Restrict Type="Building" ID="PHC_RepairBay"        Enable="1"/>
<Restrict Type="Building" ID="PHC_SapperTurret"    Enable="1"/>
+
    <Restrict Type="Building" ID="PHC_SapperTurret"    Enable="1"/>
<Restrict Type="Building" ID="PHC_SapperArtilleryPost"    Enable="1"/>
+
    <Restrict Type="Building" ID="PHC_SapperArtilleryPost"    Enable="1"/>
<Restrict Type="Building" ID="PHC_SapperBarragerTurret"    Enable="1"/>
+
    <Restrict Type="Building" ID="PHC_SapperBarragerTurret"    Enable="1"/>
<Restrict Type="Building" ID="PHC_SapperOblivionTurret"    Enable="1"/>
+
    <Restrict Type="Building" ID="PHC_SapperOblivionTurret"    Enable="1"/>
<Restrict Type="Building" ID="PHC_SapperEliminatorTurret"    Enable="1"/>
+
    <Restrict Type="Building" ID="PHC_SapperEliminatorTurret"    Enable="1"/>
<Restrict Type="Building" ID="PHC_SapperFalcon"    Enable="1"/>
+
    <Restrict Type="Building" ID="PHC_SapperFalcon"    Enable="1"/>
  
 
     <!-- ORBITAL BUILDINGS -->
 
     <!-- ORBITAL BUILDINGS -->
Line 189: Line 191:
  
 
     <!-- RESEARCH -->
 
     <!-- RESEARCH -->
<Restrict Type="Research" ID="All"                    Enable="1"/>
+
    <Restrict Type="Research" ID="All"                    Enable="1"/>
 
     <Restrict Type="Research" ID="PHC_Tech_Logistics"    Enable="1"/>
 
     <Restrict Type="Research" ID="PHC_Tech_Logistics"    Enable="1"/>
 
     <Restrict Type="Research" ID="PHC_Tech_MetalStore"    Enable="1"/>
 
     <Restrict Type="Research" ID="PHC_Tech_MetalStore"    Enable="1"/>

Latest revision as of 05:44, 22 February 2018

Units, buildings Orbital Abilities and Upgrades can all be restricted in scenarios, but these will only effect the player. It is not possible to limit what the AI can and can't do, with exceptions of certain categories such as air units or Juggernauts using the Mission tags. Individiual assets can be enabled or disabled, or entire sections can be set with the "All" ID. A restriction that is below will overwrite what is above, which is useful for example, enabling all units but then disabling one specific unit. The following is everything that can be restricted:


Substrate

   <Restrict Type="Building" ID="All"                      Enable="0"   />
   <Restrict Type="Building" ID="SS_MetalExtractor"        Enable="1"   />
   <Restrict Type="Building" ID="SS_RadioactivesExtractor" Enable="1"   />
   <Restrict Type="Building" ID="SS_PowerAmplifier"        Enable="1"   />
   <Restrict Type="Building" ID="SS_QuantumArchive"        Enable="1"   />
   <Restrict Type="Building" ID="SS_Assembly"              Enable="1"   />
   <Restrict Type="Building" ID="SS_AdvancedAssembly"      Enable="1"   />
   <Restrict Type="Building" ID="SS_Aviary"                Enable="1"   />    
   <Restrict Type="Building" ID="SS_ListeningPost"         Enable="1"   />
   <Restrict Type="Building" ID="SS_Annihilator"           Enable="1"   />
   <Restrict Type="Building" ID="SS_HeavyAnnihilator"      Enable="1"   />
   <Restrict Type="Building" ID="SS_PulverizerTurret"      Enable="1"   /> 
   <Restrict Type="Building" ID="SS_ExterminatorTurret"    Enable="1"   />
   <Restrict Type="Building" ID="SS_BlossomLauncher"       Enable="1"   />
   <Restrict Type="Building" ID="SS_SkyEnderTurret"        Enable="1"   />
   <Restrict Type="Building" ID="SS_StarburstTurret"       Enable="1"   />
   <Restrict Type="Building" ID="SS_ShredderTurret"        Enable="1"   />
   <Restrict Type="Building" ID="SS_DisruptorCannon"       Enable="1"   />
   <Restrict Type="Building" ID="SS_DroneMRV"              Enable="1"   />
   <Restrict Type="Building" ID="SS_Regenerator"           Enable="1"   />
   <Restrict Type="Building" ID="SS_AvatarHeavyAnnihilator"      Enable="1"   />
   <Restrict Type="Building" ID="SS_AvatarExterminatorTurret"    Enable="1"   /> 
   <Restrict Type="Building" ID="SS_AvatarSkyEnderTurret"        Enable="1"   />
   <Restrict Type="Building" ID="SS_AvatarStarburstTurret"       Enable="1"   />
   <Restrict Type="Building" ID="SS_AvatarShredderTurret"        Enable="1"   />
   <Restrict Type="Building" ID="SS_AvatarDisruptorCannon"       Enable="1"   />


   <Restrict Type="Building" ID="SS_EnergyModulator"   Enable="1"   />
   <Restrict Type="Building" ID="SS_SubspaceStreamer"           Enable="1"   />
   <Restrict Type="Building" ID="SS_Gateway"               Enable="1"   />
   <Restrict Type="Building" ID="SS_OrbitalDroneRelay"     Enable="1"   />
   <Restrict Type="Building" ID="SS_QuantumJammer"         Enable="1"   />


   <Restrict Type="Unit" ID="All"                 Enable="0" />
   <Restrict Type="Unit" ID="SS_2_Construction"   Enable="1"  />
   <Restrict Type="Unit" ID="SS_A_Harvester"      Enable="1"  />
   <Restrict Type="Unit" ID="SS_1_Martyr"         Enable="1"  />
   <Restrict Type="Unit" ID="SS_1_Reaper"         Enable="1"  />
   <Restrict Type="Unit" ID="SS_1_Capacitor"      Enable="1"  />
   <Restrict Type="Unit" ID="SS_1_SkyCleanser"             Enable="1"  />
   <Restrict Type="Unit" ID="SS_2_Destructor"     Enable="1"  />
   <Restrict Type="Unit" ID="SS_2_Avenger"        Enable="1"  />
   <Restrict Type="Unit" ID="SS_2_DroneHive"      Enable="1"  />
   <Restrict Type="Unit" ID="SS_2_Mauler"         Enable="1"  />
   <Restrict Type="Unit" ID="SS_2_Eradicator"     Enable="1"  />
   <Restrict Type="Unit" ID="SS_2_Caregiver"      Enable="1"  />
   <Restrict Type="Unit" ID="SS_2_Masochist"      Enable="1"  />
   <Restrict Type="Unit" ID="SS_2_MobileNullifier"   Enable="1"  />
   <Restrict Type="Unit" ID="SS_A_Dominator"      Enable="1"  />
   <Restrict Type="Unit" ID="SS_A_Punisher"       Enable="1"  />
   <Restrict Type="Unit" ID="SS_A_Searcher"       Enable="1"  />
   <Restrict Type="Unit" ID="SS_3_Overmind"     Enable="1"  />
   <Restrict Type="Unit" ID="SS_3_Retributor"     Enable="1"  />
   <Restrict Type="Unit" ID="SS_3_Savager"        Enable="1"  />
   <Restrict Type="Unit" ID="SS_4_NestOfTheQueen" Enable="1"  />
   <Restrict Type="Unit" ID="SS_A_AirRampager"    Enable="1"  />
   <Restrict Type="Unit" ID="SS_A_AirHarbinger"   Enable="1"  />


    Even Substrate Quantum Upgrades has the "PHC_Tech" in front of it. 
   <Restrict Type="Research" ID="All"                    Enable="1"/>
   
   <Restrict Type="Research" ID="PHC_Tech_Logistics"     Enable="1"/>
   <Restrict Type="Research" ID="PHC_Tech_UnitWeapons"   Enable="1"/>
   <Restrict Type="Research" ID="PHC_Tech_UnitArmor"     Enable="1"/>
   <Restrict Type="Research" ID="PHC_Tech_Sensors"       Enable="1"/>
   <Restrict Type="Research" ID="PHC_Tech_Factories"     Enable="1"/>
   <Restrict Type="Research" ID="PHC_Tech_BuildingArmor" Enable="1"/>


   <Restrict Type="Orbital" ID="All"                    Enable="0"  />
   <Restrict Type="Orbital" ID="CallSensorDrone"        Enable="1"  />
   <Restrict Type="Orbital" ID="SS_CallNanoMeshArmor"   Enable="1"  />
   <Restrict Type="Orbital" ID="OverchargeOrbital"      Enable="1"  />
   <Restrict Type="Orbital" ID="BoostOrbital"           Enable="1"  />
   <Restrict Type="Orbital" ID="CallSerpentineTurret"   Enable="1"  />
   <Restrict Type="Orbital" ID="SS_CallNanoTransport"   Enable="1"  />
   <Restrict Type="Orbital" ID="CallSaboteur"           Enable="1"  />
   <Restrict Type="Orbital" ID="CallAvatar"             Enable="1"  />
   <Restrict Type="Orbital" ID="KillOrbital"            Enable="1"  />
   <Restrict Type="Orbital" ID="CallDroneSwarm"         Enable="1"  />
   <Restrict Type="Orbital" ID="DetonateOrbital"        Enable="1"  />
   <Restrict Type="Orbital" ID="AreaShieldRegen"        Enable="1"  />
   <Restrict Type="Orbital" ID="CallOrbitalJam"      Enable="1"  />


PHC

   <Restrict Type="Unit" ID="PHC_2_Engineer"        Enable="1"/>
   <Restrict Type="Unit" ID="PHC_A_Instigator"      Enable="1"/>
   <Restrict Type="Unit" ID="PHC_1_Hermes"          Enable="1"/>
   <Restrict Type="Unit" ID="PHC_1_Archer"            Enable="1"/>
   <Restrict Type="Unit" ID="PHC_1_Brute"          Enable="1"/>
   <Restrict Type="Unit" ID="PHC_1_Medic"        Enable="1"/>
   <Restrict Type="Unit" ID="PHC_2_Artemis"         Enable="1"/>
   <Restrict Type="Unit" ID="PHC_2_Apollo"          Enable="1"/>
   <Restrict Type="Unit" ID="PHC_2_Nemesis"         Enable="1"/>
   <Restrict Type="Unit" ID="PHC_2_Zeus"            Enable="1"/>
   <Restrict Type="Unit" ID="PHC_2_Athena"          Enable="1"/>
   <Restrict Type="Unit" ID="PHC_2_Hera"            Enable="1"/>
   <Restrict Type="Unit" ID="PHC_2_MobileNullifier" Enable="1"/>
   <Restrict Type="Unit" ID="PHC_2_Charon"          Enable="1"/>
   <Restrict Type="Unit" ID="PHC_3_Hyperion"        Enable="1"/>
   <Restrict Type="Unit" ID="PHC_3_Cronus"         Enable="1"/>
   <Restrict Type="Unit" ID="PHC_3_Prometheus"      Enable="1"/>
   <Restrict Type="Unit" ID="PHC_4_Leonidas"        Enable="0"/>
   <Restrict Type="Unit" ID="PHC_A_Fury"            Enable="1"/>
   <Restrict Type="Unit" ID="PHC_A_Hades"           Enable="1"/>
   <Restrict Type="Unit" ID="PHC_A_Pan"             Enable="1"/>
   <Restrict Type="Unit" ID="PHC_A_AirMarauder"     Enable="1"/>
   <Restrict Type="Unit" ID="PHC_A_AirStratBomber"  Enable="1"/>
   <Restrict Type="Building" ID="PHC_MetalExtractor" Enable="1"/>
   <Restrict Type="Building" ID="PHC_RadioactivesExtractor"     Enable="1"/>
   <Restrict Type="Building" ID="PHC_QuantumRelay" Enable="1"/>
   <Restrict Type="Building" ID="PHC_Refinery"      Enable="1"/> 
   <Restrict Type="Building" ID="PHC_PowerAmplifier" Enable="1"/>
   <Restrict Type="Building" ID="PHC_Factory"        Enable="1"/>
   <Restrict Type="Building" ID="PHC_Armory"     Enable="1"/>
   <Restrict Type="Building" ID="PHC_SkyFactory"     Enable="1"/>
   <Restrict Type="Building" ID="PHC_AdvSkyFactory"  Enable="1"/>
   <Restrict Type="Building" ID="PHC_DreadLaunch" Enable="1"/>
   <Restrict Type="Building" ID="PHC_Sensor"           Enable="1"/>
   <Restrict Type="Building" ID="PHC_Smarties"         Enable="1"/>
   <Restrict Type="Building" ID="PHC_BarragerTurret"   Enable="1"/>
   <Restrict Type="Building" ID="PHC_ArtilleryPost"        Enable="1"/>
   <Restrict Type="Building" ID="PHC_Sentinel"         Enable="1"/>
   <Restrict Type="Building" ID="PHC_OblivionTurret"   Enable="1"/>
   <Restrict Type="Building" ID="PHC_Constable"        Enable="1"/>
   <Restrict Type="Building" ID="PHC_Falcon"           Enable="1"/>
   <Restrict Type="Building" ID="PHC_EliminatorTurret" Enable="1"/>
   <Restrict Type="Building" ID="PHC_DroneBay"         Enable="1"/>
   <Restrict Type="Building" ID="PHC_RepairBay"        Enable="1"/>
   <Restrict Type="Building" ID="PHC_SapperTurret"     Enable="1"/>
   <Restrict Type="Building" ID="PHC_SapperArtilleryPost"     Enable="1"/>
   <Restrict Type="Building" ID="PHC_SapperBarragerTurret"     Enable="1"/>
   <Restrict Type="Building" ID="PHC_SapperOblivionTurret"     Enable="1"/>
   <Restrict Type="Building" ID="PHC_SapperEliminatorTurret"     Enable="1"/>
   <Restrict Type="Building" ID="PHC_SapperFalcon"     Enable="1"/>
   <Restrict Type="Building" ID="PHC_OrbitalFabricator"      Enable="1"/> 
   <Restrict Type="Building" ID="PHC_WeaponsLab"  Enable="1"/>
   <Restrict Type="Building" ID="PHC_PowerRegulator"   Enable="1"/>
   <Restrict Type="Building" ID="PHC_OrbitalCommand"     Enable="1"/>
   <Restrict Type="Building" ID="PHC_EnergyProjector"      Enable="1"/>
   <Restrict Type="Building" ID="PHC_OrbitalNullifier"           Enable="1"/>
   <Restrict Type="Research" ID="All"                    Enable="1"/>
   <Restrict Type="Research" ID="PHC_Tech_Logistics"     Enable="1"/>
   <Restrict Type="Research" ID="PHC_Tech_MetalStore"    Enable="1"/>
   <Restrict Type="Research" ID="PHC_Tech_DataStore"     Enable="1"/>
   <Restrict Type="Research" ID="PHC_Tech_UnitWeapons"   Enable="1"/>
   <Restrict Type="Research" ID="PHC_Tech_UnitArmor"     Enable="1"/>
   <Restrict Type="Research" ID="PHC_Tech_Sensors"       Enable="1"/>
   <Restrict Type="Research" ID="PHC_Tech_BuildingArmor" Enable="1"/>
   <Restrict Type="Orbital" ID="ScanProjector"         Enable="1"/>
   <Restrict Type="Orbital" ID="CallEmergencyTurret"   Enable="1"/>
   <Restrict Type="Orbital" ID="RushOrbital"           Enable="1"/>
   <Restrict Type="Orbital" ID="AmplifyOrbital"        Enable="1"/>
   <Restrict Type="Orbital" ID="PHC_CallNanoMeshArmor" Enable="1"/>
   <Restrict Type="Orbital" ID="AreaHeal"              Enable="1"/>
   <Restrict Type="Orbital" ID="CallEngineer"          Enable="1"/>
   <Restrict Type="Orbital" ID="CallOrbitalJam"        Enable="1"/>
   <Restrict Type="Orbital" ID="PlasmaStorm"           Enable="1"/>
   <Restrict Type="Orbital" ID="Incursion"             Enable="1"/>
   <Restrict Type="Orbital" ID="OrbitalStrike"         Enable="1"/>
   <Restrict Type="Orbital" ID="CallCarvingTurret"     Enable="1"/>
   <Restrict Type="Orbital" ID="EMPPulse"              Enable="1"/>
   <Restrict Type="Orbital" ID="CallProbe"             Enable="1"/>
   <Restrict Type="Orbital" ID="CallSapper"            Enable="1"/>