Merge pull request #4222 from pchote/brimstone-polish
Start with a construction yard on the D2K Brimstone map.
This commit is contained in:
@@ -19,22 +19,24 @@ namespace OpenRA.Mods.RA.Render
|
||||
[Desc("Sequence name to use")]
|
||||
public readonly string Sequence = "crumble-overlay";
|
||||
|
||||
public object Create(ActorInitializer init) { return new WithCrumbleOverlay(init.self, this); }
|
||||
public object Create(ActorInitializer init) { return new WithCrumbleOverlay(init, this); }
|
||||
}
|
||||
|
||||
public class WithCrumbleOverlay : INotifyBuildComplete
|
||||
{
|
||||
Animation overlay;
|
||||
bool buildComplete = false;
|
||||
|
||||
public WithCrumbleOverlay(Actor self, WithCrumbleOverlayInfo info)
|
||||
public WithCrumbleOverlay(ActorInitializer init, WithCrumbleOverlayInfo info)
|
||||
{
|
||||
var rs = self.Trait<RenderSprites>();
|
||||
var rs = init.self.Trait<RenderSprites>();
|
||||
|
||||
overlay = new Animation(rs.GetImage(self));
|
||||
overlay.PlayThen(info.Sequence, () => buildComplete = false);
|
||||
rs.anims.Add("make_overlay_{0}".F(info.Sequence),
|
||||
new AnimationWithOffset(overlay, null, () => !buildComplete, null));
|
||||
if (!init.Contains<SkipMakeAnimsInit>())
|
||||
{
|
||||
var overlay = new Animation(rs.GetImage(init.self));
|
||||
overlay.PlayThen(info.Sequence, () => buildComplete = false);
|
||||
rs.anims.Add("make_overlay_{0}".F(info.Sequence),
|
||||
new AnimationWithOffset(overlay, null, () => !buildComplete, null));
|
||||
}
|
||||
}
|
||||
|
||||
public void BuildingComplete(Actor self)
|
||||
|
||||
@@ -45,6 +45,7 @@ namespace OpenRA.Mods.RA
|
||||
{
|
||||
new LocationInit(sp),
|
||||
new OwnerInit(p),
|
||||
new SkipMakeAnimsInit(),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
BIN
mods/d2k/maps/brimstone/map.bin
Executable file
BIN
mods/d2k/maps/brimstone/map.bin
Executable file
Binary file not shown.
664
mods/d2k/maps/brimstone/map.yaml
Executable file
664
mods/d2k/maps/brimstone/map.yaml
Executable file
@@ -0,0 +1,664 @@
|
||||
Selectable: True
|
||||
|
||||
MapFormat: 5
|
||||
|
||||
Title: Brimstone
|
||||
|
||||
Description: Survive & Thrive
|
||||
|
||||
Author: sanedisruption
|
||||
|
||||
Tileset: ARRAKIS
|
||||
|
||||
MapSize: 128,128
|
||||
|
||||
Bounds: 16,16,96,96
|
||||
|
||||
UseAsShellmap: False
|
||||
|
||||
Type: Conquest
|
||||
|
||||
Players:
|
||||
PlayerReference@Neutral:
|
||||
Name: Neutral
|
||||
OwnsWorld: True
|
||||
NonCombatant: True
|
||||
Race: atreides
|
||||
PlayerReference@Multi0:
|
||||
Name: Multi0
|
||||
Playable: True
|
||||
DefaultStartingUnits: True
|
||||
Race: Random
|
||||
Enemies: Creeps
|
||||
PlayerReference@Multi1:
|
||||
Name: Multi1
|
||||
Playable: True
|
||||
DefaultStartingUnits: True
|
||||
Race: Random
|
||||
Enemies: Creeps
|
||||
PlayerReference@Multi2:
|
||||
Name: Multi2
|
||||
Playable: True
|
||||
DefaultStartingUnits: True
|
||||
Race: Random
|
||||
Enemies: Creeps
|
||||
PlayerReference@Multi3:
|
||||
Name: Multi3
|
||||
Playable: True
|
||||
DefaultStartingUnits: True
|
||||
Race: Random
|
||||
Enemies: Creeps
|
||||
PlayerReference@Multi4:
|
||||
Name: Multi4
|
||||
Playable: True
|
||||
DefaultStartingUnits: True
|
||||
Race: Random
|
||||
Enemies: Creeps
|
||||
PlayerReference@Multi5:
|
||||
Name: Multi5
|
||||
Playable: True
|
||||
DefaultStartingUnits: True
|
||||
Race: Random
|
||||
Enemies: Creeps
|
||||
PlayerReference@Multi6:
|
||||
Name: Multi6
|
||||
Playable: True
|
||||
DefaultStartingUnits: True
|
||||
Race: Random
|
||||
Enemies: Creeps
|
||||
PlayerReference@Multi7:
|
||||
Name: Multi7
|
||||
Playable: True
|
||||
DefaultStartingUnits: True
|
||||
Race: Random
|
||||
Enemies: Creeps
|
||||
PlayerReference@Multi8:
|
||||
Name: Multi8
|
||||
Playable: True
|
||||
DefaultStartingUnits: True
|
||||
Race: Random
|
||||
Enemies: Creeps
|
||||
PlayerReference@Creeps:
|
||||
Name: Creeps
|
||||
NonCombatant: True
|
||||
Race: atreides
|
||||
Enemies: Multi0,Multi1,Multi2,Multi3,Multi4,Multi5,Multi6,Multi7,Multi8
|
||||
|
||||
Actors:
|
||||
Actor1: spicebloom
|
||||
Location: 17,97
|
||||
Owner: Neutral
|
||||
Actor4: spicebloom
|
||||
Location: 24,108
|
||||
Owner: Neutral
|
||||
Actor7: spicebloom
|
||||
Location: 30,110
|
||||
Owner: Neutral
|
||||
Actor9: spicebloom
|
||||
Location: 19,103
|
||||
Owner: Neutral
|
||||
Actor14: spicebloom
|
||||
Location: 17,110
|
||||
Owner: Neutral
|
||||
Actor5: spicebloom
|
||||
Location: 67,60
|
||||
Owner: Neutral
|
||||
Actor29: spicebloom
|
||||
Location: 109,52
|
||||
Owner: Neutral
|
||||
Actor2: spicebloom
|
||||
Location: 89,64
|
||||
Owner: Neutral
|
||||
Actor3: spicebloom
|
||||
Location: 62,38
|
||||
Owner: Neutral
|
||||
Actor25: spicebloom
|
||||
Location: 96,63
|
||||
Owner: Neutral
|
||||
Actor22: spicebloom
|
||||
Location: 74,18
|
||||
Owner: Neutral
|
||||
Actor20: spicebloom
|
||||
Location: 64,28
|
||||
Owner: Neutral
|
||||
Actor13: spicebloom
|
||||
Location: 110,35
|
||||
Owner: Neutral
|
||||
Actor15: spicebloom
|
||||
Location: 92,17
|
||||
Owner: Neutral
|
||||
Actor8: spicebloom
|
||||
Location: 30,61
|
||||
Owner: Neutral
|
||||
Actor33: spicebloom
|
||||
Location: 101,26
|
||||
Owner: Neutral
|
||||
Actor10: spicebloom
|
||||
Location: 67,98
|
||||
Owner: Neutral
|
||||
Actor35: spicebloom
|
||||
Location: 110,29
|
||||
Owner: Neutral
|
||||
Actor11: spicebloom
|
||||
Location: 106,21
|
||||
Owner: Neutral
|
||||
Actor37: spicebloom
|
||||
Location: 98,17
|
||||
Owner: Neutral
|
||||
Actor65: wall
|
||||
Location: 38,96
|
||||
Owner: Neutral
|
||||
Actor40: mpspawn
|
||||
Location: 95,43
|
||||
Owner: Neutral
|
||||
Actor41: mpspawn
|
||||
Location: 82,30
|
||||
Owner: Neutral
|
||||
Actor177: wall
|
||||
Location: 103,93
|
||||
Owner: Neutral
|
||||
Actor147: spicebloom
|
||||
Location: 96,104
|
||||
Owner: Neutral
|
||||
Actor64: wall
|
||||
Location: 38,95
|
||||
Owner: Neutral
|
||||
Actor79: wall
|
||||
Location: 39,95
|
||||
Owner: Neutral
|
||||
Actor176: wall
|
||||
Location: 103,92
|
||||
Owner: Neutral
|
||||
Actor44: mpspawn
|
||||
Location: 29,86
|
||||
Owner: Neutral
|
||||
Actor45: mpspawn
|
||||
Location: 39,96
|
||||
Owner: Neutral
|
||||
Actor66: wall
|
||||
Location: 38,97
|
||||
Owner: Neutral
|
||||
Actor67: wall
|
||||
Location: 38,98
|
||||
Owner: Neutral
|
||||
Actor68: wall
|
||||
Location: 38,99
|
||||
Owner: Neutral
|
||||
Actor69: wall
|
||||
Location: 39,99
|
||||
Owner: Neutral
|
||||
Actor70: wall
|
||||
Location: 40,99
|
||||
Owner: Neutral
|
||||
Actor71: wall
|
||||
Location: 41,99
|
||||
Owner: Neutral
|
||||
Actor72: wall
|
||||
Location: 42,99
|
||||
Owner: Neutral
|
||||
Actor74: wall
|
||||
Location: 42,96
|
||||
Owner: Neutral
|
||||
Actor73: wall
|
||||
Location: 42,95
|
||||
Owner: Neutral
|
||||
Actor75: wall
|
||||
Location: 42,97
|
||||
Owner: Neutral
|
||||
Actor78: wall
|
||||
Location: 40,95
|
||||
Owner: Neutral
|
||||
Actor77: wall
|
||||
Location: 41,95
|
||||
Owner: Neutral
|
||||
Actor76: wall
|
||||
Location: 42,98
|
||||
Owner: Neutral
|
||||
Actor63: wall
|
||||
Location: 29,85
|
||||
Owner: Neutral
|
||||
Actor46: wall
|
||||
Location: 28,85
|
||||
Owner: Neutral
|
||||
Actor49: wall
|
||||
Location: 28,86
|
||||
Owner: Neutral
|
||||
Actor50: wall
|
||||
Location: 28,87
|
||||
Owner: Neutral
|
||||
Actor51: wall
|
||||
Location: 28,88
|
||||
Owner: Neutral
|
||||
Actor52: wall
|
||||
Location: 28,89
|
||||
Owner: Neutral
|
||||
Actor53: wall
|
||||
Location: 29,89
|
||||
Owner: Neutral
|
||||
Actor54: wall
|
||||
Location: 30,89
|
||||
Owner: Neutral
|
||||
Actor56: wall
|
||||
Location: 32,89
|
||||
Owner: Neutral
|
||||
Actor55: wall
|
||||
Location: 31,89
|
||||
Owner: Neutral
|
||||
Actor57: wall
|
||||
Location: 32,85
|
||||
Owner: Neutral
|
||||
Actor58: wall
|
||||
Location: 32,86
|
||||
Owner: Neutral
|
||||
Actor59: wall
|
||||
Location: 32,87
|
||||
Owner: Neutral
|
||||
Actor62: wall
|
||||
Location: 30,85
|
||||
Owner: Neutral
|
||||
Actor61: wall
|
||||
Location: 31,85
|
||||
Owner: Neutral
|
||||
Actor60: wall
|
||||
Location: 32,88
|
||||
Owner: Neutral
|
||||
Actor96: wall
|
||||
Location: 81,29
|
||||
Owner: Neutral
|
||||
Actor97: wall
|
||||
Location: 82,29
|
||||
Owner: Neutral
|
||||
Actor98: wall
|
||||
Location: 83,29
|
||||
Owner: Neutral
|
||||
Actor99: wall
|
||||
Location: 84,29
|
||||
Owner: Neutral
|
||||
Actor100: wall
|
||||
Location: 85,29
|
||||
Owner: Neutral
|
||||
Actor101: wall
|
||||
Location: 85,30
|
||||
Owner: Neutral
|
||||
Actor102: wall
|
||||
Location: 85,31
|
||||
Owner: Neutral
|
||||
Actor103: wall
|
||||
Location: 85,32
|
||||
Owner: Neutral
|
||||
Actor104: wall
|
||||
Location: 85,33
|
||||
Owner: Neutral
|
||||
Actor105: wall
|
||||
Location: 84,33
|
||||
Owner: Neutral
|
||||
Actor106: wall
|
||||
Location: 83,33
|
||||
Owner: Neutral
|
||||
Actor107: wall
|
||||
Location: 82,33
|
||||
Owner: Neutral
|
||||
Actor108: wall
|
||||
Location: 81,33
|
||||
Owner: Neutral
|
||||
Actor109: wall
|
||||
Location: 81,30
|
||||
Owner: Neutral
|
||||
Actor110: wall
|
||||
Location: 81,31
|
||||
Owner: Neutral
|
||||
Actor111: wall
|
||||
Location: 81,32
|
||||
Owner: Neutral
|
||||
Actor128: wall
|
||||
Location: 94,42
|
||||
Owner: Neutral
|
||||
Actor129: wall
|
||||
Location: 95,42
|
||||
Owner: Neutral
|
||||
Actor130: wall
|
||||
Location: 96,42
|
||||
Owner: Neutral
|
||||
Actor131: wall
|
||||
Location: 97,42
|
||||
Owner: Neutral
|
||||
Actor132: wall
|
||||
Location: 98,42
|
||||
Owner: Neutral
|
||||
Actor133: wall
|
||||
Location: 98,43
|
||||
Owner: Neutral
|
||||
Actor134: wall
|
||||
Location: 98,44
|
||||
Owner: Neutral
|
||||
Actor135: wall
|
||||
Location: 98,45
|
||||
Owner: Neutral
|
||||
Actor136: wall
|
||||
Location: 98,46
|
||||
Owner: Neutral
|
||||
Actor137: wall
|
||||
Location: 97,46
|
||||
Owner: Neutral
|
||||
Actor138: wall
|
||||
Location: 96,46
|
||||
Owner: Neutral
|
||||
Actor139: wall
|
||||
Location: 95,46
|
||||
Owner: Neutral
|
||||
Actor140: wall
|
||||
Location: 94,46
|
||||
Owner: Neutral
|
||||
Actor141: wall
|
||||
Location: 94,43
|
||||
Owner: Neutral
|
||||
Actor142: wall
|
||||
Location: 94,44
|
||||
Owner: Neutral
|
||||
Actor143: wall
|
||||
Location: 94,45
|
||||
Owner: Neutral
|
||||
Actor149: spicebloom
|
||||
Location: 100,108
|
||||
Owner: Neutral
|
||||
Actor152: spicebloom
|
||||
Location: 27,33
|
||||
Owner: Neutral
|
||||
Actor38: spicebloom
|
||||
Location: 93,97
|
||||
Owner: Neutral
|
||||
Actor144: mpspawn
|
||||
Location: 104,93
|
||||
Owner: Neutral
|
||||
Actor47: mpspawn
|
||||
Location: 104,75
|
||||
Owner: Neutral
|
||||
Actor0: spicebloom
|
||||
Location: 18,27
|
||||
Owner: Neutral
|
||||
Actor154: spicebloom
|
||||
Location: 19,33
|
||||
Owner: Neutral
|
||||
Actor193: wall
|
||||
Location: 103,75
|
||||
Owner: Neutral
|
||||
Actor178: wall
|
||||
Location: 103,94
|
||||
Owner: Neutral
|
||||
Actor179: wall
|
||||
Location: 103,95
|
||||
Owner: Neutral
|
||||
Actor180: wall
|
||||
Location: 103,96
|
||||
Owner: Neutral
|
||||
Actor181: wall
|
||||
Location: 104,92
|
||||
Owner: Neutral
|
||||
Actor182: wall
|
||||
Location: 105,92
|
||||
Owner: Neutral
|
||||
Actor183: wall
|
||||
Location: 106,92
|
||||
Owner: Neutral
|
||||
Actor184: wall
|
||||
Location: 107,92
|
||||
Owner: Neutral
|
||||
Actor185: wall
|
||||
Location: 107,93
|
||||
Owner: Neutral
|
||||
Actor186: wall
|
||||
Location: 107,94
|
||||
Owner: Neutral
|
||||
Actor187: wall
|
||||
Location: 107,95
|
||||
Owner: Neutral
|
||||
Actor188: wall
|
||||
Location: 107,96
|
||||
Owner: Neutral
|
||||
Actor189: wall
|
||||
Location: 103,74
|
||||
Owner: Neutral
|
||||
Actor192: wall
|
||||
Location: 106,96
|
||||
Owner: Neutral
|
||||
Actor191: wall
|
||||
Location: 105,96
|
||||
Owner: Neutral
|
||||
Actor190: wall
|
||||
Location: 104,96
|
||||
Owner: Neutral
|
||||
Actor194: wall
|
||||
Location: 103,76
|
||||
Owner: Neutral
|
||||
Actor195: wall
|
||||
Location: 103,77
|
||||
Owner: Neutral
|
||||
Actor196: wall
|
||||
Location: 103,78
|
||||
Owner: Neutral
|
||||
Actor197: wall
|
||||
Location: 104,78
|
||||
Owner: Neutral
|
||||
Actor198: wall
|
||||
Location: 105,78
|
||||
Owner: Neutral
|
||||
Actor199: wall
|
||||
Location: 106,78
|
||||
Owner: Neutral
|
||||
Actor200: wall
|
||||
Location: 107,78
|
||||
Owner: Neutral
|
||||
Actor201: wall
|
||||
Location: 104,74
|
||||
Owner: Neutral
|
||||
Actor202: wall
|
||||
Location: 105,74
|
||||
Owner: Neutral
|
||||
Actor203: wall
|
||||
Location: 106,74
|
||||
Owner: Neutral
|
||||
Actor204: wall
|
||||
Location: 107,74
|
||||
Owner: Neutral
|
||||
Actor226: wall
|
||||
Location: 107,77
|
||||
Owner: Neutral
|
||||
Actor207: wall
|
||||
Location: 107,76
|
||||
Owner: Neutral
|
||||
Actor206: wall
|
||||
Location: 107,75
|
||||
Owner: Neutral
|
||||
Actor215: wall
|
||||
Location: 50,20
|
||||
Owner: Neutral
|
||||
Actor217: wall
|
||||
Location: 52,20
|
||||
Owner: Neutral
|
||||
Actor214: wall
|
||||
Location: 49,24
|
||||
Owner: Neutral
|
||||
Actor216: wall
|
||||
Location: 51,20
|
||||
Owner: Neutral
|
||||
Actor213: wall
|
||||
Location: 49,23
|
||||
Owner: Neutral
|
||||
Actor212: wall
|
||||
Location: 49,22
|
||||
Owner: Neutral
|
||||
Actor211: wall
|
||||
Location: 49,21
|
||||
Owner: Neutral
|
||||
Actor210: wall
|
||||
Location: 49,20
|
||||
Owner: Neutral
|
||||
Actor220: wall
|
||||
Location: 53,22
|
||||
Owner: Neutral
|
||||
Actor219: wall
|
||||
Location: 53,21
|
||||
Owner: Neutral
|
||||
Actor218: wall
|
||||
Location: 53,20
|
||||
Owner: Neutral
|
||||
Actor221: wall
|
||||
Location: 53,23
|
||||
Owner: Neutral
|
||||
Actor222: wall
|
||||
Location: 53,24
|
||||
Owner: Neutral
|
||||
Actor223: wall
|
||||
Location: 52,24
|
||||
Owner: Neutral
|
||||
Actor224: wall
|
||||
Location: 51,24
|
||||
Owner: Neutral
|
||||
Actor225: wall
|
||||
Location: 50,24
|
||||
Owner: Neutral
|
||||
Actor48: mpspawn
|
||||
Location: 50,21
|
||||
Owner: Neutral
|
||||
Actor227: wall
|
||||
Location: 31,20
|
||||
Owner: Neutral
|
||||
Actor228: wall
|
||||
Location: 31,21
|
||||
Owner: Neutral
|
||||
Actor229: wall
|
||||
Location: 31,22
|
||||
Owner: Neutral
|
||||
Actor230: wall
|
||||
Location: 31,23
|
||||
Owner: Neutral
|
||||
Actor231: wall
|
||||
Location: 31,24
|
||||
Owner: Neutral
|
||||
Actor232: wall
|
||||
Location: 32,24
|
||||
Owner: Neutral
|
||||
Actor233: wall
|
||||
Location: 33,24
|
||||
Owner: Neutral
|
||||
Actor234: wall
|
||||
Location: 34,24
|
||||
Owner: Neutral
|
||||
Actor235: wall
|
||||
Location: 35,24
|
||||
Owner: Neutral
|
||||
Actor236: wall
|
||||
Location: 35,20
|
||||
Owner: Neutral
|
||||
Actor237: wall
|
||||
Location: 35,21
|
||||
Owner: Neutral
|
||||
Actor238: wall
|
||||
Location: 35,22
|
||||
Owner: Neutral
|
||||
Actor239: wall
|
||||
Location: 35,23
|
||||
Owner: Neutral
|
||||
Actor240: wall
|
||||
Location: 32,20
|
||||
Owner: Neutral
|
||||
Actor241: wall
|
||||
Location: 33,20
|
||||
Owner: Neutral
|
||||
Actor242: wall
|
||||
Location: 34,20
|
||||
Owner: Neutral
|
||||
Actor42: mpspawn
|
||||
Location: 32,21
|
||||
Owner: Neutral
|
||||
Actor12: spicebloom
|
||||
Location: 91,86
|
||||
Owner: Neutral
|
||||
Actor16: spicebloom
|
||||
Location: 84,83
|
||||
Owner: Neutral
|
||||
Actor17: spicebloom
|
||||
Location: 86,72
|
||||
Owner: Neutral
|
||||
Actor18: spicebloom
|
||||
Location: 41,37
|
||||
Owner: Neutral
|
||||
Actor19: spicebloom
|
||||
Location: 53,40
|
||||
Owner: Neutral
|
||||
Actor21: spicebloom
|
||||
Location: 43,44
|
||||
Owner: Neutral
|
||||
Actor24: wall
|
||||
Location: 87,38
|
||||
Owner: Neutral
|
||||
Actor23: wall
|
||||
Location: 87,37
|
||||
Owner: Neutral
|
||||
Actor26: wall
|
||||
Location: 87,39
|
||||
Owner: Neutral
|
||||
Actor31: wall
|
||||
Location: 90,40
|
||||
Owner: Neutral
|
||||
Actor30: wall
|
||||
Location: 89,40
|
||||
Owner: Neutral
|
||||
Actor28: wall
|
||||
Location: 88,40
|
||||
Owner: Neutral
|
||||
Actor6: wall
|
||||
Location: 87,36
|
||||
Owner: Neutral
|
||||
Actor32: wall
|
||||
Location: 91,40
|
||||
Owner: Neutral
|
||||
Actor27: wall
|
||||
Location: 87,40
|
||||
Owner: Neutral
|
||||
Actor34: wall
|
||||
Location: 91,36
|
||||
Owner: Neutral
|
||||
Actor36: wall
|
||||
Location: 91,37
|
||||
Owner: Neutral
|
||||
Actor39: wall
|
||||
Location: 91,38
|
||||
Owner: Neutral
|
||||
Actor43: wall
|
||||
Location: 91,39
|
||||
Owner: Neutral
|
||||
Actor80: wall
|
||||
Location: 88,36
|
||||
Owner: Neutral
|
||||
Actor81: wall
|
||||
Location: 89,36
|
||||
Owner: Neutral
|
||||
Actor82: wall
|
||||
Location: 90,36
|
||||
Owner: Neutral
|
||||
Actor83: mpspawn
|
||||
Location: 88,37
|
||||
Owner: Neutral
|
||||
|
||||
Smudges:
|
||||
|
||||
Rules:
|
||||
World:
|
||||
MPStartUnits@atreides:
|
||||
Races: atreides
|
||||
BaseActor: conyarda
|
||||
MPStartUnits@harkonnen:
|
||||
Races: harkonnen
|
||||
BaseActor: conyardh
|
||||
MPStartUnits@ordos:
|
||||
Races: ordos
|
||||
BaseActor: conyardo
|
||||
|
||||
Sequences:
|
||||
|
||||
Weapons:
|
||||
|
||||
Voices:
|
||||
|
||||
Notifications:
|
||||
Reference in New Issue
Block a user