Skip to content

Commit

Permalink
added extra d2k buildings for creeps/neutral
Browse files Browse the repository at this point in the history
new SHPs, needs update for d2k-packages.zip
  • Loading branch information
Mailaender committed Jul 17, 2012
1 parent db8f22c commit 1355a9f
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 3 deletions.
12 changes: 12 additions & 0 deletions OpenRA.Mods.D2k/Widgets/Logic/D2kExtractGameFilesLogic.cs
Expand Up @@ -164,6 +164,13 @@ void Extract()
new string[] {"--r8", PathToDataR8, PathToPalette, "2991", "2992", Path.Combine(PathToSHPs, "starporto"), "--building"},
new string[] {"--r8", PathToDataR8, PathToPalette, "2993", "2995", Path.Combine(PathToSHPs, "lighto"), "--building"},
new string[] {"--r8", PathToDataR8, PathToPalette, "2996", "2997", Path.Combine(PathToSHPs, "palaceo"), "--building"},
new string[] {"--r8", PathToDataR8, PathToPalette, "2998", "2998", Path.Combine(PathToSHPs, "sietch"), "--building"},
new string[] {"--r8", PathToDataR8, PathToPalette, "2999", "3000", Path.Combine(PathToSHPs, "starportc"), "--building"},
new string[] {"--r8", PathToDataR8, PathToPalette, "3001", "3003", Path.Combine(PathToSHPs, "heavyc"), "--building"},
new string[] {"--r8", PathToDataR8, PathToPalette, "3004", "3005", Path.Combine(PathToSHPs, "palacec"), "--building"},
//conyardc repetition
new string[] {"--r8", PathToDataR8, PathToPalette, "3008", "3013", Path.Combine(PathToSHPs, "plates")},
//projectiles
new string[] {"--r8", PathToDataR8, PathToPalette, "3370", "3380", Path.Combine(PathToSHPs, "unload"), "--projectile"},
//explosions
new string[] {"--r8", PathToDataR8, PathToPalette, "3549", "3564", Path.Combine(PathToSHPs, "wormjaw")},
Expand Down Expand Up @@ -474,6 +481,11 @@ void Extract()
new string[] {"--shp", Path.Combine(PathToSHPs, "missile_launch.png"), "96"},
new string[] {"--shp", Path.Combine(PathToSHPs, "mouse.png"), "48"},
new string[] {"--shp", Path.Combine(PathToSHPs, "spice0.png"), "32"},
new string[] {"--shp", Path.Combine(PathToSHPs, "sietch.png"), "64"},
new string[] {"--shp", Path.Combine(PathToSHPs, "starportc.png"), "96"},
new string[] {"--shp", Path.Combine(PathToSHPs, "heavyc.png"), "96"},
new string[] {"--shp", Path.Combine(PathToSHPs, "palacec.png"), "96"},
new string[] {"--shp", Path.Combine(PathToSHPs, "plates.png"), "32"},
};

var SHPsToTranspose = new string[][]
Expand Down
1 change: 0 additions & 1 deletion mods/d2k/TODO
Expand Up @@ -14,7 +14,6 @@
# add game logic for concrete plates (use terrain overlay from bridges/ressources)
# allow placing turrets on walls
# make sandworm behave like a moving anti-everything mine (currently not attacking anything)
# add neutral buildings: emperor palace, fremen siech, smugglers factory
# allow upgrades
# add muzzles and explosions (currently falls back to RA)
# create a shellmap (currently just a blank placeholder)
Expand Down
2 changes: 1 addition & 1 deletion mods/d2k/mod.yaml
Expand Up @@ -86,7 +86,7 @@ Movies:

LoadScreen: D2kLoadScreen
InstallerMenuWidget: INSTALL_PANEL
TestFile: carryall.shp
TestFile: plates.shp
PackageURL: http://open-ra.org/get-dependency.php?file=d2k-packages

ServerTraits:
Expand Down
50 changes: 49 additions & 1 deletion mods/d2k/rules/structures.yaml
Expand Up @@ -492,4 +492,52 @@
Reservable:
RepairsUnits:
Interval: 10
RallyPoint:
RallyPoint:

SIETCH:
Inherits: ^Building
Tooltip:
Name: Fremen Sietch
Building:
Power: 0
Footprint: xx xx
Dimensions: 2,2
TerrainTypes: Cliff
Health:
HP: 400
Armor:
Type: Heavy
RevealsShroud:
Range: 10
-GivesBuildableArea:
-Sellable:
-Capturable:
-CapturableBar:

STARPORTC:
Inherits: ^STARPORT
ProductionAirdrop:
ReadyAudio:
ProductionQueue@Vehicle:
QueuedAudio:
ReadyAudio:
OnHoldAudio:
CancelledAudio:
BlockedAudio:
-Buildable:

PALACEC:
Inherits: ^PALACE
-Buildable:

HEAVYC:
Inherits: ^HEAVY
-Buildable:
RenderBuildingWarFactory:
Image: HEAVYC
ProductionQueue@Vehicle:
ReadyAudio:
QueuedAudio:
OnHoldAudio:
CancelledAudio:
BlockedAudio:

0 comments on commit 1355a9f

Please sign in to comment.