diff --git a/mods/d2k/mod.yaml b/mods/d2k/mod.yaml index bff601d868..30aa17706c 100644 --- a/mods/d2k/mod.yaml +++ b/mods/d2k/mod.yaml @@ -67,6 +67,8 @@ ChromeLayout: mods/ra/chrome/cheats.yaml Weapons: + mods/d2k/weapons/defaults.yaml + mods/d2k/weapons/explosions.yaml mods/d2k/weapons.yaml Voices: diff --git a/mods/d2k/rules/atreides.yaml b/mods/d2k/rules/atreides.yaml index 340604828a..eaf9c93afc 100644 --- a/mods/d2k/rules/atreides.yaml +++ b/mods/d2k/rules/atreides.yaml @@ -8,62 +8,29 @@ CONYARDA: PWRA: Inherits: ^POWER Buildable: - Prerequisites: conyarda Owner: atreides REFA: Inherits: ^REFINERY Buildable: - Prerequisites: pwra Owner: atreides RenderBuildingWarFactory: Image: REFA -TRIKEA: - Inherits: ^TRIKE - Buildable: - Prerequisites: Light Factory#lighta - Owner: atreides, harkonnen - BuiltAt: lighta, lighth - RenderUnit: - Image: TRIKE - -TRIKEA.starport: - Inherits: TRIKEA - Buildable: - Owner: atreides, harkonnen, ordos - Queue: Starport - BuiltAt: starporta, starporth, starporto - Valued: - Cost: 149 - -CARRYALLA: - Inherits: ^CARRYALL - RenderUnit: - Image: CARRYALL - -CARRYALLA.starport: - Inherits: CARRYALLA - 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 @@ -80,13 +47,11 @@ PALACEA: SILOA: Inherits: ^SILO Buildable: - Prerequisites: refa Owner: atreides LIGHTA: Inherits: ^LIGHT Buildable: - Prerequisites: refa Owner: atreides RenderBuildingWarFactory: Image: LIGHTA @@ -94,7 +59,6 @@ LIGHTA: HEAVYA: Inherits: ^HEAVY Buildable: - Prerequisites: lighta Owner: atreides RenderBuildingWarFactory: Image: HEAVYA @@ -102,13 +66,11 @@ HEAVYA: RADARA: Inherits: ^RADAR Buildable: - Prerequisites: barra Owner: atreides STARPORTA: Inherits: ^STARPORT Buildable: - Prerequisites: heavya,hightecha Owner: atreides MCVA: @@ -131,7 +93,34 @@ MCVA.starport: Queue: Starport BuiltAt: starporta Valued: - Cost: 1499 + Cost: 2500 + +TRIKEA: + Inherits: ^TRIKE + Buildable: + Owner: atreides, harkonnen + BuiltAt: lighta, lighth + RenderUnit: + Image: TRIKE + +TRIKEA.starport: + Inherits: TRIKEA + Buildable: + Owner: atreides, harkonnen, ordos + Queue: Starport + BuiltAt: starporta, starporth, starporto + Valued: + Cost: 315 + +CARRYALLA: + Inherits: ^CARRYALL + RenderUnit: + Image: CARRYALL + +CARRYALLA.starport: + Inherits: CARRYALLA + Valued: + Cost: 1500 COMBATA: Inherits: ^COMBAT @@ -169,7 +158,7 @@ COMBATA.starport: Queue: Starport BuiltAt: starporta Valued: - Cost: 489 + Cost: 875 SONICTANK: Inherits: ^Vehicle @@ -181,7 +170,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/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/harkonnen.yaml b/mods/d2k/rules/harkonnen.yaml index 4a15efa409..edf6752079 100644 --- a/mods/d2k/rules/harkonnen.yaml +++ b/mods/d2k/rules/harkonnen.yaml @@ -8,21 +8,101 @@ 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: 2500 + #TRIKEH: # Inherits: ^TRIKE # Buildable: -# Prerequisites: lighth # Owner: harkonnen # BuiltAt: lighth # Valued: @@ -46,7 +126,6 @@ REFH: #TRIKEH.starport: # Inherits: ^TRIKE # Buildable: -# Prerequisites: lighth # Owner: harkonnen # Queue: Starport # BuiltAt: starporth @@ -63,98 +142,7 @@ CARRYALLH: CARRYALLH.starport: Inherits: CARRYALLH 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 + Cost: 1500 COMBATH: Inherits: ^COMBAT @@ -189,7 +177,7 @@ COMBATH.starport: Queue: Starport BuiltAt: starporth Valued: - Cost: 489 + Cost: 875 DEVAST: Inherits: ^Tank diff --git a/mods/d2k/rules/infantry.yaml b/mods/d2k/rules/infantry.yaml index 9d38fd2f41..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 @@ -57,6 +58,7 @@ ENGINEER: BAZOOKA: Inherits: ^Infantry Buildable: + Prerequisites: Outpost Queue: Infantry BuildPaletteOrder: 20 Owner: atreides,harkonnen,ordos @@ -72,11 +74,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/rules/ordos.yaml b/mods/d2k/rules/ordos.yaml index 0d05290815..29e4184ff5 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: @@ -102,7 +92,7 @@ MCVO.starport: Queue: Starport BuiltAt: starporto Valued: - Cost: 1499 + Cost: 2500 COMBATO: Inherits: ^COMBAT @@ -138,7 +128,7 @@ COMBATO.starport: Queue: Starport BuiltAt: starporto Valued: - Cost: 489 + Cost: 875 TRIKEO: Inherits: ^TRIKE @@ -186,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 fce4faf0c0..c29e1c67da 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 @@ -20,24 +20,27 @@ Production: Produces: Building Valued: - Cost: 2500 + Cost: 2000 Tooltip: Name: Construction Yard CustomSellValue: - Value: 2500 + Value: 2000 BaseBuilding: ProductionBar: + ProvidesCustomPrerequisite: + Prerequisite: Conyard ^POWER: Inherits: ^Building Buildable: + Prerequisites: Conyard Queue: Building BuildPaletteOrder: 0 Hotkey: w Selectable: Bounds: 64,64 Valued: - Cost: 400 + Cost: 300 Tooltip: Name: Windtrap Description: Provides power for other structures @@ -51,17 +54,20 @@ Type: Wood RevealsShroud: Range: 4 + ProvidesCustomPrerequisite: + Prerequisite: Power ^BARRACKS: Inherits: ^Building Buildable: + Prerequisites: Power Queue: Building BuildPaletteOrder: 15 Hotkey: b Selectable: Bounds: 64,64 Valued: - Cost: 500 + Cost: 300 Tooltip: Name: Barracks Description: Trains infantry @@ -87,106 +93,15 @@ Produces: Infantry PrimaryBuilding: ProductionBar: - ProvidesCustomPrerequisite: - Prerequisite: Barracks 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 + Prerequisite: Barracks ^REFINERY: Inherits: ^Building Buildable: + Prerequisites: Power Queue: Building BuildPaletteOrder: 5 Hotkey: r @@ -218,17 +133,18 @@ RESEARCH: Capacity: 3000 CustomSellValue: Value: 500 - ProvidesCustomPrerequisite: - Prerequisite: Spice 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 @@ -259,13 +175,14 @@ RESEARCH: ^LIGHT: Inherits: ^Building Buildable: + Prerequisites: Refinery Queue: Building BuildPaletteOrder: 30 Hotkey: l Selectable: Bounds: 96,64 Valued: - Cost: 1000 + Cost: 500 Tooltip: Name: Light Factory Description: Produces light vehicles @@ -290,11 +207,12 @@ RESEARCH: PrimaryBuilding: ProductionBar: ProvidesCustomPrerequisite: - Prerequisite: Light Factory + Prerequisite: Light ^HEAVY: Inherits: ^Building Buildable: + Prerequisites: Refinery Queue: Building BuildPaletteOrder: 35 Hotkey: h @@ -326,13 +244,14 @@ RESEARCH: PrimaryBuilding: ProductionBar: ProvidesCustomPrerequisite: - Prerequisite: Heavy Factory + Prerequisite: Heavy ^RADAR: RequiresPower: CanPowerDown: Inherits: ^Building Buildable: + Prerequisites: Barracks Queue: Building BuildPaletteOrder: 20 Hotkey: o @@ -362,11 +281,12 @@ RESEARCH: ^STARPORT: Inherits: ^Building Valued: - Cost: 3000 + 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 @@ -448,12 +368,12 @@ GUNTOWER: Inherits: ^Building Buildable: Queue: Building - Prerequisites: Outpost + Prerequisites: Barracks Owner: atreides, harkonnen, ordos 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 @@ -473,7 +393,7 @@ GUNTOWER: Range: 6 RenderRangeCircle: -RenderBuilding: - #-AutoTargetIgnore: + -AutoTargetIgnore: RenderBuildingSeparateTurret: # HasMakeAnimation: false Turreted: @@ -505,12 +425,12 @@ ROCKETTOWER: Inherits: ^Building Buildable: Queue: Building - Prerequisites: Outpost, High Tech Facility + Prerequisites: Outpost Owner: atreides, harkonnen, ordos BuildPaletteOrder: 55 Hotkey: m Valued: - Cost: 800 + Cost: 750 Tooltip: Name: Missile Tower Icon: rturreticon @@ -530,7 +450,7 @@ ROCKETTOWER: Range: 6 RenderRangeCircle: -RenderBuilding: - #-AutoTargetIgnore: + -AutoTargetIgnore: RenderBuildingSeparateTurret: # HasMakeAnimation: false Armament: @@ -564,12 +484,12 @@ REPAIR: Inherits: ^Building Buildable: Queue: Building - Prerequisites: Outpost + Prerequisites: Heavy Owner: atreides, harkonnen, ordos BuildPaletteOrder: 45 Hotkey: e Valued: - Cost: 1000 + Cost: 800 Tooltip: Name: Repair Pad Description: Repairs vehicles\n Allows construction of MCVs @@ -591,6 +511,102 @@ REPAIR: RallyPoint: RallyPoint: 1,3 +^HIGHTECH: + Inherits: ^Building + Buildable: + Prerequisites: Outpost + Queue: Building + BuildPaletteOrder: 50 + Hotkey: t + Selectable: + Bounds: 96,96 + Valued: + Cost: 1150 + 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: Hitech + +RESEARCH: + Inherits: ^Building + Buildable: + Queue: Building + Prerequisites: Outpost + Owner: atreides, harkonnen, ordos + BuildPaletteOrder: 65 + Hotkey: v + Selectable: + Bounds: 96,64 + Valued: + Cost: 1000 + Tooltip: + Name: IX Research Center + Description: Unlocks experimental tanks\n Special Ability: Carryall Combat Drop + ParatroopersPower: + Image: carryallicon + UnitType: carryall.infantry + FlareTime: 0 + ChargeTime: 280 + 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 + ProvidesCustomPrerequisite: + Prerequisite: Ix + +^PALACE: + Inherits: ^Building + Buildable: + Prerequisites: Ix + Queue: Building + BuildPaletteOrder: 70 + Hotkey: p + Selectable: + Bounds: 96,96 + Valued: + Cost: 2000 + 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 + RenderDetectionCircle: + DetectCloaked: + Range: 2 + ProvidesCustomPrerequisite: + Prerequisite: TPal + SIETCH: Inherits: ^Building Tooltip: @@ -680,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 f466832af7..906abe94df 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,Refinery Owner: atreides, harkonnen, ordos BuiltAt: heavya, heavyh, heavyo BuildPaletteOrder: 10 @@ -104,7 +104,7 @@ HARVESTER.starport: Queue: Starport BuiltAt: starporta, starporth, starporto Valued: - Cost: 895 + Cost: 1500 ^TRIKE: Inherits: ^Vehicle @@ -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 @@ -194,7 +194,7 @@ QUAD.starport: Queue: Starport BuiltAt: starporta, starporth, starporto Valued: - Cost: 295 + Cost: 500 ^COMBAT: Inherits: ^Tank @@ -247,7 +247,7 @@ SIEGETANK: Inherits: ^Tank Buildable: Queue: Armor - Prerequisites: Heavy Factory,Outpost + Prerequisites: Outpost Owner: atreides, harkonnen, ordos BuiltAt: heavya, heavyh, heavyo BuildPaletteOrder: 30 @@ -259,9 +259,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 @@ -305,7 +305,7 @@ SIEGETANK.starport: Queue: Starport BuiltAt: starporta, starporth, starporto Valued: - Cost: 594 + Cost: 1075 MISSILETANK: Inherits: ^Tank @@ -317,8 +317,8 @@ MISSILETANK: Icon: missiletankicon Buildable: Queue: Armor - Prerequisites: Heavy Factory,High Tech Facility - Owner: atreides, harkonnen + Prerequisites: Heavy,Hitech + Owner: atreides, harkonnen, ordos BuiltAt: heavya, heavyh BuildPaletteOrder: 40 Hotkey: r @@ -326,7 +326,7 @@ MISSILETANK: Speed: 6 ROT: 3 Health: - HP: 110 + HP: 130 Armor: Type: Light RevealsShroud: @@ -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 diff --git a/mods/d2k/weapons.yaml b/mods/d2k/weapons.yaml index 7a7c32490c..b1413efc69 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 @@ -480,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 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 +