Skip to content

Commit

Permalink
Disabling Hind and undoing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Punsho authored and Punsho committed May 31, 2019
1 parent c168b33 commit 45cf272
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 26 deletions.
38 changes: 21 additions & 17 deletions mods/ra/rules/aircraft.yaml
Expand Up @@ -85,7 +85,7 @@ MIG:
Buildable:
Queue: Aircraft
BuildAtProductionType: Plane
BuildPaletteOrder: 60
BuildPaletteOrder: 50
Prerequisites: ~afld, stek, ~techlevel.high
BuildDurationModifier: 50
Description: Fast Ground-Attack Plane.\n Strong vs Buildings, Vehicles\n Weak vs Infantry, Aircraft
Expand Down Expand Up @@ -275,7 +275,7 @@ HELI:
Buildable:
Queue: Aircraft
BuildAtProductionType: Helicopter
BuildPaletteOrder: 50
BuildPaletteOrder: 40
Prerequisites: ~hpad, atek, ~techlevel.high
BuildDurationModifier: 50
Description: Helicopter gunship armed\nwith multi-purpose missiles.\n Strong vs Buildings, Vehicles, Aircraft\n Weak vs Infantry
Expand Down Expand Up @@ -340,46 +340,43 @@ HIND:
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
Buildable:
Queue: Aircraft
BuildAtProductionType: Plane
BuildPaletteOrder: 40
Prerequisites: ~afld, ~techlevel.medium
Description: Fast infantry transport helicopter\narmed with dual chainguns.\n Strong vs Infantry\n Weak vs Tanks, Aircraft
BuildAtProductionType: Helicopter
BuildPaletteOrder: 20
Prerequisites: ~disabled ~hpad, ~techlevel.medium
Description: Helicopter gunship armed\nwith dual chainguns.\n Strong vs Infantry, Light armor\n Weak vs Tanks, Aircraft
Valued:
Cost: 1000
Cost: 1500
Tooltip:
Name: Hind
UpdatesPlayerStatistics:
AddToArmyValue: true
Health:
HP: 10000
RevealsShroud:
Range: 9c0
Range: 10c0
Type: GroundPosition
RevealGeneratedShroud: False
RevealsShroud@GAPGEN:
Range: 7c0
Range: 8c0
Type: GroundPosition
Armament@PRIMARY:
Weapon: PChainGun
Weapon: ChainGun
LocalOffset: 85,-213,-85, 85,213,-85
MuzzleSequence: muzzle
PauseOnCondition: !ammo
Armament@SECONDARY:
Name: secondary
Weapon: PChainGun
Weapon: ChainGun
LocalOffset: 85,213,-85, 85,-213,-85
MuzzleSequence: muzzle
PauseOnCondition: !ammo
AttackAircraft:
FacingTolerance: 20
PersistentTargeting: false
Aircraft:
LandWhenIdle: false
TurnSpeed: 4
Speed: 112
LandableTerrainTypes: Clear,Rough,Road,Ore,Beach,Gems
AltitudeVelocity: 0c58
Cargo:
Types: Infantry
MaxWeight: 4
PipCount: 4
AutoTarget:
InitialStance: HoldFire
InitialStanceAI: HoldFire
Expand All @@ -389,6 +386,11 @@ HIND:
WithIdleOverlay@ROTORGROUND:
Sequence: slow-rotor
RequiresCondition: !airborne
AmmoPool:
Ammo: 24
PipCount: 6
ReloadDelay: 8
AmmoCondition: ammo
SelectionDecorations:
WithMuzzleOverlay:
SpawnActorOnDeath:
Expand All @@ -399,6 +401,8 @@ HIND:
Prerequisites: aircraft.upgraded
Selectable:
DecorationBounds: 38,32
Rearmable:
RearmActors: hpad

U2:
Inherits: ^NeutralPlane
Expand Down
9 changes: 0 additions & 9 deletions mods/ra/weapons/smallcaliber.yaml
Expand Up @@ -215,15 +215,6 @@ ChainGun:
Versus:
None: 144

PChainGun:
Inherits: ChainGun
ReloadDelay: 25
Warhead@1Dam: SpreadDamage
Damage: 1000
Warhead@3EffWater: CreateEffect
Explosions: water_piffs
InvalidTargets: Ship, Structure, Bridge

ChainGun.Yak:
Inherits: ^HeavyMG
ReloadDelay: 3
Expand Down

0 comments on commit 45cf272

Please sign in to comment.