put d2k mod stuff into it's own branch
This commit is contained in:
35
mods/d2k/rules/aircraft.yaml
Normal file
35
mods/d2k/rules/aircraft.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
CARRYALL:
|
||||
Inherits: ^Helicopter
|
||||
Buildable:
|
||||
Queue: Plane
|
||||
BuildPaletteOrder: 110
|
||||
Prerequisites: anyhightech
|
||||
BuiltAt: hightecha
|
||||
Owner: atreides
|
||||
Valued:
|
||||
Cost: 1200
|
||||
Tooltip:
|
||||
Name: Carryall
|
||||
Description: Fast drop ship.\n Unarmed
|
||||
Health:
|
||||
HP: 90
|
||||
Armor:
|
||||
Type: Light
|
||||
RevealsShroud:
|
||||
Range: 12
|
||||
Helicopter:
|
||||
RearmBuildings: hightecha
|
||||
InitialFacing: 0
|
||||
ROT: 5
|
||||
Speed: 12
|
||||
LandableTerrainTypes: Clear,Rough,Road,Ore,Beach
|
||||
RenderUnit:
|
||||
PlayerPalette: d2kplayer
|
||||
# RenderCargo:
|
||||
WithShadow:
|
||||
Cargo:
|
||||
Types: Vehicle
|
||||
MaxWeight: 1
|
||||
PipCount: 1
|
||||
FallsToEarth:
|
||||
Explosion: UnitExplode
|
||||
@@ -1,16 +0,0 @@
|
||||
^Vehicle:
|
||||
AppearsOnRadar:
|
||||
Mobile:
|
||||
TerrainSpeeds:
|
||||
Clear: 100%
|
||||
ROT: 5
|
||||
Selectable:
|
||||
Targetable:
|
||||
TargetTypes: Ground
|
||||
Repairable:
|
||||
Passenger:
|
||||
CargoType: Vehicle
|
||||
HiddenUnderFog:
|
||||
GainsExperience:
|
||||
GivesExperience:
|
||||
DrawLineToTarget:
|
||||
232
mods/d2k/rules/structures.yaml
Normal file
232
mods/d2k/rules/structures.yaml
Normal file
@@ -0,0 +1,232 @@
|
||||
CONYARDA:
|
||||
Inherits: ^Building
|
||||
Building:
|
||||
Power: 0
|
||||
Footprint: xxx xxx xxx
|
||||
Dimensions: 3,3
|
||||
Health:
|
||||
HP: 1000
|
||||
Armor:
|
||||
Type: Heavy
|
||||
RevealsShroud:
|
||||
Range: 5
|
||||
Bib:
|
||||
Production:
|
||||
Produces: Building,Defense
|
||||
IronCurtainable:
|
||||
Valued:
|
||||
Cost: 2500
|
||||
Tooltip:
|
||||
Name: Atreides Construction Yard
|
||||
CustomSellValue:
|
||||
Value: 2500
|
||||
BaseBuilding:
|
||||
Transforms:
|
||||
IntoActor: mcv
|
||||
Offset:1,1
|
||||
Facing: 96
|
||||
ProductionBar:
|
||||
RenderBuilding:
|
||||
PlayerPalette: d2kplayer
|
||||
|
||||
PWRA:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 0
|
||||
Owner: atreides
|
||||
# Hotkey: p
|
||||
Valued:
|
||||
Cost: 300
|
||||
Tooltip:
|
||||
Name: Atreides Windtrap
|
||||
Description: Provides power for other Atreides structures
|
||||
ProvidesCustomPrerequisite:
|
||||
Prerequisite: anypower
|
||||
Building:
|
||||
Power: 100
|
||||
Footprint: xx xx
|
||||
Dimensions: 2,2
|
||||
Health:
|
||||
HP: 400
|
||||
Armor:
|
||||
Type: Wood
|
||||
RevealsShroud:
|
||||
Range: 4
|
||||
Bib:
|
||||
RenderBuilding:
|
||||
PlayerPalette: d2kplayer
|
||||
|
||||
BARRA:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 30
|
||||
Prerequisites: anypower
|
||||
Owner: atreides
|
||||
# Hotkey: b
|
||||
Valued:
|
||||
Cost: 400
|
||||
Tooltip:
|
||||
Name: Atreides Barracks
|
||||
Description: Trains infantry
|
||||
Building:
|
||||
Power: -20
|
||||
Footprint: xx xx xx
|
||||
Dimensions: 2,3
|
||||
Health:
|
||||
HP: 800
|
||||
Armor:
|
||||
Type: Wood
|
||||
RevealsShroud:
|
||||
Range: 5
|
||||
Bib:
|
||||
RenderBuilding:
|
||||
PlayerPalette: d2kplayer
|
||||
RallyPoint:
|
||||
Exit@1:
|
||||
SpawnOffset: -1,19
|
||||
ExitCell: 0,2
|
||||
Exit@2:
|
||||
SpawnOffset: -17,15
|
||||
ExitCell: 0,2
|
||||
Production:
|
||||
Produces: Infantry
|
||||
PrimaryBuilding:
|
||||
ProductionBar:
|
||||
|
||||
HIGHTECHA:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 50
|
||||
Prerequisites: refa
|
||||
Owner: atreides
|
||||
Valued:
|
||||
Cost: 2000
|
||||
Tooltip:
|
||||
Name: High Tech Factory
|
||||
Description: Produces carryalls
|
||||
ProvidesCustomPrerequisite:
|
||||
Prerequisite: anyhightech
|
||||
Building:
|
||||
Power: -30
|
||||
Footprint: _x_ xxx xxx
|
||||
Dimensions: 3,3
|
||||
Health:
|
||||
HP: 1500
|
||||
Armor:
|
||||
Type: Light
|
||||
RevealsShroud:
|
||||
Range: 4
|
||||
Bib:
|
||||
RenderBuilding:
|
||||
PlayerPalette: d2kplayer
|
||||
RallyPoint:
|
||||
Exit@1:
|
||||
SpawnOffset: 5,0
|
||||
ExitCell: 1,1
|
||||
Production:
|
||||
Produces: Plane
|
||||
PrimaryBuilding:
|
||||
ProductionBar:
|
||||
|
||||
REFA:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 10
|
||||
Prerequisites: anypower
|
||||
Owner: atreides
|
||||
Valued:
|
||||
Cost: 1400
|
||||
Tooltip:
|
||||
Name: Spice Refinery
|
||||
Description: Harvesters unload spice here.
|
||||
Building:
|
||||
Power: -30
|
||||
Footprint: _x_ xxx x==
|
||||
Dimensions: 3,3
|
||||
Health:
|
||||
HP: 900
|
||||
Armor:
|
||||
Type: Wood
|
||||
RevealsShroud:
|
||||
Range: 6
|
||||
Bib:
|
||||
RenderBuilding:
|
||||
PlayerPalette: d2kplayer
|
||||
OreRefinery:
|
||||
StoresOre:
|
||||
PipCount: 17
|
||||
Capacity: 2000
|
||||
CustomSellValue:
|
||||
Value: 600
|
||||
FreeActor:
|
||||
Actor: HARV
|
||||
InitialActivity: FindResources
|
||||
SpawnOffset: 1,2
|
||||
Facing: 64
|
||||
|
||||
SILOA:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 40
|
||||
Prerequisites: refa
|
||||
Owner: atreides
|
||||
Valued:
|
||||
Cost: 150
|
||||
Tooltip:
|
||||
Name: Silo
|
||||
Description: Stores excess harvested Spice
|
||||
Building:
|
||||
Power: -10
|
||||
-GivesBuildableArea:
|
||||
Health:
|
||||
HP: 300
|
||||
Armor:
|
||||
Type: Wood
|
||||
RevealsShroud:
|
||||
Range: 4
|
||||
# RenderBuildingSilo:
|
||||
StoresOre:
|
||||
PipCount: 5
|
||||
Capacity: 1500
|
||||
RenderBuilding:
|
||||
PlayerPalette: d2kplayer
|
||||
-EmitInfantryOnSell:
|
||||
|
||||
LIGHTA:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 50
|
||||
Prerequisites: refa
|
||||
Owner: atreides
|
||||
Valued:
|
||||
Cost: 2000
|
||||
Tooltip:
|
||||
Name: Light Factory
|
||||
Description: light vehicles.
|
||||
Building:
|
||||
Power: -30
|
||||
Footprint: xxx xxx
|
||||
Dimensions: 3,2
|
||||
Health:
|
||||
HP: 1500
|
||||
Armor:
|
||||
Type: Light
|
||||
RevealsShroud:
|
||||
Range: 4
|
||||
Bib:
|
||||
RenderBuilding:
|
||||
PlayerPalette: d2kplayer
|
||||
RallyPoint:
|
||||
Exit@1:
|
||||
SpawnOffset: 5,0
|
||||
ExitCell: 1,1
|
||||
Production:
|
||||
Produces: Vehicle
|
||||
PrimaryBuilding:
|
||||
ProductionBar:
|
||||
@@ -1,79 +1,30 @@
|
||||
Player:
|
||||
TechTree:
|
||||
PlayerResources:
|
||||
InitialCash: 5000
|
||||
ActorGroupProxy:
|
||||
DeveloperMode:
|
||||
|
||||
World:
|
||||
ScreenShaker:
|
||||
ColorPickerPaletteModifier:
|
||||
BuildingInfluence:
|
||||
UnitInfluence:
|
||||
ChooseBuildTabOnSelect:
|
||||
PaletteFromCurrentTileset:
|
||||
Name: terrain
|
||||
PlayerColorPalette:
|
||||
BasePalette: units
|
||||
PlayerColorPalette@d2kplayer:
|
||||
BasePalette: d2k
|
||||
BaseName: d2kplayer
|
||||
PaletteFormat: d2k
|
||||
PaletteFromFile@units:
|
||||
Name: units
|
||||
Filename: units.pal
|
||||
World:
|
||||
Country@2:
|
||||
Name: Atreides
|
||||
Race: atreides
|
||||
# Country@3:
|
||||
# Name: Harkonnen
|
||||
# Race: harkonnen
|
||||
# Country@4:
|
||||
# Name: Ordos
|
||||
# Race: ordos
|
||||
PaletteFromFile@d2k:
|
||||
Name: d2k
|
||||
Filename: d2k.pal
|
||||
PaletteFromFile@chrome:
|
||||
Name: chrome
|
||||
Filename: temperat.pal
|
||||
PaletteFromFile@effect:
|
||||
Name: effect
|
||||
Filename: temperat.pal
|
||||
PaletteFromFile@cursor:
|
||||
Name: cursor
|
||||
Filename: temperat.pal
|
||||
PaletteFromRGBA@shadow:
|
||||
Name: shadow
|
||||
R: 0
|
||||
G: 0
|
||||
B: 0
|
||||
A: 140
|
||||
PaletteFromRGBA@highlight:
|
||||
Name: highlight
|
||||
R: 255
|
||||
G: 255
|
||||
B: 255
|
||||
A: 128
|
||||
PaletteFromRGBA@disabled:
|
||||
Name: disabled
|
||||
R: 0
|
||||
G: 0
|
||||
B: 0
|
||||
A: 180
|
||||
ShroudPalette@shroud:
|
||||
ShroudPalette@fog:
|
||||
IsFog: yes
|
||||
Name: fog
|
||||
Country@0:
|
||||
Name: Allies
|
||||
Race: allies
|
||||
SpawnMapActors:
|
||||
CreateMPPlayers:
|
||||
MPStartLocations:
|
||||
SpawnMPUnits:
|
||||
EvaAlerts:
|
||||
RadarUp:
|
||||
RadarDown:
|
||||
BuildingSelectAudio:
|
||||
BuildingReadyAudio:
|
||||
BuildingCannotPlaceAudio:
|
||||
UnitSelectAudio:
|
||||
UnitReadyAudio:
|
||||
OnHoldAudio:
|
||||
CancelledAudio:
|
||||
CashTickUp:
|
||||
CashTickDown:
|
||||
LowPower:
|
||||
SilosNeeded:
|
||||
PrimaryBuildingSelected:
|
||||
AbilityInsufficientPower:
|
||||
LevelUp:
|
||||
SpatialBins:
|
||||
BinSize: 4
|
||||
Shroud:
|
||||
Filename: d2k.pal
|
||||
# ResourceType@spice:
|
||||
# ResourceType: 1
|
||||
# Palette: d2k
|
||||
# SpriteNames: spice #?
|
||||
# ValuePerUnit: 25
|
||||
# Name: Spice
|
||||
# PipColor: Yellow
|
||||
# AllowedTerrainTypes: Sand
|
||||
# AllowUnderActors: false
|
||||
@@ -1,21 +1,69 @@
|
||||
MCV:
|
||||
Transforms:
|
||||
IntoActor: conyarda
|
||||
RenderUnit:
|
||||
Image: MCV
|
||||
PlayerPalette: d2kplayer
|
||||
|
||||
TRIKE:
|
||||
Inherits: ^Vehicle
|
||||
Valued:
|
||||
Cost: 2000
|
||||
Cost: 200
|
||||
Tooltip:
|
||||
Name: Mobile Construction Vehicle
|
||||
Description: Deploys into another Construction Yard.\n Unarmed
|
||||
Name: Scout Trike
|
||||
Icon: trikeicon
|
||||
Description: Weak Scout.\n Decent vs. Infantry
|
||||
Buildable:
|
||||
BuildPaletteOrder: 15
|
||||
Prerequisites: lighta
|
||||
Owner: atreides
|
||||
Selectable:
|
||||
Priority: 3
|
||||
Bounds: 42,42
|
||||
Bounds: 24,24
|
||||
Mobile:
|
||||
ROT: 15
|
||||
Speed: 20
|
||||
Health:
|
||||
HP: 600
|
||||
HP: 75
|
||||
Armor:
|
||||
Type: Light
|
||||
Mobile:
|
||||
Speed: 6
|
||||
RevealsShroud:
|
||||
Range: 4
|
||||
Range: 8
|
||||
AttackFrontal:
|
||||
PrimaryWeapon: M60mg
|
||||
PrimaryOffset: 0,0,0,-4
|
||||
RenderUnit:
|
||||
MustBeDestroyed:
|
||||
BaseBuilding:
|
||||
PlayerPalette: d2kplayer
|
||||
WithMuzzleFlash:
|
||||
PrimaryOffset: 0,3,0,0
|
||||
AutoTarget:
|
||||
|
||||
QUAD:
|
||||
Inherits: ^Vehicle
|
||||
Valued:
|
||||
Cost: 400
|
||||
Tooltip:
|
||||
Name: Quad
|
||||
Description: Fast scout vehicle, armed with \nrockets.\n Strong vs Vehicles, Aircraft\n Weak vs Infantry
|
||||
Buildable:
|
||||
BuildPaletteOrder: 30
|
||||
Prerequisites: lighta
|
||||
Owner: atreides
|
||||
Mobile:
|
||||
ROT: 10
|
||||
Speed: 13
|
||||
Health:
|
||||
HP: 120
|
||||
Armor:
|
||||
Type: Light
|
||||
RevealsShroud:
|
||||
Range: 7
|
||||
AttackFrontal:
|
||||
PrimaryWeapon: RedEye
|
||||
SecondaryWeapon: Dragon
|
||||
PrimaryOffset: 0,0,0,-2
|
||||
PrimaryLocalOffset: -4,0,0,0,25, 4,0,0,0,-25
|
||||
SecondaryOffset: 0,0,0,-2
|
||||
SecondaryLocalOffset: -4,0,0,0,25, 4,0,0,0,-25
|
||||
RenderUnit:
|
||||
PlayerPalette: d2kplayer
|
||||
AutoTarget:
|
||||
Reference in New Issue
Block a user