added Harkonnen

This commit is contained in:
Matthias Mailänder
2012-05-27 12:45:35 +02:00
parent 1fcf044980
commit e0e1011d30
13 changed files with 534 additions and 187 deletions

View File

@@ -169,8 +169,8 @@ tabs-normal: tabs.png
flags: buttons.png
atreides: 0,84,21,107
harkonnen: 22,84,45,107
orodos: 45,84,67,107
harkonnen: 22,84,23,107
ordos: 45,84,22,107
random: 67,84,90,107
spectator: 67,84,90,107

View File

@@ -12,7 +12,7 @@ Background@SERVER_LOBBY:
Width:800
Height:20
Font:Bold
Text:OpenRA Multiplayer Lobby
Text:OpenD2k Multiplayer Lobby
Background@LOBBY_MAP_BG:
X:PARENT_RIGHT-268
Y:50
@@ -70,15 +70,15 @@ Background@SERVER_LOBBY:
Y:0
Children:
Image@FACTIONFLAG:
Width:30
Height:15
Width:23
Height:23
X:5
Y:5
Y:0
Label@FACTIONNAME:
Text:Faction
Width:60
Width:70
Height:25
X:40
X:30
Y:0
DropDownButton@TEAM:
Text:Team

View File

@@ -42,6 +42,7 @@ Rules:
mods/d2k/rules/aircraft.yaml
mods/d2k/rules/infantry.yaml
mods/d2k/rules/atreides.yaml
mods/d2k/rules/harkonnen.yaml
Sequences:
mods/d2k/sequences.yaml

View File

@@ -5,7 +5,7 @@ CARRYALL:
BuildPaletteOrder: 110
Prerequisites: anyhightech
BuiltAt: hightecha
Owner: atreides
Owner: atreides,harkonnen
Valued:
Cost: 1200
Tooltip:

View File

@@ -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

View File

@@ -163,48 +163,3 @@
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:

View 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

View File

@@ -3,7 +3,7 @@ RIFLE:
Buildable:
Queue: Infantry
BuildPaletteOrder: 10
Owner: atreides
Owner: atreides,harkonnen
Valued:
Cost: 100
Tooltip:

View File

@@ -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:

View File

@@ -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

View File

@@ -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:

View File

@@ -18,6 +18,124 @@ harvester:
Start: 0
Length: 1
wall:
idle:
Start: 0
Length: 16
scratched-idle:
Start: 0
Length: 16
damaged-idle:
Start: 16
Length: 16
critical-idle:
Start: 16
Length: 16
carryall:
idle:
Start: 0
Facings: 32
unload:
Start: 0
Facings: 32
orni:
idle:
Start: 0
Facings: 32
trike:
idle:
Start: 0
Facings: 32
quad:
idle:
Start: 0
Facings: 32
siege:
idle:
Start: 0
Facings: 32
turret: siegeturret
Start: 0
Facings: 32
missile:
idle:
Start: 0
Facings: 32
sonic:
idle:
Start: 0
Facings: 32
guntower:
idle:
Start: 0
Facings: 1
recoil:
Start: 0
Facings: 1
make: silomake
Start: 0
Length: *
damaged-idle:
Start: 0
Facings: 1
damaged-recoil:
Start: 0
Facings: 1
turret: gunturret
Start: 0
Facings: 32
frigate:
idle:
Start: 0
Facings: 1
#TODO: This is wrong.
rifle:
stand:
Start: 0
Facings: 8
stand2:
Start: 8
Length: 8
stand3:
Start: 128
Length: 16
run:
Start: 16
Length: 6
Facings: 8
shoot:
Start: 64
Length: 6
Facings: 8
prone-stand:
Start: 112
Length: 4
Facings: 8
prone-run:
Start: 144
Length: 4
Facings: 8
standup-0:
Start: 176
Length: 2
Facings: 8
prone-shoot:
Start: 192
Length: 6
Facings: 8
conyarda:
idle:
Start: 0
@@ -50,20 +168,6 @@ starporta:
Start: 0
Length: *
walla:
idle:
Start: 0
Length: 16
scratched-idle:
Start: 0
Length: 16
damaged-idle:
Start: 16
Length: 16
critical-idle:
Start: 16
Length: 16
pwra:
idle:
Start: 0
@@ -190,29 +294,6 @@ heavya:
damaged-idle-top:
Start: 2
carryall:
idle:
Start: 0
Facings: 32
unload:
Start: 0
Facings: 32
orni:
idle:
Start: 0
Facings: 32
trike:
idle:
Start: 0
Facings: 32
quad:
idle:
Start: 0
Facings: 32
combata:
idle:
Start: 0
@@ -221,84 +302,176 @@ combata:
Start: 0
Facings: 32
siege:
conyardh:
idle:
Start: 0
Facings: 32
turret: siegeturret
make: conmake
Start: 0
Facings: 32
Length: *
damaged-idle:
Start: 1
missile:
repairh:
idle:
Start: 0
Facings: 32
make: repairmake
Start: 0
Length: *
damaged-idle:
Start: 1
sonic:
starporth:
idle:
Start: 0
Facings: 32
active:
Start: 0
Length: 1
damaged-idle:
Start: 1
damaged-active:
Start: 1
make: starportmake
Start: 0
Length: *
guntowera:
pwrh:
idle:
Start: 0
Facings: 1
recoil:
make: wtrpmake
Start: 0
Facings: 1
make: silomake
Length: *
damaged-idle:
Start: 1
barrh:
idle:
Start: 0
make: barramake
Start: 0
Length: *
damaged-idle:
Start: 1
radarh:
idle:
Start: 0
make: radarmake
Start: 0
Length: *
damaged-idle:
Start: 1
refh:
idle:
Start: 0
Length: 1
make: refmake
Start: 0
Length: *
damaged-idle:
Start: 0
Facings: 1
damaged-recoil:
build-top:
Start: 1
Length: 1
damaged-build-top:
Start: 2
Length: 1
idle-top:
Start: 1
damaged-idle-top:
Start: 2
siloh:
idle:
Start: 0
Facings: 1
turret: gunturret
Length: 4
damaged-idle:
Start: 4
Length: 1
make: silomake
Start: 0
Length: *
hightechh:
idle:
Start: 0
make: highmake
Start: 0
Length: *
damaged-idle:
Start: 1
researchh:
idle:
Start: 0
make: researchmake
Start: 0
Length: *
damaged-idle:
Start: 1
palaceh:
idle:
Start: 0
make: palacemake
Start: 0
Length: *
damaged-idle:
Start: 1
lighth:
idle:
Start: 0
Length: 1
make: lightmake
Start: 0
Length: *
damaged-idle:
Start: 0
build-top:
Start: 1
Length: 1
damaged-build-top:
Start: 2
Length: 1
idle-top:
Start: 1
damaged-idle-top:
Start: 2
heavyh:
idle:
Start: 0
Length: 1
make: heavymake
Start: 0
Length: *
damaged-idle:
Start: 0
build-top:
Start: 1
Length: 1
damaged-build-top:
Start: 2
Length: 1
idle-top:
Start: 1
damaged-idle-top:
Start: 2
combath:
idle:
Start: 0
Facings: 32
turret: combathturret
Start: 0
Facings: 32
frigate:
devast:
idle:
Start: 0
Facings: 1
#TODO: This is wrong.
rifle:
stand:
Start: 0
Facings: 8
stand2:
Start: 8
Length: 8
stand3:
Start: 128
Length: 16
run:
Start: 16
Length: 6
Facings: 8
shoot:
Start: 64
Length: 6
Facings: 8
prone-stand:
Start: 112
Length: 4
Facings: 8
prone-run:
Start: 144
Length: 4
Facings: 8
standup-0:
Start: 176
Length: 2
Facings: 8
prone-shoot:
Start: 192
Length: 6
Facings: 8
Facings: 32
pips:
groups:

View File

@@ -57,8 +57,8 @@ mono OpenRA.Utility.exe --r8 $R8 $PAL 2051 2082 "combath" --vehicle
mono OpenRA.Utility.exe --shp combath.png 48
mono OpenRA.Utility.exe --r8 $R8 $PAL 2083 2114 "devast" --vehicle
mono OpenRA.Utility.exe --shp devast.png 48
mono OpenRA.Utility.exe --r8 $R8 $PAL 2115 2146 "combataturret" --vehicle
mono OpenRA.Utility.exe --shp combataturret.png 48
mono OpenRA.Utility.exe --r8 $R8 $PAL 2115 2146 "combathturret" --vehicle
mono OpenRA.Utility.exe --shp combathturret.png 48
mono OpenRA.Utility.exe --r8 $R8 $PAL 2147 2148 "deathhandmissile"
mono OpenRA.Utility.exe --shp deathhandmissile.png 24
#rifleinfantry repetitions?
@@ -82,8 +82,8 @@ mono OpenRA.Utility.exe --r8 $R8 $PAL 2523 2524 "pwra" --building
mono OpenRA.Utility.exe --shp pwra.png 64
mono OpenRA.Utility.exe --r8 $R8 $PAL 2525 2526 "barra" --building
mono OpenRA.Utility.exe --shp barra.png 80
mono OpenRA.Utility.exe --r8 $R8 $PAL 2527 2558 "walla" --wall
mono OpenRA.Utility.exe --shp walla.png 32
mono OpenRA.Utility.exe --r8 $R8 $PAL 2527 2558 "wall" --wall
mono OpenRA.Utility.exe --shp wall.png 32
mono OpenRA.Utility.exe --r8 $R8 $PAL 2559 2560 "conyarda" --building
mono OpenRA.Utility.exe --shp conyarda.png 96
mono OpenRA.Utility.exe --r8 $R8 $PAL 2561 2563 "refa" --building # 2561 is fassade, 2562 is silo top, 2563 is silo top broken
@@ -94,12 +94,12 @@ mono OpenRA.Utility.exe --r8 $R8 $PAL 2566 2570 "siloa" --building
mono OpenRA.Utility.exe --shp siloa.png 32
mono OpenRA.Utility.exe --r8 $R8 $PAL 2571 2572 "repaira" --building
mono OpenRA.Utility.exe --shp repaira.png 96
mono OpenRA.Utility.exe --r8 $R8 $PAL 2573 2588 "guntowera" --building
mono OpenRA.Utility.exe --shp guntowera.png 48
mono OpenRA.Utility.exe --r8 $R8 $PAL 2573 2588 "guntower" --building
mono OpenRA.Utility.exe --shp guntower.png 48
mono OpenRA.Utility.exe --r8 $R8 $PAL 2589 2620 "gunturret" --building
mono OpenRA.Utility.exe --shp gunturret.png 48
mono OpenRA.Utility.exe --r8 $R8 $PAL 2621 2636 "rockettowera" --building
mono OpenRA.Utility.exe --shp rockettowera.png 48
mono OpenRA.Utility.exe --r8 $R8 $PAL 2621 2636 "rockettower" --building
mono OpenRA.Utility.exe --shp rockettower.png 48
mono OpenRA.Utility.exe --r8 $R8 $PAL 2637 2668 "rocketturreta" --building
mono OpenRA.Utility.exe --shp rocketturreta.png 48
mono OpenRA.Utility.exe --r8 $R8 $PAL 2669 2670 "researcha" --building
@@ -110,6 +110,39 @@ mono OpenRA.Utility.exe --r8 $R8 $PAL 2673 2675 "lighta" --building
mono OpenRA.Utility.exe --shp lighta.png 96
mono OpenRA.Utility.exe --r8 $R8 $PAL 2676 2677 "palacea" --building
mono OpenRA.Utility.exe --shp palacea.png 96
mono OpenRA.Utility.exe --r8 $R8 $PAL 2678 2680 "heavyh" --building
mono OpenRA.Utility.exe --shp heavyh.png 96
mono OpenRA.Utility.exe --r8 $R8 $PAL 2681 2682 "radarh" --building
mono OpenRA.Utility.exe --shp radarh.png 96
mono OpenRA.Utility.exe --r8 $R8 $PAL 2683 2684 "pwrh" --building
mono OpenRA.Utility.exe --shp pwrh.png 64
mono OpenRA.Utility.exe --r8 $R8 $PAL 2685 2686 "barrh" --building
mono OpenRA.Utility.exe --shp barrh.png 64
# identical wall
mono OpenRA.Utility.exe --r8 $R8 $PAL 2719 2720 "conyardh" --building
mono OpenRA.Utility.exe --shp conyardh.png 96
mono OpenRA.Utility.exe --r8 $R8 $PAL 2721 2723 "refh" --building
mono OpenRA.Utility.exe --shp refh.png 120
mono OpenRA.Utility.exe --r8 $R8 $PAL 2724 2725 "hightechh" --building
mono OpenRA.Utility.exe --shp hightechh.png 96
mono OpenRA.Utility.exe --r8 $R8 $PAL 2726 2730 "siloh" --building
mono OpenRA.Utility.exe --shp siloh.png 32
mono OpenRA.Utility.exe --r8 $R8 $PAL 2731 2732 "repairh" --building
mono OpenRA.Utility.exe --shp repairh.png 96
#identical guntower
mono OpenRA.Utility.exe --r8 $R8 $PAL 2749 2780 "gunturreth" --building
mono OpenRA.Utility.exe --shp gunturreth.png 48
#identical rockettower
mono OpenRA.Utility.exe --r8 $R8 $PAL 2797 2828 "rocketturreth" --building
mono OpenRA.Utility.exe --shp rocketturreth.png 48
mono OpenRA.Utility.exe --r8 $R8 $PAL 2829 2830 "researchh" --building
mono OpenRA.Utility.exe --shp researchh.png 96
mono OpenRA.Utility.exe --r8 $R8 $PAL 2831 2832 "starporth" --building
mono OpenRA.Utility.exe --shp starporth.png 96
mono OpenRA.Utility.exe --r8 $R8 $PAL 2833 2835 "lighth" --building
mono OpenRA.Utility.exe --shp lighth.png 96
mono OpenRA.Utility.exe --r8 $R8 $PAL 2836 2837 "palaceh" --building
mono OpenRA.Utility.exe --shp palaceh.png 96
mono OpenRA.Utility.exe --r8 $R8 $PAL 3549 3564 "sandwormmouth"
mono OpenRA.Utility.exe --shp sandwormmouth.png 68
@@ -162,8 +195,8 @@ mono OpenRA.Utility.exe --r8 $R8 $PAL 4026 4026 "siegeicon"
mono OpenRA.Utility.exe --shp siegeicon.png 60
mono OpenRA.Utility.exe --r8 $R8 $PAL 4027 4027 "sonicicon"
mono OpenRA.Utility.exe --shp sonicicon.png 60
mono OpenRA.Utility.exe --r8 $R8 $PAL 4028 4028 "devastatoricon"
mono OpenRA.Utility.exe --shp devastatoricon.png 60
mono OpenRA.Utility.exe --r8 $R8 $PAL 4028 4028 "devasticon"
mono OpenRA.Utility.exe --shp devasticon.png 60
mono OpenRA.Utility.exe --r8 $R8 $PAL 4029 4029 "carryallicon" # = 4030
mono OpenRA.Utility.exe --shp carryallicon.png 60
mono OpenRA.Utility.exe --r8 $R8 $PAL 4031 4031 "orniicon" # = 4062