diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index 32e980eb24..d42732d996 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -170,8 +170,13 @@ Beach: 80 SelectionDecorations: Selectable: + Bounds: 12,18,0,-6 TargetableUnit: TargetTypes: Ground, Infantry, Disguise + TakeCover: + DamageModifiers: + Prone50Percent: 50 + DamageTriggers: TriggerProne RenderSprites: WithInfantryBody: WithDeathAnimation: @@ -457,8 +462,6 @@ ^CivInfantry: Inherits: ^Infantry - Selectable: - Bounds: 12,17,0,-9 Valued: Cost: 70 Tooltip: @@ -479,6 +482,7 @@ ScaredyCat: Voiced: VoiceSet: CivilianMaleVoice + -TakeCover: ^CivBuilding: Inherits: ^TechBuilding diff --git a/mods/ra/rules/infantry.yaml b/mods/ra/rules/infantry.yaml index d5315b335b..9ee1b21237 100644 --- a/mods/ra/rules/infantry.yaml +++ b/mods/ra/rules/infantry.yaml @@ -43,8 +43,6 @@ E1: Tooltip: Name: Rifle Infantry Description: General-purpose infantry.\n Strong vs Infantry\n Weak vs Vehicles - Selectable: - Bounds: 12,17,0,-9 Health: HP: 50 Mobile: @@ -57,9 +55,6 @@ E1: MuzzleSequence: garrison-muzzle AttackFrontal: TakeCover: - DamageModifiers: - Prone50Percent: 50 - DamageTriggers: TriggerProne WithInfantryBody: IdleSequences: idle1,idle2 StandSequences: stand,stand2 @@ -76,8 +71,6 @@ E2: Tooltip: Name: Grenadier Description: Infantry armed with grenades. \n Strong vs Buildings, Infantry\n Weak vs Vehicles - Selectable: - Bounds: 12,17,0,-9 Health: HP: 50 Mobile: @@ -92,9 +85,6 @@ E2: FireDelay: 15 AttackFrontal: TakeCover: - DamageModifiers: - Prone50Percent: 50 - DamageTriggers: TriggerProne WithInfantryBody: IdleSequences: idle1,idle2 StandSequences: stand,stand2 @@ -114,8 +104,6 @@ E3: Tooltip: Name: Rocket Soldier Description: Anti-tank/Anti-aircraft infantry.\n Strong vs Tanks, Aircraft\n Weak vs Infantry - Selectable: - Bounds: 12,17,0,-9 Health: HP: 45 Mobile: @@ -131,9 +119,6 @@ E3: Weapon: Dragon AttackFrontal: TakeCover: - DamageModifiers: - Prone50Percent: 50 - DamageTriggers: TriggerProne WithInfantryBody: IdleSequences: idle1,idle2 StandSequences: stand,stand2 @@ -150,8 +135,6 @@ E4: Tooltip: Name: Flamethrower Description: Advanced anti-structure unit.\n Strong vs Infantry, Buildings\n Weak vs Vehicles - Selectable: - Bounds: 12,17,0,-9 Health: HP: 40 Mobile: @@ -165,9 +148,6 @@ E4: Weapon: Flamer AttackFrontal: TakeCover: - DamageModifiers: - Prone50Percent: 50 - DamageTriggers: TriggerProne WithInfantryBody: IdleSequences: idle1,idle2 StandSequences: stand,stand2 @@ -184,8 +164,6 @@ E6: Tooltip: Name: Engineer Description: Infiltrates and captures enemy structures.\n Strong vs Nothing\n Weak vs Everything - Selectable: - Bounds: 12,17,0,-9 Health: HP: 25 Mobile: @@ -196,11 +174,8 @@ E6: RepairsBridges: ExternalCaptures: Type: building - TakeCover: - DamageModifiers: - Prone50Percent: 50 - DamageTriggers: TriggerProne -AutoTarget: + TakeCover: WithInfantryBody: IdleSequences: idle1,idle2 StandSequences: stand,stand2 @@ -221,8 +196,6 @@ SPY: Name: Spy GenericName: Soldier Description: Infiltrates enemy structures for intel or\nsabotage. Exact effect depends on the\nbuilding infiltrated.\n Strong vs Nothing\n Weak vs Everything\n Special Ability: Disguised - Selectable: - Bounds: 12,17,0,-9 Health: HP: 25 Mobile: @@ -232,9 +205,6 @@ SPY: Passenger: PipType: Yellow TakeCover: - DamageModifiers: - Prone50Percent: 50 - DamageTriggers: TriggerProne Disguise: Infiltrates: Types: SpyInfiltrate @@ -251,6 +221,7 @@ SPY: SPY.England: Inherits: SPY + TakeCover: WithDisguisingInfantryBody: Buildable: Prerequisites: ~infantry.england, dome, ~tent, ~techlevel.medium @@ -274,8 +245,6 @@ E7: Tooltip: Name: Tanya Description: Elite commando infantry. Armed with\ndual pistols and C4.\n Strong vs Infantry, Buildings\n Weak vs Vehicles\n Special Ability: Destroy Building with C4\n\nMaximum 1 can be trained - Selectable: - Bounds: 12,17,0,-9 Health: HP: 100 Mobile: @@ -297,9 +266,6 @@ E7: MuzzleSequence: garrison-muzzle AttackFrontal: TakeCover: - DamageModifiers: - Prone50Percent: 50 - DamageTriggers: TriggerProne WithInfantryBody: IdleSequences: idle1,idle2 AnnounceOnBuild: @@ -319,8 +285,6 @@ MEDI: Tooltip: Name: Medic Description: Heals nearby infantry.\n Strong vs Nothing\n Weak vs Everything - Selectable: - Bounds: 12,17,0,-9 Health: HP: 80 Mobile: @@ -336,9 +300,6 @@ MEDI: Cursor: heal OutsideRangeCursor: heal TakeCover: - DamageModifiers: - Prone50Percent: 50 - DamageTriggers: TriggerProne -AutoTarget: WithInfantryBody: IdleSequences: idle1,idle2 @@ -358,8 +319,6 @@ MECH: Tooltip: Name: Mechanic Description: Repairs nearby vehicles and restores\nhusks to working condition.\n Strong vs Nothing\n Weak vs Everything - Selectable: - Bounds: 12,17,0,-9 Health: HP: 80 Mobile: @@ -377,9 +336,6 @@ MECH: Captures: CaptureTypes: husk TakeCover: - DamageModifiers: - Prone50Percent: 50 - DamageTriggers: TriggerProne -AutoTarget: WithInfantryBody: IdleSequences: idle1,idle2 @@ -389,8 +345,6 @@ MECH: EINSTEIN: Inherits: ^Infantry - Selectable: - Bounds: 12,17,0,-9 Valued: Cost: 10 Tooltip: @@ -402,6 +356,7 @@ EINSTEIN: RevealsShroud: Range: 2c0 -AutoTarget: + -TakeCover: ProximityCaptor: Types: CivilianInfantry WithInfantryBody: @@ -411,8 +366,6 @@ EINSTEIN: DELPHI: Inherits: ^Infantry - Selectable: - Bounds: 12,17,0,-9 Valued: Cost: 10 Tooltip: @@ -424,6 +377,7 @@ DELPHI: RevealsShroud: Range: 2c0 -AutoTarget: + -TakeCover: ProximityCaptor: Types: CivilianInfantry WithInfantryBody: @@ -451,8 +405,6 @@ THF: Tooltip: Name: Thief Description: Steals enemy credits.\n Strong vs Nothing\n Weak vs Everything\n - Selectable: - Bounds: 12,17,0,-9 Health: HP: 25 Mobile: @@ -464,9 +416,6 @@ THF: Infiltrates: InfiltrateTypes: Cash TakeCover: - DamageModifiers: - Prone50Percent: 50 - DamageTriggers: TriggerProne -AutoTarget: Voiced: VoiceSet: ThiefVoice @@ -483,8 +432,6 @@ HIJACKER: Tooltip: Name: Hijacker Description: Hijacks enemy vehicles. Unarmed\n Strong vs Tanks\n Weak vs Infantry, Aircraft - Selectable: - Bounds: 12,17,0,-9 Health: HP: 50 Mobile: @@ -498,6 +445,7 @@ HIJACKER: -AutoTarget: Voiced: VoiceSet: ThiefVoice + -TakeCover: SHOK: Inherits: ^Infantry @@ -511,8 +459,6 @@ SHOK: Tooltip: Name: Shock Trooper Description: Elite infantry with portable tesla coils.\n Strong vs Infantry\n Weak vs Aircraft - Selectable: - Bounds: 12,17,0,-9 Health: HP: 100 Mobile: @@ -527,9 +473,6 @@ SHOK: Weapon: PortaTesla AttackFrontal: TakeCover: - DamageModifiers: - Prone50Percent: 50 - DamageTriggers: TriggerProne WithInfantryBody: IdleSequences: idle1,idle2 StandSequences: stand,stand2 @@ -548,8 +491,6 @@ SNIPER: BuildAtProductionType: Soldier BuildPaletteOrder: 80 Prerequisites: ~disabled - Selectable: - Bounds: 12,17,0,-6 Mobile: Speed: 56 Health: @@ -568,9 +509,6 @@ SNIPER: MuzzleSequence: garrison-muzzle AttackFrontal: TakeCover: - DamageModifiers: - Prone50Percent: 50 - DamageTriggers: TriggerProne WithInfantryBody: IdleSequences: idle1,idle2 StandSequences: stand,stand2 @@ -595,8 +533,6 @@ Zombie: Queue: Infantry BuildPaletteOrder: 200 Prerequisites: ~bio - Selectable: - Bounds: 12,17,0,-9 Health: HP: 250 Mobile: