From 12b4f8ccf49bec2027b6ccbe121deea4a2cd4c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Husti=C4=87?= Date: Fri, 9 Oct 2015 00:24:34 +0200 Subject: [PATCH] Programatic YAML upgrade --- mods/cnc/weapons/missiles.yaml | 60 ++++++++++++++--------------- mods/d2k/weapons.yaml | 28 +++++++------- mods/ra/maps/fort-lonestar/map.yaml | 4 +- mods/ra/weapons/missiles.yaml | 50 ++++++++++++------------ mods/ts/weapons/energyweapons.yaml | 4 +- mods/ts/weapons/missiles.yaml | 42 ++++++++++---------- mods/ts/weapons/superweapons.yaml | 4 +- 7 files changed, 96 insertions(+), 96 deletions(-) diff --git a/mods/cnc/weapons/missiles.yaml b/mods/cnc/weapons/missiles.yaml index f6d97efbd4..eccf061eea 100644 --- a/mods/cnc/weapons/missiles.yaml +++ b/mods/cnc/weapons/missiles.yaml @@ -9,10 +9,10 @@ Rockets: Blockable: false Inaccuracy: 128 Image: DRAGON - RateOfTurn: 15 - Trail: smokey + HorizontalRateOfTurn: 15 + TrailImage: smokey ContrailLength: 8 - Speed: 298 + MaximumLaunchSpeed: 298 RangeLimit: 20 Warhead@1Dam: SpreadDamage Spread: 128 @@ -43,10 +43,10 @@ BikeRockets: Blockable: false Inaccuracy: 128 Image: DRAGON - RateOfTurn: 10 - Trail: smokey + HorizontalRateOfTurn: 10 + TrailImage: smokey ContrailLength: 8 - Speed: 213 + MaximumLaunchSpeed: 213 RangeLimit: 30 Warhead@1Dam: SpreadDamage Spread: 128 @@ -78,10 +78,10 @@ OrcaAGMissiles: Blockable: false Inaccuracy: 128 Image: DRAGON - RateOfTurn: 20 - Trail: smokey + HorizontalRateOfTurn: 20 + TrailImage: smokey ContrailLength: 8 - Speed: 256 + MaximumLaunchSpeed: 256 RangeLimit: 30 Warhead@1Dam: SpreadDamage Spread: 128 @@ -112,10 +112,10 @@ OrcaAAMissiles: Blockable: false Inaccuracy: 128 Image: DRAGON - RateOfTurn: 20 - Trail: smokey + HorizontalRateOfTurn: 20 + TrailImage: smokey ContrailLength: 8 - Speed: 298 + MaximumLaunchSpeed: 298 RangeLimit: 30 Warhead@1Dam: SpreadDamage Spread: 128 @@ -143,10 +143,10 @@ MammothMissiles: Blockable: false Inaccuracy: 128 Image: DRAGON - RateOfTurn: 20 - Trail: smokey + HorizontalRateOfTurn: 20 + TrailImage: smokey ContrailLength: 8 - Speed: 341 + MaximumLaunchSpeed: 341 RangeLimit: 35 Warhead@1Dam: SpreadDamage Spread: 298 @@ -216,10 +216,10 @@ MammothMissiles: Blockable: false Inaccuracy: 213 Image: DRAGON - RateOfTurn: 10 - Trail: smokey + HorizontalRateOfTurn: 10 + TrailImage: smokey ContrailLength: 8 - Speed: 213 + MaximumLaunchSpeed: 213 RangeLimit: 40 Warhead@1Dam: SpreadDamage Spread: 128 @@ -248,10 +248,10 @@ BoatMissile: Blockable: false Inaccuracy: 213 Image: DRAGON - RateOfTurn: 10 - Trail: smokey + HorizontalRateOfTurn: 10 + TrailImage: smokey ContrailLength: 8 - Speed: 170 + MaximumLaunchSpeed: 170 RangeLimit: 60 Warhead@1Dam: SpreadDamage Spread: 256 @@ -283,10 +283,10 @@ TowerMissle: Blockable: false Inaccuracy: 128 Image: DRAGON - RateOfTurn: 20 - Trail: smokey + HorizontalRateOfTurn: 20 + TrailImage: smokey ContrailLength: 8 - Speed: 298 + MaximumLaunchSpeed: 298 RangeLimit: 40 Warhead@1Dam: SpreadDamage Spread: 683 @@ -313,10 +313,10 @@ SAMMissile: Arm: 0 Blockable: false Image: MISSILE - RateOfTurn: 20 - Speed: 426 + HorizontalRateOfTurn: 20 + MaximumLaunchSpeed: 426 RangeLimit: 35 - Trail: smokey + TrailImage: smokey ContrailLength: 8 Warhead@1Dam: SpreadDamage Spread: 682 @@ -372,10 +372,10 @@ Patriot: Projectile: Missile Blockable: false Image: patriot - Trail: smokey + TrailImage: smokey ContrailLength: 8 - RateOfTurn: 20 - Speed: 341 + HorizontalRateOfTurn: 20 + MaximumLaunchSpeed: 341 RangeLimit: 30 Warhead@1Dam: SpreadDamage Spread: 682 diff --git a/mods/d2k/weapons.yaml b/mods/d2k/weapons.yaml index 85e50dd447..d68c5ad5f8 100644 --- a/mods/d2k/weapons.yaml +++ b/mods/d2k/weapons.yaml @@ -29,11 +29,11 @@ Bazooka: Report: ROCKET1.WAV ValidTargets: Ground Projectile: Missile - Speed: 281 + MaximumLaunchSpeed: 281 Inaccuracy: 64 Image: RPG - RateOfTurn: 1 - Trail: bazooka_trail2 + HorizontalRateOfTurn: 1 + TrailImage: bazooka_trail2 TrailPalette: effect75alpha TrailInterval: 1 RangeLimit: 35 @@ -236,11 +236,11 @@ Rocket: Projectile: Missile Inaccuracy: 64 Image: RPG - RateOfTurn: 0 - Trail: bazooka_trail2 + HorizontalRateOfTurn: 0 + TrailImage: bazooka_trail2 TrailPalette: effect75alpha TrailInterval: 1 - Speed: 343 + MaximumLaunchSpeed: 343 RangeLimit: 40 Warhead@1Dam: SpreadDamage Spread: 250 @@ -309,12 +309,12 @@ TowerMissile: Projectile: Missile Blockable: false Shadow: true - RateOfTurn: 1 + HorizontalRateOfTurn: 1 Inaccuracy: 384 Image: MISSILE2 - Trail: large_trail + TrailImage: large_trail TrailInterval: 1 - Speed: 320 + MaximumLaunchSpeed: 320 Warhead@1Dam: SpreadDamage Spread: 280 Falloff: 100, 100, 100, 95, 60, 25, 0 @@ -463,13 +463,13 @@ mtank_pri: Report: ROCKET1.WAV ValidTargets: Ground, Air Projectile: Missile - Speed: 281 - RateOfTurn: 3 + MaximumLaunchSpeed: 281 + HorizontalRateOfTurn: 3 Blockable: false Shadow: yes Inaccuracy: 96 Image: MISSILE2 - Trail: large_trail + TrailImage: large_trail TrailInterval: 1 Warhead@1Dam: SpreadDamage Spread: 280 @@ -500,13 +500,13 @@ DeviatorMissile: Report: MISSLE1.WAV InvalidTargets: Infantry, Structure Projectile: Missile - Speed: 281 + MaximumLaunchSpeed: 281 Blockable: false Shadow: yes RateofTurn: 1 Inaccuracy: 256 Image: MISSILE - Trail: deviator_trail + TrailImage: deviator_trail TrailPalette: deviatorgas TrailUsePlayerPalette: true TrailInterval: 1 diff --git a/mods/ra/maps/fort-lonestar/map.yaml b/mods/ra/maps/fort-lonestar/map.yaml index c1966d92ac..5c5244cc8c 100644 --- a/mods/ra/maps/fort-lonestar/map.yaml +++ b/mods/ra/maps/fort-lonestar/map.yaml @@ -817,12 +817,12 @@ Weapons: Burst: 2 ValidTargets: Ground, Air Projectile: Missile - Speed: 128 + MaximumLaunchSpeed: 128 Arm: 2 High: true Shadow: false Proximity: true - Trail: smokey + TrailImage: smokey ContrailLength: 150 Inaccuracy: 853 Image: DRAGON diff --git a/mods/ra/weapons/missiles.yaml b/mods/ra/weapons/missiles.yaml index 3194d04db4..a23cbe777e 100644 --- a/mods/ra/weapons/missiles.yaml +++ b/mods/ra/weapons/missiles.yaml @@ -7,13 +7,13 @@ Maverick: BurstDelay: 7 ValidTargets: Ground, Water Projectile: Missile - Speed: 256 + MaximumLaunchSpeed: 256 Arm: 2 Blockable: false ContrailLength: 10 Inaccuracy: 512 Image: DRAGON - RateOfTurn: 5 + HorizontalRateOfTurn: 5 RangeLimit: 60 Warhead@1Dam: SpreadDamage Spread: 128 @@ -43,14 +43,14 @@ Dragon: Report: MISSILE6.AUD ValidTargets: Ground, Water Projectile: Missile - Speed: 213 + MaximumLaunchSpeed: 213 Arm: 2 Blockable: false - Trail: smokey + TrailImage: smokey ContrailLength: 10 Inaccuracy: 128 Image: DRAGON - RateOfTurn: 5 + HorizontalRateOfTurn: 5 RangeLimit: 35 Warhead@1Dam: SpreadDamage Spread: 128 @@ -82,13 +82,13 @@ HellfireAG: BurstDelay: 10 ValidTargets: Ground, Water Projectile: Missile - Speed: 256 + MaximumLaunchSpeed: 256 Arm: 2 Blockable: false ContrailLength: 10 Inaccuracy: 128 Image: DRAGON - RateOfTurn: 10 + HorizontalRateOfTurn: 10 RangeLimit: 20 Warhead@1Dam: SpreadDamage Spread: 128 @@ -120,13 +120,13 @@ HellfireAA: BurstDelay: 10 ValidTargets: Air Projectile: Missile - Speed: 384 + MaximumLaunchSpeed: 384 Arm: 2 Blockable: false ContrailLength: 10 Inaccuracy: 128 Image: DRAGON - RateOfTurn: 10 + HorizontalRateOfTurn: 10 RangeLimit: 20 Warhead@1Dam: SpreadDamage Spread: 128 @@ -156,13 +156,13 @@ MammothTusk: Burst: 2 ValidTargets: Air, Infantry Projectile: Missile - Speed: 341 + MaximumLaunchSpeed: 341 Arm: 2 Blockable: false ContrailLength: 10 Inaccuracy: 128 Image: DRAGON - RateOfTurn: 15 + HorizontalRateOfTurn: 15 RangeLimit: 40 Warhead@1Dam: SpreadDamage Spread: 256 @@ -199,9 +199,9 @@ Nike: Blockable: false ContrailLength: 10 Image: MISSILE - RateOfTurn: 25 + HorizontalRateOfTurn: 25 RangeLimit: 50 - Speed: 341 + MaximumLaunchSpeed: 341 Warhead@1Dam: SpreadDamage Spread: 128 Damage: 50 @@ -227,9 +227,9 @@ RedEye: Blockable: false ContrailLength: 10 Image: MISSILE - RateOfTurn: 20 + HorizontalRateOfTurn: 20 RangeLimit: 30 - Speed: 298 + MaximumLaunchSpeed: 298 Warhead@1Dam: SpreadDamage Spread: 128 Damage: 40 @@ -291,9 +291,9 @@ Stinger: Blockable: false ContrailLength: 10 Image: DRAGON - RateOfTurn: 20 + HorizontalRateOfTurn: 20 RangeLimit: 50 - Speed: 170 + MaximumLaunchSpeed: 170 Warhead@1Dam: SpreadDamage Spread: 128 Damage: 30 @@ -331,9 +331,9 @@ StingerAA: Blockable: false ContrailLength: 10 Image: DRAGON - RateOfTurn: 20 + HorizontalRateOfTurn: 20 RangeLimit: 50 - Speed: 255 + MaximumLaunchSpeed: 255 Warhead@1Dam: SpreadDamage Spread: 128 Damage: 30 @@ -369,9 +369,9 @@ TorpTube: Projectile: Missile Image: MISSILE Arm: 3 - Speed: 85 - Trail: bubbles - RateOfTurn: 1 + MaximumLaunchSpeed: 85 + TrailImage: bubbles + HorizontalRateOfTurn: 1 RangeLimit: 160 BoundToTerrainType: Water Palette: shadow @@ -441,14 +441,14 @@ APTusk: Report: MISSILE6.AUD ValidTargets: Ground, Water Projectile: Missile - Speed: 298 + MaximumLaunchSpeed: 298 Arm: 2 Blockable: false - Trail: smokey + TrailImage: smokey ContrailLength: 10 Inaccuracy: 128 Image: DRAGON - RateOfTurn: 10 + HorizontalRateOfTurn: 10 RangeLimit: 22 Warhead@1Dam: SpreadDamage Spread: 128 diff --git a/mods/ts/weapons/energyweapons.yaml b/mods/ts/weapons/energyweapons.yaml index 489a883005..5d64bc5966 100644 --- a/mods/ts/weapons/energyweapons.yaml +++ b/mods/ts/weapons/energyweapons.yaml @@ -61,9 +61,9 @@ CyCannon: Report: SCRIN5B.AUD ValidTargets: Ground Projectile: Missile - Speed: 192 + MaximumLaunchSpeed: 192 Blockable: false - RateOfTurn: 2 + HorizontalRateOfTurn: 2 Shadow: true Image: TORPEDO Warhead@1Dam: SpreadDamage diff --git a/mods/ts/weapons/missiles.yaml b/mods/ts/weapons/missiles.yaml index 93c05509fa..9853813d56 100644 --- a/mods/ts/weapons/missiles.yaml +++ b/mods/ts/weapons/missiles.yaml @@ -5,13 +5,13 @@ Bazooka: Report: RKETINF1.AUD ValidTargets: Ground, Air Projectile: Missile - Speed: 213 + MaximumLaunchSpeed: 213 Blockable: false Shadow: true Inaccuracy: 128 Image: DRAGON - Trail: small_smoke_trail - RateOfTurn: 8 + TrailImage: small_smoke_trail + HorizontalRateOfTurn: 8 RangeLimit: 50 Palette: ra Warhead@1Dam: SpreadDamage @@ -48,14 +48,14 @@ HoverMissile: Report: HOVRMIS1.AUD ValidTargets: Ground, Air Projectile: Missile - Speed: 213 + MaximumLaunchSpeed: 213 Arm: 2 Blockable: false Shadow: true Inaccuracy: 128 Image: DRAGON - Trail: small_smoke_trail - RateOfTurn: 8 + TrailImage: small_smoke_trail + HorizontalRateOfTurn: 8 RangeLimit: 35 Palette: ra Warhead@1Dam: SpreadDamage @@ -96,9 +96,9 @@ MammothTusk: Shadow: true Inaccuracy: 128 Image: DRAGON - Trail: small_smoke_trail - RateOfTurn: 10 - Speed: 213 + TrailImage: small_smoke_trail + HorizontalRateOfTurn: 10 + MaximumLaunchSpeed: 213 RangeLimit: 50 Palette: ra Warhead@1Dam: SpreadDamage @@ -135,9 +135,9 @@ BikeMissile: Shadow: true Inaccuracy: 128 Image: DRAGON - Trail: small_smoke_trail - RateOfTurn: 8 - Speed: 213 + TrailImage: small_smoke_trail + HorizontalRateOfTurn: 8 + MaximumLaunchSpeed: 213 RangeLimit: 50 Palette: ra Warhead@1Dam: SpreadDamage @@ -170,14 +170,14 @@ Dragon: Report: MISL1.AUD ValidTargets: Ground, Air Projectile: Missile - Speed: 171 + MaximumLaunchSpeed: 171 Arm: 2 Blockable: false Shadow: true Inaccuracy: 128 Image: DRAGON - Trail: small_smoke_trail - RateOfTurn: 8 + TrailImage: small_smoke_trail + HorizontalRateOfTurn: 8 RangeLimit: 50 Palette: ra Warhead@1Dam: SpreadDamage @@ -214,14 +214,14 @@ Hellfire: Burst: 2 ValidTargets: Ground Projectile: Missile - Speed: 256 + MaximumLaunchSpeed: 256 Arm: 2 Blockable: false Shadow: true Inaccuracy: 128 Image: DRAGON - Trail: small_smoke_trail - RateOfTurn: 8 + TrailImage: small_smoke_trail + HorizontalRateOfTurn: 8 RangeLimit: 35 Palette: ra Warhead@1Dam: SpreadDamage @@ -257,14 +257,14 @@ RedEye2: Report: SAMSHOT1.AUD ValidTargets: Air Projectile: Missile - Speed: 384 + MaximumLaunchSpeed: 384 Arm: 2 Blockable: false Shadow: true Inaccuracy: 128 Image: DRAGON - Trail: small_smoke_trail - RateOfTurn: 5 + TrailImage: small_smoke_trail + HorizontalRateOfTurn: 5 RangeLimit: 100 Palette: ra Warhead@1Dam: SpreadDamage diff --git a/mods/ts/weapons/superweapons.yaml b/mods/ts/weapons/superweapons.yaml index 24e75d7bd6..2d3143a87f 100644 --- a/mods/ts/weapons/superweapons.yaml +++ b/mods/ts/weapons/superweapons.yaml @@ -4,13 +4,13 @@ MultiCluster: Report: MISL1.AUD ValidTargets: Ground Projectile: Missile - Speed: 170 + MaximumLaunchSpeed: 170 Arm: 2 Blockable: false Shadow: true Inaccuracy: 128 Image: DRAGON - RateOfTurn: 8 + HorizontalRateOfTurn: 8 RangeLimit: 35 Palette: ra Warhead@1Dam: SpreadDamage