added Harkonnen
This commit is contained in:
@@ -5,7 +5,7 @@ CARRYALL:
|
||||
BuildPaletteOrder: 110
|
||||
Prerequisites: anyhightech
|
||||
BuiltAt: hightecha
|
||||
Owner: atreides
|
||||
Owner: atreides,harkonnen
|
||||
Valued:
|
||||
Cost: 1200
|
||||
Tooltip:
|
||||
|
||||
@@ -2,6 +2,10 @@ CONYARDA:
|
||||
Inherits: ^CONYARD
|
||||
Buildable:
|
||||
Owner: atreides
|
||||
Transforms:
|
||||
IntoActor: mcva
|
||||
Offset:1,1
|
||||
Facing: 270
|
||||
|
||||
PWRA:
|
||||
Inherits: ^POWER
|
||||
@@ -80,26 +84,13 @@ STARPORTA:
|
||||
OnHoldAudio: AI_HOLD.AUD
|
||||
CancelledAudio: AI_CANCL.AUD
|
||||
|
||||
WALLA:
|
||||
Inherits: ^Wall
|
||||
Buildable:
|
||||
Prerequisites: conyarda
|
||||
Owner: atreides
|
||||
|
||||
GUNTOWERA:
|
||||
Inherits: ^GUNTOWER
|
||||
Buildable:
|
||||
Prerequisites: barra
|
||||
Owner: atreides
|
||||
|
||||
REPAIRA:
|
||||
Inherits: ^REPAIR
|
||||
Buildable:
|
||||
Prerequisites: heavya
|
||||
Owner: atreides
|
||||
|
||||
#TODO: game has to spawn MCVA, MCVH, MCVO instead of MCV for everyone
|
||||
MCV:
|
||||
MCVA:
|
||||
Inherits: ^MCV
|
||||
Buildable:
|
||||
Prerequisites: heavya,repaira
|
||||
@@ -110,8 +101,6 @@ MCV:
|
||||
Offset:-1,-1
|
||||
TransformSounds:
|
||||
NoTransformSounds: AI_DPLOY.AUD
|
||||
RenderUnit:
|
||||
Image: MCV
|
||||
|
||||
COMBATA:
|
||||
Inherits: ^COMBAT
|
||||
|
||||
@@ -162,49 +162,4 @@
|
||||
Types:Building
|
||||
Sellable:
|
||||
AcceptsSupplies:
|
||||
GivesBounty:
|
||||
|
||||
^Wall:
|
||||
Buildable:
|
||||
Queue: Defense
|
||||
BuildPaletteOrder: 1000
|
||||
SoundOnDamageTransition:
|
||||
DamagedSound:
|
||||
DestroyedSound:
|
||||
Valued:
|
||||
Cost: 100
|
||||
CustomSellValue:
|
||||
Value: 0
|
||||
Tooltip:
|
||||
Name: Concrete Wall
|
||||
Description: Stop units and blocks enemy fire.
|
||||
AppearsOnRadar:
|
||||
Building:
|
||||
Dimensions: 1,1
|
||||
Footprint: x
|
||||
BuildSounds:
|
||||
Adjacent: 7
|
||||
TerrainTypes: Clear,Road
|
||||
Health:
|
||||
HP: 500
|
||||
Armor:
|
||||
Type: Concrete
|
||||
Wall:
|
||||
CrushClasses: heavywall
|
||||
LineBuild:
|
||||
Range: 8
|
||||
SelectionDecorations:
|
||||
Selectable:
|
||||
Priority: 1
|
||||
TargetableBuilding:
|
||||
TargetTypes: Ground
|
||||
RenderBuildingWall:
|
||||
HasMakeAnimation: false
|
||||
Palette: d2k
|
||||
GivesExperience:
|
||||
EditorAppearance:
|
||||
RelativeToTopLeft: yes
|
||||
AutoTargetIgnore:
|
||||
ProximityCaptor:
|
||||
Types:Wall
|
||||
Sellable:
|
||||
GivesBounty:
|
||||
144
mods/d2k/rules/harkonnen.yaml
Normal file
144
mods/d2k/rules/harkonnen.yaml
Normal file
@@ -0,0 +1,144 @@
|
||||
CONYARDH:
|
||||
Inherits: ^CONYARD
|
||||
Buildable:
|
||||
Owner: harkonnen
|
||||
Transforms:
|
||||
IntoActor: mcvh
|
||||
Offset:1,1
|
||||
Facing: 270
|
||||
|
||||
PWRH:
|
||||
Inherits: ^POWER
|
||||
Buildable:
|
||||
Prerequisites: conyardh
|
||||
Owner: harkonnen
|
||||
|
||||
REFH:
|
||||
Inherits: ^REFINERY
|
||||
Buildable:
|
||||
Prerequisites: pwrh
|
||||
Owner: harkonnen
|
||||
RenderBuildingWarFactory:
|
||||
Image: REFH
|
||||
|
||||
BARRH:
|
||||
Inherits: ^BARRACKS
|
||||
Buildable:
|
||||
Prerequisites: pwrh
|
||||
Owner: harkonnen
|
||||
|
||||
HIGHTECHH:
|
||||
Inherits: ^HIGHTECH
|
||||
Buildable:
|
||||
Prerequisites: radarh
|
||||
Owner: harkonnen
|
||||
|
||||
RESEARCHH:
|
||||
Inherits: ^RESEARCH
|
||||
Buildable:
|
||||
Prerequisites: radarh,heavyh
|
||||
Owner: harkonnen
|
||||
|
||||
PALACEH:
|
||||
Inherits: ^PALACE
|
||||
Buildable:
|
||||
Prerequisites: researchh
|
||||
Owner: harkonnen
|
||||
|
||||
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
|
||||
Owner: harkonnen
|
||||
ProductionQueue:
|
||||
QueuedAudio: HI_ORDER.AUD
|
||||
ReadyAudio: HI_REINF.AUD
|
||||
OnHoldAudio: HI_HOLD.AUD
|
||||
CancelledAudio: HI_CANCL.AUD
|
||||
|
||||
REPAIRH:
|
||||
Inherits: ^REPAIR
|
||||
Buildable:
|
||||
Prerequisites: heavyh
|
||||
Owner: harkonnen
|
||||
|
||||
MCVH:
|
||||
Inherits: ^MCV
|
||||
Buildable:
|
||||
Prerequisites: heavyh,repairh
|
||||
Owner: harkonnen
|
||||
Transforms:
|
||||
Facing: 10
|
||||
IntoActor: conyardh
|
||||
Offset:-1,-1
|
||||
TransformSounds:
|
||||
NoTransformSounds: HI_DPLOY.AUD
|
||||
|
||||
COMBATH:
|
||||
Inherits: ^COMBAT
|
||||
Buildable:
|
||||
Prerequisites: heavyh
|
||||
Owner: harkonnen
|
||||
|
||||
DEVAST:
|
||||
Inherits: ^Tank
|
||||
Buildable:
|
||||
Queue: Vehicle
|
||||
BuildPaletteOrder: 100
|
||||
Prerequisites: repairh,researchh
|
||||
Owner: harkonnen
|
||||
Valued:
|
||||
Cost: 1800
|
||||
Tooltip:
|
||||
Name: Devastator
|
||||
Description: Big and slow tank.\n Strong vs Tanks\n Weak vs Infantry, Aircraft
|
||||
Health:
|
||||
HP: 900
|
||||
Armor:
|
||||
Type: Heavy
|
||||
Mobile:
|
||||
Speed: 3
|
||||
Crushes: crate, infantry
|
||||
RevealsShroud:
|
||||
Range: 6
|
||||
RenderUnit:
|
||||
AttackFrontal:
|
||||
PrimaryWeapon: 120mm
|
||||
PrimaryLocalOffset: -4,-5,0,0,0, 4,-5,0,0,0
|
||||
PrimaryRecoil: 4
|
||||
PrimaryRecoilRecovery: 0.7
|
||||
AutoTarget:
|
||||
Explodes:
|
||||
Weapon: UnitExplodeSmall
|
||||
EmptyWeapon: UnitExplodeSmall
|
||||
LeavesHusk:
|
||||
Selectable:
|
||||
Bounds: 44,38,0,-4
|
||||
@@ -3,7 +3,7 @@ RIFLE:
|
||||
Buildable:
|
||||
Queue: Infantry
|
||||
BuildPaletteOrder: 10
|
||||
Owner: atreides
|
||||
Owner: atreides,harkonnen
|
||||
Valued:
|
||||
Cost: 100
|
||||
Tooltip:
|
||||
|
||||
@@ -20,10 +20,6 @@
|
||||
CustomSellValue:
|
||||
Value: 2500
|
||||
BaseBuilding:
|
||||
Transforms:
|
||||
IntoActor: mcv
|
||||
Offset:1,1
|
||||
Facing: 270
|
||||
ProductionBar:
|
||||
|
||||
^POWER:
|
||||
@@ -355,11 +351,58 @@
|
||||
LowPowerSlowdown: 3
|
||||
ProductionBar:
|
||||
|
||||
^GUNTOWER:
|
||||
WALL:
|
||||
Buildable:
|
||||
Queue: Defense
|
||||
BuildPaletteOrder: 1000
|
||||
Owner: atreides,harkonnen
|
||||
SoundOnDamageTransition:
|
||||
DamagedSound:
|
||||
DestroyedSound:
|
||||
Valued:
|
||||
Cost: 100
|
||||
CustomSellValue:
|
||||
Value: 0
|
||||
Tooltip:
|
||||
Name: Concrete Wall
|
||||
Description: Stop units and blocks enemy fire.
|
||||
AppearsOnRadar:
|
||||
Building:
|
||||
Dimensions: 1,1
|
||||
Footprint: x
|
||||
BuildSounds:
|
||||
Adjacent: 7
|
||||
TerrainTypes: Clear,Road
|
||||
Health:
|
||||
HP: 500
|
||||
Armor:
|
||||
Type: Concrete
|
||||
Wall:
|
||||
CrushClasses: heavywall
|
||||
LineBuild:
|
||||
Range: 8
|
||||
SelectionDecorations:
|
||||
Selectable:
|
||||
Priority: 1
|
||||
TargetableBuilding:
|
||||
TargetTypes: Ground
|
||||
RenderBuildingWall:
|
||||
HasMakeAnimation: false
|
||||
Palette: d2k
|
||||
GivesExperience:
|
||||
EditorAppearance:
|
||||
RelativeToTopLeft: yes
|
||||
AutoTargetIgnore:
|
||||
ProximityCaptor:
|
||||
Types:Wall
|
||||
Sellable:
|
||||
|
||||
GUNTOWER:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Queue: Defense
|
||||
BuildPaletteOrder: 40
|
||||
Owner: atreides,harkonnen
|
||||
Valued:
|
||||
Cost: 600
|
||||
Tooltip:
|
||||
|
||||
@@ -105,9 +105,9 @@ World:
|
||||
Country@2:
|
||||
Name: Atreides
|
||||
Race: atreides
|
||||
# Country@3:
|
||||
# Name: Harkonnen
|
||||
# Race: harkonnen
|
||||
Country@3:
|
||||
Name: Harkonnen
|
||||
Race: harkonnen
|
||||
# Country@4:
|
||||
# Name: Ordos
|
||||
# Race: ordos
|
||||
@@ -134,7 +134,14 @@ World:
|
||||
SpawnMapActors:
|
||||
CreateMPPlayers:
|
||||
MPStartLocations:
|
||||
SpawnMPUnits:
|
||||
SpawnMPUnits@atreides:
|
||||
InitialUnit: mcva
|
||||
Faction: atreides
|
||||
SpawnMPUnits@harkonnen:
|
||||
InitialUnit: mcvh
|
||||
Faction: harkonnen
|
||||
# SpawnMPUnits@ordos:
|
||||
# InitialUnit: mcvo
|
||||
EvaAlerts:
|
||||
SpatialBins:
|
||||
BinSize: 4
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
Tooltip:
|
||||
Name: Mobile Construction Vehicle
|
||||
Description: Deploys into another Construction Yard.\n Unarmed
|
||||
Icon: mcvicon
|
||||
Selectable:
|
||||
Priority: 3
|
||||
Bounds: 42,42
|
||||
@@ -21,6 +22,7 @@
|
||||
RevealsShroud:
|
||||
Range: 4
|
||||
RenderUnit:
|
||||
Image: MCV
|
||||
MustBeDestroyed:
|
||||
BaseBuilding:
|
||||
-AttackMove:
|
||||
@@ -62,7 +64,7 @@ TRIKE:
|
||||
Queue: Vehicle
|
||||
BuildPaletteOrder: 15
|
||||
Prerequisites: anylight
|
||||
Owner: atreides
|
||||
Owner: atreides,harkonnen
|
||||
Valued:
|
||||
Cost: 200
|
||||
Tooltip:
|
||||
@@ -91,7 +93,7 @@ QUAD:
|
||||
Queue: Vehicle
|
||||
BuildPaletteOrder: 30
|
||||
Prerequisites: anylight
|
||||
Owner: atreides
|
||||
Owner: atreides,harkonnen
|
||||
Valued:
|
||||
Cost: 400
|
||||
Tooltip:
|
||||
@@ -152,7 +154,7 @@ SIEGE:
|
||||
Queue: Vehicle
|
||||
BuildPaletteOrder: 80
|
||||
Prerequisites: anyradar
|
||||
Owner: atreides
|
||||
Owner: atreides,harkonnen
|
||||
Valued:
|
||||
Cost: 600
|
||||
Tooltip:
|
||||
@@ -190,7 +192,7 @@ Missile:
|
||||
Queue: Vehicle
|
||||
BuildPaletteOrder: 50
|
||||
Prerequisites: anyheavy
|
||||
Owner: atreides
|
||||
Owner: atreides,harkonnen
|
||||
Mobile:
|
||||
Speed: 6
|
||||
Health:
|
||||
|
||||
Reference in New Issue
Block a user