From 43dc5bbf70fa7740224992d46ba19d25f0eadbcb Mon Sep 17 00:00:00 2001 From: psydev Date: Sun, 14 Apr 2013 13:37:40 -0700 Subject: [PATCH 01/13] added separate explosions.yaml for weapons --- mods/d2k/mod.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/d2k/mod.yaml b/mods/d2k/mod.yaml index bff601d868..117b5c532d 100644 --- a/mods/d2k/mod.yaml +++ b/mods/d2k/mod.yaml @@ -67,6 +67,9 @@ ChromeLayout: mods/ra/chrome/cheats.yaml Weapons: + mods/d2k/weapons/defaults.yaml + mods/d2k/weapons/misc.yaml + mods/d2k/weapons/explosions.yaml mods/d2k/weapons.yaml Voices: From 24a09b1eb7ced6c530d3daa46e7cb8c66dca8498 Mon Sep 17 00:00:00 2001 From: psydev Date: Sun, 14 Apr 2013 13:42:06 -0700 Subject: [PATCH 02/13] explosions added in weapons/ folder; defaults l8r --- mods/d2k/weapons/defaults.yaml | 188 +++++++++++++++++++++++++++++++ mods/d2k/weapons/explosions.yaml | 105 +++++++++++++++++ 2 files changed, 293 insertions(+) create mode 100644 mods/d2k/weapons/defaults.yaml create mode 100644 mods/d2k/weapons/explosions.yaml diff --git a/mods/d2k/weapons/defaults.yaml b/mods/d2k/weapons/defaults.yaml new file mode 100644 index 0000000000..848a946fc4 --- /dev/null +++ b/mods/d2k/weapons/defaults.yaml @@ -0,0 +1,188 @@ +# to do: explosion animations, spreads + + + +### Warheads + +W_Bullets: # Machine Guns + Report: MGUN2 #machine gun burst sound + Warhead: + Spread: 3 + Versus: + None: 100% + Wood: 75% + Light: 40% + Heavy: 20% + Concrete: 10% + Explosion: piffs + InfDeath: 2 + +W_Bazooka: + Warhead: + Spread: 3 + Versus: + None: 8% + Wood: 45% + Light: 70% + Heavy: 100% + Concrete: 75% + InfDeath: 4 + Explosion: med_explosion + WaterExplosion: med_splash + ImpactSound: kaboom12 + +W_HE: # Grenadier, siege tank + Warhead: + Spread: 12 + Versus: + None: 125% + Wood: 70% + Light: 30% + Heavy: 20% + Concrete: 100% + # vvv below taken from 155mm + InfDeath: 3 + Explosion: self_destruct + WaterExplosion: large_splash + ImpactSound: explsml2 + SmudgeType: SandCrater, RockCrater + +W_GT_AT: # Sardaukar & Fremen's longer range weapons + Warhead: + Spread: 3 + Versus: + None: 25% + Wood: 65% + Light: 100% + Heavy: 50% + Concrete: 100% + InfDeath: 4 + Explosion: med_explosion + WaterExplosion: med_splash + ImpactSound: kaboom12 + SmudgeType: SandCrater, RockCrater + +W_AT: # Tank shells, gun turret + Warhead: + Spread: 3 + Versus: + None: 20% + Wood: 60% + Light: 100% + Heavy: 75% + Concrete: 50% + Explosion: med_explosion + ImpactSound: kaboom30 + InfDeath: 4 + SmudgeType: SandCrater, RockCrater + +W_AT_Mis: # Rocket Launcher, tower missile + Warhead: + Spread: 8 + Versus: + None: 15% + Wood: 65% + Light: 90% + Heavy: 100% + Concrete: 75% + InfDeath: 4 + Explosion: large_explosion + WaterExplosion: med_splash + ImpactSound: explsml1 + SmudgeType: SandCrater, RockCrater + +W_Deviate + Warhead: + Spread: 8 + Versus: + None: 20% + Wood: 20% + Light: 20% + Heavy: 20% + Concrete: 20% + Explosion: med_explosion + WaterExplosion: med_splash + +W_Sonic + Warhead: + Spread: 6 + Versus: + None: 100% + Wood: 100% + Light: 100% + Heavy: 60% + Concrete: 50% + Explosion: med_explosion + WaterExplosion: med_splash + +W_Plasma: + Warhead: + Spread: 3 + Versus: + None: 100% + Wood: 100% + Light: 60% + Heavy: 50% + Concrete: 100% + Explosion: med_explosion + WaterExplosion: med_splash + + + + +### Projectiles + +P_Bullets: #from M60mg + Projectile: Bullet + Speed: 100 + ContrailLength: 3 + TrailInterval: 1 + ContrailDelay: 0 + ContrailUsePlayerColor: true + +P_OneShot: #from Sniper + Report: RIFLE + Projectile: Bullet + Speed: 150 + ContrailLength: 6 + TrailInterval: 1 + ContrailDelay: 0 + ContrailUsePlayerColor: true + +P_Bazooka: #From bazooka/1st (dragon?) + Projectile: Missile + Speed: 25 + Arm: 2 + High: true + Shadow: yes + Proximity: true + Trail: smokey + Inaccuracy: 3 + Image: DRAGON + ROT: 5 + RangeLimit: 35 + +P_Rocket: #From QuadRockets + Projectile: Missile + Arm: 0 + High: yes + Shadow: yes + Proximity: yes + Inaccuracy: 3 + Image: DRAGON + ROT: 10 + Trail: smokey + Speed: 40 + RangeLimit: 40 + +P_Missile: #From 227mm + Projectile: Bullet + Speed: 20 + Arm: 5 + High: yes + Shadow: yes + Inaccuracy: 55 + Angle: 0.2 + Image: MISSILE + ROT: 5 + ContrailLength: 5 \ No newline at end of file diff --git a/mods/d2k/weapons/explosions.yaml b/mods/d2k/weapons/explosions.yaml new file mode 100644 index 0000000000..02130bef6c --- /dev/null +++ b/mods/d2k/weapons/explosions.yaml @@ -0,0 +1,105 @@ +Crush: + Warhead: + ImpactSound: CRUSH1 + Damage: 100 + +Demolish: + Warhead: + ImpactSound: EXPLLG2 + Explosion: building + +Atomic: + Warhead: + Damage: 1000 + Spread: 60 + Versus: + None: 20% + Wood: 100% + Light: 25% + Heavy: 25% + Concrete: 75% + Explosion: nuke + InfDeath: 5 + ImpactSound: EXPLLG2 + +CrateNuke: + Warhead: + Damage: 800 + Spread: 50 + Versus: + None: 20% + Wood: 75% + Light: 25% + Heavy: 25% + Concrete: 50% + Explosion: nuke + InfDeath: 5 + ImpactSound: EXPLLG2 + +CrateExplosion: + Warhead: + Damage: 400 + Spread: 10 + Versus: + None: 90% + Wood: 75% + Light: 60% + Heavy: 25% + Explosion: building + WaterExplosion: building + InfDeath: 4 + ImpactSound: EXPLSML4 + +UnitExplode: + Warhead: + Damage: 500 + Spread: 10 + Versus: + None: 90% + Wood: 75% + Light: 60% + Heavy: 25% + Explosion: building + WaterExplosion: large_splash + InfDeath: 4 + ImpactSound: EXPLMD1 + +UnitExplodeSmall: + Warhead: + Damage: 60 + Spread: 10 + Versus: + None: 90% + Wood: 75% + Light: 60% + Heavy: 25% + Explosion: self_destruct + InfDeath: 4 + ImpactSound: EXPLHG1, EXPLLG1, EXPLMD1, EXPLSML4 + +UnitExplodeTiny: + Warhead: + Damage: 30 + Spread: 7 + Versus: + None: 90% + Wood: 75% + Light: 60% + Heavy: 25% + Explosion: large_explosion + InfDeath: 4 + ImpactSound: EXPLMD2, EXPLSML1, EXPLSML2, EXPLSML3 + +UnitExplodeScale: + Warhead: + Damage: 90 + Spread: 13 + Versus: + None: 90% + Wood: 75% + Light: 60% + Heavy: 25% + Explosion: building + InfDeath: 4 + ImpactSound: EXPLLG2, EXPLLG3, EXPLLG5 + From a3458735fc91371cb4a8af5e33ea4c0427a088cb Mon Sep 17 00:00:00 2001 From: psydev Date: Sun, 14 Apr 2013 13:45:12 -0700 Subject: [PATCH 03/13] cleaning up pre-requisites: refinery --- mods/d2k/rules/structures.yaml | 4 +++- mods/d2k/rules/vehicles.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mods/d2k/rules/structures.yaml b/mods/d2k/rules/structures.yaml index fce4faf0c0..a517f7bc38 100644 --- a/mods/d2k/rules/structures.yaml +++ b/mods/d2k/rules/structures.yaml @@ -51,6 +51,8 @@ Type: Wood RevealsShroud: Range: 4 + ProvidesCustomPrerequisite: + Prerequisite: Power ^BARRACKS: Inherits: ^Building @@ -219,7 +221,7 @@ RESEARCH: CustomSellValue: Value: 500 ProvidesCustomPrerequisite: - Prerequisite: Spice Refinery + Prerequisite: Refinery FreeActor: Actor: HARVESTER InitialActivity: FindResources diff --git a/mods/d2k/rules/vehicles.yaml b/mods/d2k/rules/vehicles.yaml index f466832af7..52b606979f 100644 --- a/mods/d2k/rules/vehicles.yaml +++ b/mods/d2k/rules/vehicles.yaml @@ -47,7 +47,7 @@ HARVESTER: Inherits: ^Vehicle Buildable: Queue: Armor - Prerequisites: Heavy Factory,Spice Refinery + Prerequisites: Heavy Factory,Refinery Owner: atreides, harkonnen, ordos BuiltAt: heavya, heavyh, heavyo BuildPaletteOrder: 10 From dc5d7747df3cec111d23f188bdf365fceae44b83 Mon Sep 17 00:00:00 2001 From: psydev Date: Sun, 14 Apr 2013 15:59:01 -0700 Subject: [PATCH 04/13] rename e3 weapon 'bazooka'; removing aa for now --- mods/d2k/rules/infantry.yaml | 7 ++----- mods/d2k/weapons.yaml | 31 +------------------------------ 2 files changed, 3 insertions(+), 35 deletions(-) diff --git a/mods/d2k/rules/infantry.yaml b/mods/d2k/rules/infantry.yaml index 9d38fd2f41..513080489e 100644 --- a/mods/d2k/rules/infantry.yaml +++ b/mods/d2k/rules/infantry.yaml @@ -72,11 +72,8 @@ BAZOOKA: HP: 45 Mobile: Speed: 4 - Armament@PRIMARY: - Weapon: RedEye - LocalOffset: 0,0,555 - Armament@SECONDARY: - Weapon: Dragon + Armament: + Weapon: Bazooka LocalOffset: 0,0,555 AttackFrontal: TakeCover: diff --git a/mods/d2k/weapons.yaml b/mods/d2k/weapons.yaml index 7a7c32490c..46df4ff372 100644 --- a/mods/d2k/weapons.yaml +++ b/mods/d2k/weapons.yaml @@ -19,7 +19,7 @@ LMG: InfDeath: 2 Damage: 15 -Dragon: +Bazooka: ROF: 50 Range: 5 Report: BAZOOK1 @@ -50,35 +50,6 @@ Dragon: Damage: 50 ImpactSound: kaboom12 -RedEye: - ROF: 50 - Range: 8 - Report: BAZOOK1 - ValidTargets: Air - Projectile: Missile - Arm: 3 - High: true - Shadow: true - Proximity: true -# Trail: smokey - ContrailLength: 10 - Image: MISSILE - ROT: 20 - RangeLimit: 30 - Speed: 40 - Warhead: - Spread: 3 - Versus: - None: 90% - Wood: 75% - Light: 60% - Heavy: 25% - Explosion: med_explosion - InfDeath: 3 - SmudgeType: SandCrater, RockCrater - Damage: 60 - ImpactSound: kaboom12 - Sniper: ROF: 100 Range: 8.5 From d1796a17d45c31df1a9da3423267a03b6583885d Mon Sep 17 00:00:00 2001 From: psydev Date: Sun, 14 Apr 2013 16:05:52 -0700 Subject: [PATCH 05/13] necessary fix for mod.yaml... was broken --- mods/d2k/mod.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/mods/d2k/mod.yaml b/mods/d2k/mod.yaml index 117b5c532d..30aa17706c 100644 --- a/mods/d2k/mod.yaml +++ b/mods/d2k/mod.yaml @@ -68,7 +68,6 @@ ChromeLayout: Weapons: mods/d2k/weapons/defaults.yaml - mods/d2k/weapons/misc.yaml mods/d2k/weapons/explosions.yaml mods/d2k/weapons.yaml From 264ffcba326fa8d3a1a6fe5d2303d88eedd2b60b Mon Sep 17 00:00:00 2001 From: psydev Date: Sun, 14 Apr 2013 17:38:02 -0700 Subject: [PATCH 06/13] Gave buildings except turrets AutoTargetIgnore Doesn't really make much sense to auto-target buildings that are no threat. Units should fire at units or turrets. --- mods/d2k/rules/defaults.yaml | 2 +- mods/d2k/rules/structures.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/d2k/rules/defaults.yaml b/mods/d2k/rules/defaults.yaml index 0c88cd9aea..6a9c995faf 100644 --- a/mods/d2k/rules/defaults.yaml +++ b/mods/d2k/rules/defaults.yaml @@ -257,7 +257,7 @@ Notification: OI_BLOST.AUD EditorAppearance: RelativeToTopLeft: yes - #AutoTargetIgnore: + AutoTargetIgnore: ShakeOnDeath: ProximityCaptor: Types:Building diff --git a/mods/d2k/rules/structures.yaml b/mods/d2k/rules/structures.yaml index a517f7bc38..13c917ea0f 100644 --- a/mods/d2k/rules/structures.yaml +++ b/mods/d2k/rules/structures.yaml @@ -475,7 +475,7 @@ GUNTOWER: Range: 6 RenderRangeCircle: -RenderBuilding: - #-AutoTargetIgnore: + -AutoTargetIgnore: RenderBuildingSeparateTurret: # HasMakeAnimation: false Turreted: @@ -532,7 +532,7 @@ ROCKETTOWER: Range: 6 RenderRangeCircle: -RenderBuilding: - #-AutoTargetIgnore: + -AutoTargetIgnore: RenderBuildingSeparateTurret: # HasMakeAnimation: false Armament: From 97289929977037fb468fedc60456cf1187999b27 Mon Sep 17 00:00:00 2001 From: psydev Date: Sun, 14 Apr 2013 23:27:19 -0700 Subject: [PATCH 07/13] re-ordered structures list --- mods/d2k/rules/structures.yaml | 184 ++++++++++++++++----------------- 1 file changed, 92 insertions(+), 92 deletions(-) diff --git a/mods/d2k/rules/structures.yaml b/mods/d2k/rules/structures.yaml index 13c917ea0f..3e0512ca24 100644 --- a/mods/d2k/rules/structures.yaml +++ b/mods/d2k/rules/structures.yaml @@ -94,98 +94,6 @@ RepairsUnits: ValuePercentage: 0 -^HIGHTECH: - Inherits: ^Building - Buildable: - Queue: Building - BuildPaletteOrder: 50 - Hotkey: t - Selectable: - Bounds: 96,96 - Valued: - Cost: 2000 - Tooltip: - Name: High Tech Facility - Description: Unlocks advanced technology - Building: - Power: -40 - Footprint: _x_ xxx xxx - Dimensions: 3,3 - Health: - HP: 1500 - Armor: - Type: Wood - RevealsShroud: - Range: 4 - ProvidesCustomPrerequisite: - Prerequisite: High Tech Facility - -RESEARCH: - Inherits: ^Building - Buildable: - Queue: Building - Prerequisites: Outpost,High Tech Facility - Owner: atreides, harkonnen, ordos - BuildPaletteOrder: 65 - Hotkey: v - Selectable: - Bounds: 96,64 - Valued: - Cost: 2500 - Tooltip: - Name: IX Research Center - Description: Unlocks experimental tanks\n Special Ability: Carryall Combat Drop - ParatroopersPower: - Image: carryallicon - UnitType: carryall.infantry - FlareTime: 0 - ChargeTime: 360 - Description: Paratroopers - LongDesc: A Carryall drops a squad of Infantry \nanywhere on the map - Prerequisites: HIGHTECHO - DropItems: RIFLE, RIFLE, BAZOOKA, BAZOOKA, ENGINEER, BAZOOKA, RIFLE, RIFLE - SelectTargetSound: - FlareType: - Building: - Power: -40 - Footprint: xxx xxx - Dimensions: 3,2 - Health: - HP: 1000 - Armor: - Type: Wood - RevealsShroud: - Range: 4 - -^PALACE: - Inherits: ^Building - Buildable: - Queue: Building - BuildPaletteOrder: 70 - Hotkey: p - Selectable: - Bounds: 96,96 - Valued: - Cost: 4000 - Tooltip: - Name: Palace - Description: Unlocks elite infantry\n Special Ability: Ornithopter Strike - Building: - Power: -50 - Footprint: _x_ xxx =xx - Dimensions: 3,3 - Health: - HP: 2000 - Armor: - Type: Concrete - RevealsShroud: - Range: 8 - ProvidesCustomPrerequisite: - Prerequisite: TPal - RenderDetectionCircle: - DetectCloaked: - Range: 2 - ^REFINERY: Inherits: ^Building Buildable: @@ -593,6 +501,98 @@ REPAIR: RallyPoint: RallyPoint: 1,3 +^HIGHTECH: + Inherits: ^Building + Buildable: + Queue: Building + BuildPaletteOrder: 50 + Hotkey: t + Selectable: + Bounds: 96,96 + Valued: + Cost: 2000 + Tooltip: + Name: High Tech Facility + Description: Unlocks advanced technology + Building: + Power: -40 + Footprint: _x_ xxx xxx + Dimensions: 3,3 + Health: + HP: 1500 + Armor: + Type: Wood + RevealsShroud: + Range: 4 + ProvidesCustomPrerequisite: + Prerequisite: High Tech Facility + +RESEARCH: + Inherits: ^Building + Buildable: + Queue: Building + Prerequisites: Outpost,High Tech Facility + Owner: atreides, harkonnen, ordos + BuildPaletteOrder: 65 + Hotkey: v + Selectable: + Bounds: 96,64 + Valued: + Cost: 2500 + Tooltip: + Name: IX Research Center + Description: Unlocks experimental tanks\n Special Ability: Carryall Combat Drop + ParatroopersPower: + Image: carryallicon + UnitType: carryall.infantry + FlareTime: 0 + ChargeTime: 360 + Description: Paratroopers + LongDesc: A Carryall drops a squad of Infantry \nanywhere on the map + Prerequisites: HIGHTECHO + DropItems: RIFLE, RIFLE, BAZOOKA, BAZOOKA, ENGINEER, BAZOOKA, RIFLE, RIFLE + SelectTargetSound: + FlareType: + Building: + Power: -40 + Footprint: xxx xxx + Dimensions: 3,2 + Health: + HP: 1000 + Armor: + Type: Wood + RevealsShroud: + Range: 4 + +^PALACE: + Inherits: ^Building + Buildable: + Queue: Building + BuildPaletteOrder: 70 + Hotkey: p + Selectable: + Bounds: 96,96 + Valued: + Cost: 4000 + Tooltip: + Name: Palace + Description: Unlocks elite infantry\n Special Ability: Ornithopter Strike + Building: + Power: -50 + Footprint: _x_ xxx =xx + Dimensions: 3,3 + Health: + HP: 2000 + Armor: + Type: Concrete + RevealsShroud: + Range: 8 + ProvidesCustomPrerequisite: + Prerequisite: TPal + RenderDetectionCircle: + DetectCloaked: + Range: 2 + SIETCH: Inherits: ^Building Tooltip: From 953bda65de981abf7bd67a80ffc0b57d6868ab2f Mon Sep 17 00:00:00 2001 From: psydev Date: Sun, 14 Apr 2013 23:34:28 -0700 Subject: [PATCH 08/13] changed cost of various structures. money is limited, shouldnt be wasted on pointless things that take extra time building for no reason. Like, power stations, barracks. Some changes inspired by original dune 2000 stats. Other buildings left as is, because we're not trying to copy the original game. Light factory made super cheap to distinguish it from heavy factory. It should make poor-man's units, relatively quickly. Things that sort of suffice at countering better heavy units like tanks, while pursuing a different strategy. No buildings cost more than $2000, because it's not really necessary to have things be that expensive (from what I can tell). It just wastes time and cuts down possibilities for strategy by making certain things out of reach and forcing everyone into similar strategies. Research facilities that unlock units (outpost, high tech factory, research facility) all ~1000. Starport made 2000 so that it's not too cheap since it's good, but not inaccessible as a mid-game strategy. --- mods/d2k/rules/structures.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/mods/d2k/rules/structures.yaml b/mods/d2k/rules/structures.yaml index 3e0512ca24..110937ee98 100644 --- a/mods/d2k/rules/structures.yaml +++ b/mods/d2k/rules/structures.yaml @@ -20,11 +20,11 @@ Production: Produces: Building Valued: - Cost: 2500 + Cost: 2000 Tooltip: Name: Construction Yard CustomSellValue: - Value: 2500 + Value: 2000 BaseBuilding: ProductionBar: @@ -37,7 +37,7 @@ Selectable: Bounds: 64,64 Valued: - Cost: 400 + Cost: 300 Tooltip: Name: Windtrap Description: Provides power for other structures @@ -63,7 +63,7 @@ Selectable: Bounds: 64,64 Valued: - Cost: 500 + Cost: 300 Tooltip: Name: Barracks Description: Trains infantry @@ -175,7 +175,7 @@ Selectable: Bounds: 96,64 Valued: - Cost: 1000 + Cost: 500 Tooltip: Name: Light Factory Description: Produces light vehicles @@ -272,7 +272,7 @@ ^STARPORT: Inherits: ^Building Valued: - Cost: 3000 + Cost: 2000 Tooltip: Name: Starport Description: Dropzone for cheap reinforcements\n Requires power to operate @@ -363,7 +363,7 @@ GUNTOWER: BuildPaletteOrder: 40 Hotkey: g Valued: - Cost: 600 + Cost: 550 Tooltip: Name: Gun Tower Description: Defensive structure\n Strong vs Tanks\n Weak vs Infantry, Aircraft @@ -420,7 +420,7 @@ ROCKETTOWER: BuildPaletteOrder: 55 Hotkey: m Valued: - Cost: 800 + Cost: 750 Tooltip: Name: Missile Tower Icon: rturreticon @@ -479,7 +479,7 @@ REPAIR: BuildPaletteOrder: 45 Hotkey: e Valued: - Cost: 1000 + Cost: 800 Tooltip: Name: Repair Pad Description: Repairs vehicles\n Allows construction of MCVs @@ -510,7 +510,7 @@ REPAIR: Selectable: Bounds: 96,96 Valued: - Cost: 2000 + Cost: 1150 Tooltip: Name: High Tech Facility Description: Unlocks advanced technology @@ -538,7 +538,7 @@ RESEARCH: Selectable: Bounds: 96,64 Valued: - Cost: 2500 + Cost: 1000 Tooltip: Name: IX Research Center Description: Unlocks experimental tanks\n Special Ability: Carryall Combat Drop @@ -546,7 +546,7 @@ RESEARCH: Image: carryallicon UnitType: carryall.infantry FlareTime: 0 - ChargeTime: 360 + ChargeTime: 280 Description: Paratroopers LongDesc: A Carryall drops a squad of Infantry \nanywhere on the map Prerequisites: HIGHTECHO @@ -573,7 +573,7 @@ RESEARCH: Selectable: Bounds: 96,96 Valued: - Cost: 4000 + Cost: 2000 Tooltip: Name: Palace Description: Unlocks elite infantry\n Special Ability: Ornithopter Strike From 2e31f9318c4e255edc29fef495dd41b44fb226e9 Mon Sep 17 00:00:00 2001 From: psydev Date: Mon, 15 Apr 2013 02:40:56 -0700 Subject: [PATCH 09/13] modified custom pre-requisites for buildings --- mods/d2k/rules/atreides.yaml | 166 +++++++++++++++---------------- mods/d2k/rules/harkonnen.yaml | 176 ++++++++++++++++----------------- mods/d2k/rules/infantry.yaml | 1 + mods/d2k/rules/ordos.yaml | 68 ++++++------- mods/d2k/rules/structures.yaml | 67 ++++++++++--- mods/d2k/rules/vehicles.yaml | 8 +- 6 files changed, 247 insertions(+), 239 deletions(-) diff --git a/mods/d2k/rules/atreides.yaml b/mods/d2k/rules/atreides.yaml index 340604828a..98886b6180 100644 --- a/mods/d2k/rules/atreides.yaml +++ b/mods/d2k/rules/atreides.yaml @@ -8,17 +8,93 @@ CONYARDA: PWRA: Inherits: ^POWER Buildable: - Prerequisites: conyarda Owner: atreides REFA: Inherits: ^REFINERY Buildable: - Prerequisites: pwra Owner: atreides RenderBuildingWarFactory: Image: REFA +BARRA: + Inherits: ^BARRACKS + Buildable: + Owner: atreides + + +HIGHTECHA: + Inherits: ^HIGHTECH + Buildable: + Owner: atreides + +PALACEA: + Inherits: ^PALACE + Buildable: + Owner: atreides + AirstrikePower: + Image: orniicon + Description: Air Strike + ChargeTime: 180 + LongDesc: Ornithopter drops a load of parachuted\nbombs on your target + UnitType: orni.bomber + SelectTargetSound: + FlareType: + CanPowerDown: + RequiresPower: + SupportPowerChargeBar: + +SILOA: + Inherits: ^SILO + Buildable: + Owner: atreides + +LIGHTA: + Inherits: ^LIGHT + Buildable: + Owner: atreides + RenderBuildingWarFactory: + Image: LIGHTA + +HEAVYA: + Inherits: ^HEAVY + Buildable: + Owner: atreides + RenderBuildingWarFactory: + Image: HEAVYA + +RADARA: + Inherits: ^RADAR + Buildable: + Owner: atreides + +STARPORTA: + Inherits: ^STARPORT + Buildable: + Owner: atreides + +MCVA: + Inherits: ^MCV + Buildable: + Prerequisites: heavya,repair + Owner: atreides + BuiltAt: heavya + Transforms: + Facing: 16 + IntoActor: conyarda + Offset:-1,-1 + NoTransformSounds: AI_DPLOY.AUD + RenderUnit: + Image: DMCV + +MCVA.starport: + Inherits: MCVA + Buildable: + Queue: Starport + BuiltAt: starporta + Valued: + Cost: 1499 + TRIKEA: Inherits: ^TRIKE Buildable: @@ -47,92 +123,6 @@ CARRYALLA.starport: Valued: Cost: 999 -BARRA: - Inherits: ^BARRACKS - Buildable: - Prerequisites: pwra - Owner: atreides - - -HIGHTECHA: - Inherits: ^HIGHTECH - Buildable: - Prerequisites: radara - Owner: atreides - -PALACEA: - Inherits: ^PALACE - Buildable: - Prerequisites: hightecha - Owner: atreides - AirstrikePower: - Image: orniicon - Description: Air Strike - ChargeTime: 180 - LongDesc: Ornithopter drops a load of parachuted\nbombs on your target - UnitType: orni.bomber - SelectTargetSound: - FlareType: - CanPowerDown: - RequiresPower: - SupportPowerChargeBar: - -SILOA: - Inherits: ^SILO - Buildable: - Prerequisites: refa - Owner: atreides - -LIGHTA: - Inherits: ^LIGHT - Buildable: - Prerequisites: refa - Owner: atreides - RenderBuildingWarFactory: - Image: LIGHTA - -HEAVYA: - Inherits: ^HEAVY - Buildable: - Prerequisites: lighta - Owner: atreides - RenderBuildingWarFactory: - Image: HEAVYA - -RADARA: - Inherits: ^RADAR - Buildable: - Prerequisites: barra - Owner: atreides - -STARPORTA: - Inherits: ^STARPORT - Buildable: - Prerequisites: heavya,hightecha - Owner: atreides - -MCVA: - Inherits: ^MCV - Buildable: - Prerequisites: heavya,repair - Owner: atreides - BuiltAt: heavya - Transforms: - Facing: 16 - IntoActor: conyarda - Offset:-1,-1 - NoTransformSounds: AI_DPLOY.AUD - RenderUnit: - Image: DMCV - -MCVA.starport: - Inherits: MCVA - Buildable: - Queue: Starport - BuiltAt: starporta - Valued: - Cost: 1499 - COMBATA: Inherits: ^COMBAT Tooltip: diff --git a/mods/d2k/rules/harkonnen.yaml b/mods/d2k/rules/harkonnen.yaml index 4a15efa409..8996e66b6d 100644 --- a/mods/d2k/rules/harkonnen.yaml +++ b/mods/d2k/rules/harkonnen.yaml @@ -8,17 +8,98 @@ CONYARDH: PWRH: Inherits: ^POWER Buildable: - Prerequisites: conyardh Owner: harkonnen REFH: Inherits: ^REFINERY Buildable: - Prerequisites: pwrh Owner: harkonnen RenderBuildingWarFactory: Image: REFH +BARRH: + Inherits: ^BARRACKS + Buildable: + Owner: harkonnen + -RepairsUnits: + +SILOH: + Inherits: ^SILO + Buildable: + Owner: harkonnen + +LIGHTH: + Inherits: ^LIGHT + Buildable: + Owner: harkonnen + RenderBuildingWarFactory: + Image: LIGHTH + +HEAVYH: + Inherits: ^HEAVY + Buildable: + Owner: harkonnen + RenderBuildingWarFactory: + Image: HEAVYH + +RADARH: + Inherits: ^RADAR + Buildable: + Owner: harkonnen + +STARPORTH: + Inherits: ^STARPORT + Buildable: + Owner: harkonnen + +HIGHTECHH: + Inherits: ^HIGHTECH + Buildable: + Owner: harkonnen + +PALACEH: + Inherits: ^PALACE + Buildable: + Owner: harkonnen + Tooltip: + Description: Provides elite infantry\n Special Ability: Death Hand Missile + NukePower: + Image: deathhandicon + ChargeTime: 540 + Description: Death Hand + LongDesc: Launches a nuclear missile at a target location + BeginChargeSound: HI_PREP.AUD + EndChargeSound: HI_DHRDY.AUD + SelectTargetSound: + LaunchSound: + MissileWeapon: atomic + SpawnOffset: 28,12 + CanPowerDown: + RequiresPower: + SupportPowerChargeBar: + +MCVH: + Inherits: ^MCV + Buildable: + Prerequisites: heavyh,repair + Owner: harkonnen + BuiltAt: heavyh + Transforms: + Facing: 16 + IntoActor: conyardh + Offset:-1,-1 + NoTransformSounds: HI_DPLOY.AUD + RenderUnit: + Image: DMCV + +MCVH.starport: + Inherits: MCVH + Buildable: + Queue: Starport + BuiltAt: starporth + Valued: + Cost: 1499 + #TRIKEH: # Inherits: ^TRIKE # Buildable: @@ -65,97 +146,6 @@ CARRYALLH.starport: Valued: Cost: 999 -BARRH: - Inherits: ^BARRACKS - Buildable: - Prerequisites: pwrh - Owner: harkonnen - -RepairsUnits: - -HIGHTECHH: - Inherits: ^HIGHTECH - Buildable: - Prerequisites: radarh - Owner: harkonnen - -PALACEH: - Inherits: ^PALACE - Buildable: - Prerequisites: hightechh - Owner: harkonnen - Tooltip: - Description: Provides elite infantry\n Special Ability: Death Hand Missile - NukePower: - Image: deathhandicon - ChargeTime: 540 - Description: Death Hand - LongDesc: Launches a nuclear missile at a target location - BeginChargeSound: HI_PREP.AUD - EndChargeSound: HI_DHRDY.AUD - SelectTargetSound: - LaunchSound: - MissileWeapon: atomic - SpawnOffset: 28,12 - CanPowerDown: - RequiresPower: - SupportPowerChargeBar: - -SILOH: - Inherits: ^SILO - Buildable: - Prerequisites: refh - Owner: harkonnen - -LIGHTH: - Inherits: ^LIGHT - Buildable: - Prerequisites: refh - Owner: harkonnen - RenderBuildingWarFactory: - Image: LIGHTH - -HEAVYH: - Inherits: ^HEAVY - Buildable: - Prerequisites: lighth - Owner: harkonnen - RenderBuildingWarFactory: - Image: HEAVYH - -RADARH: - Inherits: ^RADAR - Buildable: - Prerequisites: barrh - Owner: harkonnen - -STARPORTH: - Inherits: ^STARPORT - Buildable: - Prerequisites: radarh,hightechh - Owner: harkonnen - -MCVH: - Inherits: ^MCV - Buildable: - Prerequisites: heavyh,repair - Owner: harkonnen - BuiltAt: heavyh - Transforms: - Facing: 16 - IntoActor: conyardh - Offset:-1,-1 - NoTransformSounds: HI_DPLOY.AUD - RenderUnit: - Image: DMCV - -MCVH.starport: - Inherits: MCVH - Buildable: - Queue: Starport - BuiltAt: starporth - Valued: - Cost: 1499 - COMBATH: Inherits: ^COMBAT Tooltip: diff --git a/mods/d2k/rules/infantry.yaml b/mods/d2k/rules/infantry.yaml index 513080489e..f335e82afd 100644 --- a/mods/d2k/rules/infantry.yaml +++ b/mods/d2k/rules/infantry.yaml @@ -57,6 +57,7 @@ ENGINEER: BAZOOKA: Inherits: ^Infantry Buildable: + Prerequisites: Outpost Queue: Infantry BuildPaletteOrder: 20 Owner: atreides,harkonnen,ordos diff --git a/mods/d2k/rules/ordos.yaml b/mods/d2k/rules/ordos.yaml index 0d05290815..842c07ed61 100644 --- a/mods/d2k/rules/ordos.yaml +++ b/mods/d2k/rules/ordos.yaml @@ -8,13 +8,11 @@ CONYARDO: PWRO: Inherits: ^POWER Buildable: - Prerequisites: conyardo Owner: ordos REFO: Inherits: ^REFINERY Buildable: - Prerequisites: pwro Owner: ordos RenderBuildingWarFactory: Image: REFO @@ -22,19 +20,45 @@ REFO: BARRO: Inherits: ^BARRACKS Buildable: - Prerequisites: pwro + Owner: ordos + +SILOO: + Inherits: ^SILO + Buildable: + Owner: ordos + +LIGHTO: + Inherits: ^LIGHT + Buildable: + Owner: ordos + RenderBuildingWarFactory: + Image: LIGHTO + +HEAVYO: + Inherits: ^HEAVY + Buildable: + Owner: ordos + RenderBuildingWarFactory: + Image: HEAVYO + +RADARO: + Inherits: ^RADAR + Buildable: + Owner: ordos + +STARPORTO: + Inherits: ^STARPORT + Buildable: Owner: ordos HIGHTECHO: Inherits: ^HIGHTECH Buildable: - Prerequisites: radaro Owner: ordos PALACEO: Inherits: ^PALACE Buildable: - Prerequisites: hightecho Owner: ordos AirstrikePower: Image: orniicon @@ -48,40 +72,6 @@ PALACEO: RequiresPower: SupportPowerChargeBar: -SILOO: - Inherits: ^SILO - Buildable: - Prerequisites: refo - Owner: ordos - -LIGHTO: - Inherits: ^LIGHT - Buildable: - Prerequisites: refo - Owner: ordos - RenderBuildingWarFactory: - Image: LIGHTO - -HEAVYO: - Inherits: ^HEAVY - Buildable: - Prerequisites: lighto - Owner: ordos - RenderBuildingWarFactory: - Image: HEAVYO - -RADARO: - Inherits: ^RADAR - Buildable: - Prerequisites: barro - Owner: ordos - -STARPORTO: - Inherits: ^STARPORT - Buildable: - Prerequisites: radaro,hightecho - Owner: ordos - MCVO: Inherits: ^MCV Buildable: diff --git a/mods/d2k/rules/structures.yaml b/mods/d2k/rules/structures.yaml index 110937ee98..bd47d4a392 100644 --- a/mods/d2k/rules/structures.yaml +++ b/mods/d2k/rules/structures.yaml @@ -1,7 +1,7 @@ ^CONYARD: Inherits: ^Building Building: - Power: 0 + Power: 20 Footprint: xxx xxx Dimensions: 3,2 Adjacent: 4 @@ -27,10 +27,13 @@ Value: 2000 BaseBuilding: ProductionBar: + ProvidesCustomPrerequisite: + Prerequisite: Conyard ^POWER: Inherits: ^Building Buildable: + Prerequisites: Conyard Queue: Building BuildPaletteOrder: 0 Hotkey: w @@ -52,11 +55,12 @@ RevealsShroud: Range: 4 ProvidesCustomPrerequisite: - Prerequisite: Power + Prerequisite: Power ^BARRACKS: Inherits: ^Building Buildable: + Prerequisites: Power Queue: Building BuildPaletteOrder: 15 Hotkey: b @@ -89,14 +93,15 @@ Produces: Infantry PrimaryBuilding: ProductionBar: - ProvidesCustomPrerequisite: - Prerequisite: Barracks RepairsUnits: ValuePercentage: 0 + ProvidesCustomPrerequisite: + Prerequisite: Barracks ^REFINERY: Inherits: ^Building Buildable: + Prerequisites: Power Queue: Building BuildPaletteOrder: 5 Hotkey: r @@ -128,17 +133,18 @@ Capacity: 3000 CustomSellValue: Value: 500 - ProvidesCustomPrerequisite: - Prerequisite: Refinery FreeActor: Actor: HARVESTER InitialActivity: FindResources SpawnOffset: 2,1 Facing: 160 + ProvidesCustomPrerequisite: + Prerequisite: Refinery ^SILO: Inherits: ^Building Buildable: + Prerequisites: Refinery Queue: Building BuildPaletteOrder: 10 Hotkey: i @@ -169,6 +175,7 @@ ^LIGHT: Inherits: ^Building Buildable: + Prerequisites: Refinery Queue: Building BuildPaletteOrder: 30 Hotkey: l @@ -200,11 +207,12 @@ PrimaryBuilding: ProductionBar: ProvidesCustomPrerequisite: - Prerequisite: Light Factory + Prerequisite: Light ^HEAVY: Inherits: ^Building Buildable: + Prerequisites: Refinery Queue: Building BuildPaletteOrder: 35 Hotkey: h @@ -236,13 +244,14 @@ PrimaryBuilding: ProductionBar: ProvidesCustomPrerequisite: - Prerequisite: Heavy Factory + Prerequisite: Heavy ^RADAR: RequiresPower: CanPowerDown: Inherits: ^Building Buildable: + Prerequisites: Barracks Queue: Building BuildPaletteOrder: 20 Hotkey: o @@ -281,6 +290,7 @@ BuildPaletteOrder: 60 Hotkey: c Building: + Prerequisites: Outpost Power: -40 Footprint: xxx x=x =x= Dimensions: 3,3 @@ -358,7 +368,7 @@ GUNTOWER: Inherits: ^Building Buildable: Queue: Building - Prerequisites: Outpost + Prerequisites: Barracks Owner: atreides, harkonnen, ordos BuildPaletteOrder: 40 Hotkey: g @@ -415,7 +425,7 @@ ROCKETTOWER: Inherits: ^Building Buildable: Queue: Building - Prerequisites: Outpost, High Tech Facility + Prerequisites: Outpost Owner: atreides, harkonnen, ordos BuildPaletteOrder: 55 Hotkey: m @@ -474,7 +484,7 @@ REPAIR: Inherits: ^Building Buildable: Queue: Building - Prerequisites: Outpost + Prerequisites: Heavy Owner: atreides, harkonnen, ordos BuildPaletteOrder: 45 Hotkey: e @@ -504,6 +514,7 @@ REPAIR: ^HIGHTECH: Inherits: ^Building Buildable: + Prerequisites: Outpost Queue: Building BuildPaletteOrder: 50 Hotkey: t @@ -525,13 +536,13 @@ REPAIR: RevealsShroud: Range: 4 ProvidesCustomPrerequisite: - Prerequisite: High Tech Facility + Prerequisite: Hitech RESEARCH: Inherits: ^Building Buildable: Queue: Building - Prerequisites: Outpost,High Tech Facility + Prerequisites: Outpost Owner: atreides, harkonnen, ordos BuildPaletteOrder: 65 Hotkey: v @@ -563,10 +574,13 @@ RESEARCH: Type: Wood RevealsShroud: Range: 4 + ProvidesCustomPrerequisite: + Prerequisite: Ix ^PALACE: Inherits: ^Building Buildable: + Prerequisites: Ix Queue: Building BuildPaletteOrder: 70 Hotkey: p @@ -587,11 +601,11 @@ RESEARCH: Type: Concrete RevealsShroud: Range: 8 - ProvidesCustomPrerequisite: - Prerequisite: TPal RenderDetectionCircle: DetectCloaked: Range: 2 + ProvidesCustomPrerequisite: + Prerequisite: TPal SIETCH: Inherits: ^Building @@ -682,3 +696,26 @@ HEAVYC: # CrushClasses: plates # -SelectionDecorations: # -Selectable: + + + +# custom prerequisites: +CONYARD: + Tooltip: + Name: Construction Yard + +LIGHT: + Tooltip: + Name: Light Factory + +HEAVY: + Tooltip: + Name: Heavy Factory + +HITECH: + Tooltip: + Name: High-Tech Facility + +IX: + Tooltip: + Name: IX Research Center diff --git a/mods/d2k/rules/vehicles.yaml b/mods/d2k/rules/vehicles.yaml index 52b606979f..329c998087 100644 --- a/mods/d2k/rules/vehicles.yaml +++ b/mods/d2k/rules/vehicles.yaml @@ -47,7 +47,7 @@ HARVESTER: Inherits: ^Vehicle Buildable: Queue: Armor - Prerequisites: Heavy Factory,Refinery + Prerequisites: Heavy,Refinery Owner: atreides, harkonnen, ordos BuiltAt: heavya, heavyh, heavyo BuildPaletteOrder: 10 @@ -152,7 +152,7 @@ QUAD: Inherits: ^Vehicle Buildable: Queue: Vehicle - Prerequisites: Light Factory + Prerequisites: Light,Outpost Owner: atreides, harkonnen, ordos BuiltAt: lighta, lighth, lighto BuildPaletteOrder: 20 @@ -247,7 +247,7 @@ SIEGETANK: Inherits: ^Tank Buildable: Queue: Armor - Prerequisites: Heavy Factory,Outpost + Prerequisites: Heavy,Outpost Owner: atreides, harkonnen, ordos BuiltAt: heavya, heavyh, heavyo BuildPaletteOrder: 30 @@ -317,7 +317,7 @@ MISSILETANK: Icon: missiletankicon Buildable: Queue: Armor - Prerequisites: Heavy Factory,High Tech Facility + Prerequisites: Heavy,Hitech Owner: atreides, harkonnen BuiltAt: heavya, heavyh BuildPaletteOrder: 40 From 357b6a8e77c6f145ddaeafe2ee4a2f8d95cf2762 Mon Sep 17 00:00:00 2001 From: psydev Date: Mon, 15 Apr 2013 02:54:59 -0700 Subject: [PATCH 10/13] changed unit costs at starport; fix starport --- mods/d2k/rules/atreides.yaml | 10 +++++----- mods/d2k/rules/harkonnen.yaml | 6 +++--- mods/d2k/rules/ordos.yaml | 6 +++--- mods/d2k/rules/structures.yaml | 4 ++-- mods/d2k/rules/vehicles.yaml | 8 ++++---- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/mods/d2k/rules/atreides.yaml b/mods/d2k/rules/atreides.yaml index 98886b6180..be4732830c 100644 --- a/mods/d2k/rules/atreides.yaml +++ b/mods/d2k/rules/atreides.yaml @@ -93,7 +93,7 @@ MCVA.starport: Queue: Starport BuiltAt: starporta Valued: - Cost: 1499 + Cost: 2500 TRIKEA: Inherits: ^TRIKE @@ -111,7 +111,7 @@ TRIKEA.starport: Queue: Starport BuiltAt: starporta, starporth, starporto Valued: - Cost: 149 + Cost: 315 CARRYALLA: Inherits: ^CARRYALL @@ -121,7 +121,7 @@ CARRYALLA: CARRYALLA.starport: Inherits: CARRYALLA Valued: - Cost: 999 + Cost: 1500 COMBATA: Inherits: ^COMBAT @@ -159,7 +159,7 @@ COMBATA.starport: Queue: Starport BuiltAt: starporta Valued: - Cost: 489 + Cost: 875 SONICTANK: Inherits: ^Vehicle @@ -171,7 +171,7 @@ SONICTANK: BuiltAt: heavya Hotkey: o Valued: - Cost: 1100 + Cost: 1250 Tooltip: Name: Sonic Tank Description: Fires sonic shocks\n Strong vs Infantry, Vehicles\n Weak vs Artillery, Aircraft diff --git a/mods/d2k/rules/harkonnen.yaml b/mods/d2k/rules/harkonnen.yaml index 8996e66b6d..2409bf4d44 100644 --- a/mods/d2k/rules/harkonnen.yaml +++ b/mods/d2k/rules/harkonnen.yaml @@ -98,7 +98,7 @@ MCVH.starport: Queue: Starport BuiltAt: starporth Valued: - Cost: 1499 + Cost: 2500 #TRIKEH: # Inherits: ^TRIKE @@ -144,7 +144,7 @@ CARRYALLH: CARRYALLH.starport: Inherits: CARRYALLH Valued: - Cost: 999 + Cost: 1500 COMBATH: Inherits: ^COMBAT @@ -179,7 +179,7 @@ COMBATH.starport: Queue: Starport BuiltAt: starporth Valued: - Cost: 489 + Cost: 875 DEVAST: Inherits: ^Tank diff --git a/mods/d2k/rules/ordos.yaml b/mods/d2k/rules/ordos.yaml index 842c07ed61..29e4184ff5 100644 --- a/mods/d2k/rules/ordos.yaml +++ b/mods/d2k/rules/ordos.yaml @@ -92,7 +92,7 @@ MCVO.starport: Queue: Starport BuiltAt: starporto Valued: - Cost: 1499 + Cost: 2500 COMBATO: Inherits: ^COMBAT @@ -128,7 +128,7 @@ COMBATO.starport: Queue: Starport BuiltAt: starporto Valued: - Cost: 489 + Cost: 875 TRIKEO: Inherits: ^TRIKE @@ -176,7 +176,7 @@ CARRYALLO: CARRYALLO.starport: Inherits: CARRYALLO Valued: - Cost: 999 + Cost: 1500 DEVIATORTANK: Inherits: ^Tank diff --git a/mods/d2k/rules/structures.yaml b/mods/d2k/rules/structures.yaml index bd47d4a392..c29e1c67da 100644 --- a/mods/d2k/rules/structures.yaml +++ b/mods/d2k/rules/structures.yaml @@ -284,13 +284,13 @@ Cost: 2000 Tooltip: Name: Starport - Description: Dropzone for cheap reinforcements\n Requires power to operate + Description: Dropzone for quick reinforcements, at a price.\n Requires power to operate Buildable: + Prerequisites: Outpost Queue: Building BuildPaletteOrder: 60 Hotkey: c Building: - Prerequisites: Outpost Power: -40 Footprint: xxx x=x =x= Dimensions: 3,3 diff --git a/mods/d2k/rules/vehicles.yaml b/mods/d2k/rules/vehicles.yaml index 329c998087..dcb55ef0ab 100644 --- a/mods/d2k/rules/vehicles.yaml +++ b/mods/d2k/rules/vehicles.yaml @@ -104,7 +104,7 @@ HARVESTER.starport: Queue: Starport BuiltAt: starporta, starporth, starporto Valued: - Cost: 895 + Cost: 1500 ^TRIKE: Inherits: ^Vehicle @@ -194,7 +194,7 @@ QUAD.starport: Queue: Starport BuiltAt: starporta, starporth, starporto Valued: - Cost: 295 + Cost: 500 ^COMBAT: Inherits: ^Tank @@ -305,7 +305,7 @@ SIEGETANK.starport: Queue: Starport BuiltAt: starporta, starporth, starporto Valued: - Cost: 594 + Cost: 1075 MISSILETANK: Inherits: ^Tank @@ -363,4 +363,4 @@ MISSILETANK.starport: Owner: atreides, harkonnen, ordos BuiltAt: starporta, starporth, starporto Valued: - Cost: 699 + Cost: 1250 \ No newline at end of file From b4db72702cc0a31ea81581c8a1d9a684e30c1e37 Mon Sep 17 00:00:00 2001 From: psydev Date: Mon, 15 Apr 2013 02:57:55 -0700 Subject: [PATCH 11/13] updated weapons with better values. --- mods/d2k/weapons.yaml | 105 ------------------------------------------ 1 file changed, 105 deletions(-) diff --git a/mods/d2k/weapons.yaml b/mods/d2k/weapons.yaml index 46df4ff372..b1413efc69 100644 --- a/mods/d2k/weapons.yaml +++ b/mods/d2k/weapons.yaml @@ -451,111 +451,6 @@ Heal: InfDeath: 1 Damage: -50 -Demolish: - Warhead: - ImpactSound: EXPLLG2 - Explosion: building - -Crush: - Warhead: - ImpactSound: CRUSH1 - Damage: 100 - -Atomic: - Warhead: - Damage: 1000 - Spread: 60 - Versus: - None: 20% - Wood: 100% - Light: 25% - Heavy: 25% - Concrete: 75% - Explosion: nuke - InfDeath: 5 - ImpactSound: EXPLLG2 - -CrateNuke: - Warhead: - Damage: 800 - Spread: 50 - Versus: - None: 20% - Wood: 75% - Light: 25% - Heavy: 25% - Concrete: 50% - Explosion: nuke - InfDeath: 5 - ImpactSound: EXPLLG2 - -CrateExplosion: - Warhead: - Damage: 400 - Spread: 10 - Versus: - None: 90% - Wood: 75% - Light: 60% - Heavy: 25% - Explosion: building - WaterExplosion: building - InfDeath: 4 - ImpactSound: EXPLSML4 - -UnitExplode: - Warhead: - Damage: 500 - Spread: 10 - Versus: - None: 90% - Wood: 75% - Light: 60% - Heavy: 25% - Explosion: building - WaterExplosion: large_splash - InfDeath: 4 - ImpactSound: EXPLMD1 - -UnitExplodeSmall: - Warhead: - Damage: 60 - Spread: 10 - Versus: - None: 90% - Wood: 75% - Light: 60% - Heavy: 25% - Explosion: self_destruct - InfDeath: 4 - ImpactSound: EXPLHG1, EXPLLG1, EXPLMD1, EXPLSML4 - -UnitExplodeTiny: - Warhead: - Damage: 30 - Spread: 7 - Versus: - None: 90% - Wood: 75% - Light: 60% - Heavy: 25% - Explosion: large_explosion - InfDeath: 4 - ImpactSound: EXPLMD2, EXPLSML1, EXPLSML2, EXPLSML3 - -UnitExplodeScale: - Warhead: - Damage: 90 - Spread: 13 - Versus: - None: 90% - Wood: 75% - Light: 60% - Heavy: 25% - Explosion: building - InfDeath: 4 - ImpactSound: EXPLLG2, EXPLLG3, EXPLLG5 - WormJaw: ROF: 10 Range: 3 From 8b0cfaaeb1b83009b3705c31ce39b30fb245b617 Mon Sep 17 00:00:00 2001 From: psydev Date: Mon, 15 Apr 2013 03:07:25 -0700 Subject: [PATCH 12/13] fixed trikes, unit stats. --- mods/d2k/rules/infantry.yaml | 1 + mods/d2k/rules/vehicles.yaml | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/mods/d2k/rules/infantry.yaml b/mods/d2k/rules/infantry.yaml index f335e82afd..7ae0d51723 100644 --- a/mods/d2k/rules/infantry.yaml +++ b/mods/d2k/rules/infantry.yaml @@ -27,6 +27,7 @@ RIFLE: ENGINEER: Inherits: ^Infantry Buildable: + Prerequisites: Outpost Queue: Infantry BuildPaletteOrder: 50 Owner: atreides,harkonnen,ordos diff --git a/mods/d2k/rules/vehicles.yaml b/mods/d2k/rules/vehicles.yaml index dcb55ef0ab..eabb36ba19 100644 --- a/mods/d2k/rules/vehicles.yaml +++ b/mods/d2k/rules/vehicles.yaml @@ -109,6 +109,7 @@ HARVESTER.starport: ^TRIKE: Inherits: ^Vehicle Buildable: + Prerequisites: Light Queue: Vehicle BuildPaletteOrder: 15 Hotkey: w @@ -259,9 +260,9 @@ SIEGETANK: Description: Siege Artillery\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft Icon: siegetankicon Health: - HP: 85 + HP: 120 Armor: - Type: Light + Type: Heavy Mobile: Speed: 5 ROT: 3 @@ -318,7 +319,7 @@ MISSILETANK: Buildable: Queue: Armor Prerequisites: Heavy,Hitech - Owner: atreides, harkonnen + Owner: atreides, harkonnen, ordos BuiltAt: heavya, heavyh BuildPaletteOrder: 40 Hotkey: r @@ -326,7 +327,7 @@ MISSILETANK: Speed: 6 ROT: 3 Health: - HP: 110 + HP: 130 Armor: Type: Light RevealsShroud: From 89fc58773156fbc7548041c063a6c36e2cee2760 Mon Sep 17 00:00:00 2001 From: psydev Date: Mon, 15 Apr 2013 03:24:07 -0700 Subject: [PATCH 13/13] fix siege tank, combat, trike again --- mods/d2k/rules/atreides.yaml | 1 - mods/d2k/rules/harkonnen.yaml | 2 -- mods/d2k/rules/vehicles.yaml | 3 +-- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/mods/d2k/rules/atreides.yaml b/mods/d2k/rules/atreides.yaml index be4732830c..eaf9c93afc 100644 --- a/mods/d2k/rules/atreides.yaml +++ b/mods/d2k/rules/atreides.yaml @@ -98,7 +98,6 @@ MCVA.starport: TRIKEA: Inherits: ^TRIKE Buildable: - Prerequisites: Light Factory#lighta Owner: atreides, harkonnen BuiltAt: lighta, lighth RenderUnit: diff --git a/mods/d2k/rules/harkonnen.yaml b/mods/d2k/rules/harkonnen.yaml index 2409bf4d44..edf6752079 100644 --- a/mods/d2k/rules/harkonnen.yaml +++ b/mods/d2k/rules/harkonnen.yaml @@ -103,7 +103,6 @@ MCVH.starport: #TRIKEH: # Inherits: ^TRIKE # Buildable: -# Prerequisites: lighth # Owner: harkonnen # BuiltAt: lighth # Valued: @@ -127,7 +126,6 @@ MCVH.starport: #TRIKEH.starport: # Inherits: ^TRIKE # Buildable: -# Prerequisites: lighth # Owner: harkonnen # Queue: Starport # BuiltAt: starporth diff --git a/mods/d2k/rules/vehicles.yaml b/mods/d2k/rules/vehicles.yaml index eabb36ba19..906abe94df 100644 --- a/mods/d2k/rules/vehicles.yaml +++ b/mods/d2k/rules/vehicles.yaml @@ -109,7 +109,6 @@ HARVESTER.starport: ^TRIKE: Inherits: ^Vehicle Buildable: - Prerequisites: Light Queue: Vehicle BuildPaletteOrder: 15 Hotkey: w @@ -248,7 +247,7 @@ SIEGETANK: Inherits: ^Tank Buildable: Queue: Armor - Prerequisites: Heavy,Outpost + Prerequisites: Outpost Owner: atreides, harkonnen, ordos BuiltAt: heavya, heavyh, heavyo BuildPaletteOrder: 30