Map pool update

- add Destroyable tiles into d2k mod
- add ability engineer to repair destroyed cliffs
This commit is contained in:
Matthias Mailänder
2024-05-04 16:44:40 +02:00
committed by Matthias Mailänder
parent 6b463f9d9e
commit 8c174551f5
24 changed files with 401 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -100,6 +100,7 @@ actor-engineer =
.description = Infiltrates and captures enemy structures
Strong vs Buildings
Weak vs Everything
Can repair destroyed cliffs
.name = Engineer
.encyclopedia = Engineers can be used to capture enemy buildings.
@@ -489,3 +490,11 @@ actor-combat-tank-o =
.encyclopedia = The Combat Tank is effective against most vehicles, less so against lightly armored vehicles.
The Ordos Combat Tank is the fastest variant of the Combat Tank, but it is also the weakest.
meta-DestroyableTile =
.generic-name = Passage (destroyable)
.name = Passage (destroyable)
meta-DestroyedTile =
.generic-name = Passage (repairable)
.name = Passage (repairable)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,156 @@
MapFormat: 12
RequiresMod: d2k
Title: Worm Graveyard
Author: BLACKSIR
Tileset: ARRAKIS
MapSize: 98,98
Bounds: 1,1,96,96
Visibility: Lobby
Categories: Conquest
Players:
PlayerReference@Neutral:
Name: Neutral
OwnsWorld: True
NonCombatant: True
Faction: Random
PlayerReference@Creeps:
Name: Creeps
NonCombatant: True
Faction: Random
Enemies: Multi0, Multi1, Multi2, Multi3
PlayerReference@Multi0:
Name: Multi0
Playable: True
Faction: Random
Enemies: Creeps
PlayerReference@Multi1:
Name: Multi1
Playable: True
Faction: Random
Enemies: Creeps
PlayerReference@Multi2:
Name: Multi2
Playable: True
Faction: Random
Enemies: Creeps
PlayerReference@Multi3:
Name: Multi3
Playable: True
Faction: Random
Enemies: Creeps
Actors:
Actor96: spicebloom.spawnpoint
Owner: Neutral
Location: 10,15
Actor97: spicebloom.spawnpoint
Owner: Neutral
Location: 86,15
Actor101: spicebloom.spawnpoint
Owner: Neutral
Location: 86,80
Actor102: spicebloom.spawnpoint
Owner: Neutral
Location: 10,80
Actor197: spicebloom.spawnpoint
Owner: Neutral
Location: 21,5
Actor235: spicebloom.spawnpoint
Owner: Neutral
Location: 21,92
Actor273: spicebloom.spawnpoint
Owner: Neutral
Location: 75,92
Actor188: spicebloom.spawnpoint
Owner: Neutral
Location: 75,5
Actor41: wormspawner
Owner: Neutral
Location: 96,1
Actor42: wormspawner
Owner: Neutral
Location: 1,1
Actor44: wormspawner
Owner: Neutral
Location: 1,96
Actor43: wormspawner
Owner: Neutral
Location: 96,96
Actor47: sietch
Owner: Neutral
Location: 47,89
Actor29: mpspawn
Owner: Neutral
Location: 10,43
Actor30: mpspawn
Owner: Neutral
Location: 10,54
Actor36: mpspawn
Owner: Neutral
Location: 86,43
Actor37: mpspawn
Owner: Neutral
Location: 86,54
Actor38: spicebloom.spawnpoint
Owner: Neutral
Location: 22,64
Actor39: spicebloom.spawnpoint
Owner: Neutral
Location: 22,30
Actor52: spicebloom.spawnpoint
Owner: Neutral
Location: 75,30
Actor53: spicebloom.spawnpoint
Owner: Neutral
Location: 75,67
Actor56: spicebloom.spawnpoint
Owner: Neutral
Location: 24,57
Actor57: spicebloom.spawnpoint
Owner: Neutral
Location: 24,39
Actor58: spicebloom.spawnpoint
Owner: Neutral
Location: 73,40
Actor59: spicebloom.spawnpoint
Owner: Neutral
Location: 73,57
Actor48: spicebloom.spawnpoint
Owner: Neutral
Location: 48,37
Actor60: spicebloom.spawnpoint
Owner: Neutral
Location: 38,40
Actor51: spicebloom.spawnpoint
Owner: Neutral
Location: 35,49
Actor61: spicebloom.spawnpoint
Owner: Neutral
Location: 59,57
Actor62: spicebloom.spawnpoint
Owner: Neutral
Location: 38,57
Actor49: spicebloom.spawnpoint
Owner: Neutral
Location: 49,60
Actor63: spicebloom.spawnpoint
Owner: Neutral
Location: 59,40
Actor50: spicebloom.spawnpoint
Owner: Neutral
Location: 62,48
Actor33: pass01_destroyed_left
Owner: Neutral
Location: 26,47
Actor34: pass01_destroyed_right
Owner: Neutral
Location: 69,47

View File

@@ -47,6 +47,7 @@ Sequences:
d2k|sequences/infantry.yaml
d2k|sequences/structures.yaml
d2k|sequences/misc.yaml
d2k|sequences/arrakis.yaml
TileSets:
d2k|tilesets/arrakis.yaml

View File

@@ -249,7 +249,7 @@ Player:
MaxBaseRadius: 40
ExcludeFromSquadsTypes: harvester, mcv, carryall, carryall.reinforce, ornithopter
ConstructionYardTypes: construction_yard
IgnoredEnemyTargetTypes: Creep, Air
IgnoredEnemyTargetTypes: Creep, Air, Cliff
ProtectionTypes: mcv, harvester, construction_yard, conyard.atreides, conyard.harkonnen, conyard.ordos, wind_trap, barracks, refinery, silo, light_factory, heavy_factory, outpost, starport, medium_gun_turret, large_gun_turret, repair_pad, high_tech_factory, research_centre, palace, mcv.starport, harvester.starport
UnitBuilderBotModule@omnius:
RequiresCondition: enable-omnius-ai
@@ -294,7 +294,7 @@ Player:
MaxBaseRadius: 40
ExcludeFromSquadsTypes: harvester, mcv, carryall, carryall.reinforce, ornithopter
ConstructionYardTypes: construction_yard
IgnoredEnemyTargetTypes: Creep, Air
IgnoredEnemyTargetTypes: Creep, Air, Cliff
ProtectionTypes: mcv, harvester, construction_yard, conyard.atreides, conyard.harkonnen, conyard.ordos, wind_trap, barracks, refinery, silo, light_factory, heavy_factory, outpost, starport, medium_gun_turret, large_gun_turret, repair_pad, high_tech_factory, research_centre, palace, mcv.starport, harvester.starport
UnitBuilderBotModule@vidious:
RequiresCondition: enable-vidious-ai
@@ -334,7 +334,7 @@ Player:
MaxBaseRadius: 40
ExcludeFromSquadsTypes: harvester, mcv, carryall, carryall.reinforce, ornithopter
ConstructionYardTypes: construction_yard
IgnoredEnemyTargetTypes: Creep, Air
IgnoredEnemyTargetTypes: Creep, Air, Cliff
ProtectionTypes: mcv, harvester, construction_yard, conyard.atreides, conyard.harkonnen, conyard.ordos, wind_trap, barracks, refinery, silo, light_factory, heavy_factory, outpost, starport, medium_gun_turret, large_gun_turret, repair_pad, high_tech_factory, research_centre, palace, mcv.starport, harvester.starport
UnitBuilderBotModule@gladius:
RequiresCondition: enable-gladius-ai

View File

@@ -154,3 +154,100 @@ sietch:
-WithMakeAnimation:
-WithCrumbleOverlay:
-WithBuildingRepairDecoration:
pass01_destroyable_bottom:
Inherits: ^DestroyableTile
RenderSprites:
Image: rockpass01_bottom
Building:
Dimensions: 3,3
Footprint: === X=X X=X
HitShape:
Type: Rectangle
TopLeft: -512, -512
BottomRight: 512, 900
SpawnActorOnDeath:
Actor: pass01_destroyed_bottom
pass01_destroyed_bottom:
Inherits: ^DestroyedTile
RenderSprites:
Image: rockpass01_destroyed_bottom
Building:
Dimensions: 3,3
Footprint: === xxx xxx
TransformOnCapture:
IntoActor: pass01_destroyable_bottom
pass01_destroyable_left:
Inherits: ^DestroyableTile
RenderSprites:
Image: rockpass01_left
HitShape:
Type: Rectangle
TopLeft: -700, -512
BottomRight: 712, 512
Building:
Dimensions: 3,3
Footprint: XX= === XX=
SpawnActorOnDeath:
Actor: pass01_destroyed_left
pass01_destroyed_left:
Inherits: ^DestroyedTile
RenderSprites:
Image: rockpass01_destroyed_left
Building:
Dimensions: 3,3
Footprint: xx= xx= xx=
TransformOnCapture:
IntoActor: pass01_destroyable_left
pass01_destroyable_right:
Inherits: ^DestroyableTile
RenderSprites:
Image: rockpass01_right
HitShape:
Type: Rectangle
TopLeft: -700, -512
BottomRight: 700, 512
Building:
Dimensions: 3,3
Footprint: =XX === =XX
SpawnActorOnDeath:
Actor: pass01_destroyed_right
pass01_destroyed_right:
Inherits: ^DestroyedTile
RenderSprites:
Image: rockpass01_destroyed_right
Building:
Dimensions: 3,3
Footprint: =xx =xx =xx
TransformOnCapture:
IntoActor: pass01_destroyable_right
pass01_destroyable_top:
Inherits: ^DestroyableTile
RenderSprites:
Image: rockpass01_top
HitShape:
Type: Rectangle
TopLeft: -512, -900
BottomRight: 512, 512
Building:
Dimensions: 3,3
Footprint: X=X X=X ===
SpawnActorOnDeath:
Actor: pass01_destroyed_top
pass01_destroyed_top:
Inherits: ^DestroyedTile
RenderSprites:
Image: rockpass01_destroyed_top
Building:
Dimensions: 3,3
Footprint: XxX xxx xxx
TransformOnCapture:
IntoActor: pass01_destroyable_top

View File

@@ -198,11 +198,19 @@
HandicapDamageMultiplier:
HandicapProductionTimeMultiplier:
^CliffAvalanche:
ExternalCondition@rockAvalanche:
Condition: rock_avalanche
KillsSelf@rockAvalanche:
RequiresCondition: rock_avalanche
DamageTypes: SmallExplosionDeath
^Vehicle:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
Inherits@selection: ^SelectableCombatUnit
Inherits@handicaps: ^PlayerHandicaps
Inherits@avalancheKill: ^CliffAvalanche
Tooltip:
GenericName: meta-vehicle-generic-name
Huntable:
@@ -356,6 +364,7 @@
Inherits@3: ^SpriteActor
Inherits@selection: ^SelectableCombatUnit
Inherits@handicaps: ^PlayerHandicaps
Inherits@avalancheKill: ^CliffAvalanche
Tooltip:
GenericName: meta-infantry-generic-name
Huntable:
@@ -669,3 +678,74 @@
RequiresSelection: true
Image: pips
Sequence: tag-upgraded
^UndestroyableTile:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
FrozenUnderFog:
WithSpriteBody:
Building:
TerrainTypes: Rock, Concrete, Cliff, Sand, Rock, Transition, Spice, SpiceSand, Dune,
Health:
HP: 30000
Armor:
Type: invulnerable
HitShape:
UseTargetableCellsOffsets: false
Type: Rectangle
TopLeft: -512, -512
BottomRight: 512, 512
MapEditorData:
Categories: Tile actors
Interactable:
^DestroyableTile:
Inherits: ^UndestroyableTile
Targetable:
TargetTypes: Ground, Cliff
RequiresForceFire: true
Armor:
Type: wall
Health:
HP: 30000
OwnerLostAction:
Action: ChangeOwner
Owner: Neutral
HitShape:
UseTargetableCellsOffsets: true
Explodes:
Type: CenterPosition
Weapon: cliffExplode
EmptyWeapon: cliffExplode
MapEditorData:
Categories: Destroable Tiles
Tooltip:
GenericName: meta-DestroyableTile.generic-name
Name: meta-DestroyableTile.name
^DestroyedTile:
Inherits: ^UndestroyableTile
CaptureManager:
Building:
OwnerLostAction:
Action: ChangeOwner
Owner: Neutral
Tooltip:
GenericName: meta-DestroyedTile.generic-name
Name: meta-DestroyedTile.name
CaptureManager:
CapturableProgressBar:
CapturableProgressBlink:
Interval: 30
Capturable:
Types: cliff
HitShape:
UseTargetableCellsOffsets: true
Type: Rectangle
TopLeft: -1048, -1048
BottomRight: 1024, 1054
Targetable:
TargetTypes: Ground, Cliff
RequiresForceFire: true
MapEditorData:
Categories: Destroyed Tiles

View File

@@ -52,12 +52,17 @@ engineer:
Captures:
CaptureTypes: building
PlayerExperience: 10
Captures@caturesHusk:
Captures@Husk:
CaptureTypes: husk
PlayerExperience: 10
Infiltrates:
Types: husk
ValidRelationships: Ally
Captures@Cliff:
CaptureTypes: cliff
ConsumedByCapture: false
CaptureDelay: 150
ValidRelationships: Enemy, Neutral, Ally
Encyclopedia:
Description: actor-engineer.encyclopedia
Order: 30

View File

@@ -0,0 +1,40 @@
rockpass01_left:
idle:
Filename: bits/destroyabletiles/destroyabletile_1.png
ZOffset: -2048
rockpass01_right:
idle:
Filename: bits/destroyabletiles/destroyabletile_2.png
ZOffset: -2048
rockpass01_top:
idle:
Filename: bits/destroyabletiles/destroyabletile_3.png
ZOffset: -2048
rockpass01_bottom:
idle:
Filename: bits/destroyabletiles/destroyabletile_0.png
ZOffset: -2048
rockpass01_destroyed_left:
idle:
Filename: bits/destroyabletiles/destroyabletile_5.png
ZOffset: -2048
rockpass01_destroyed_right:
idle:
Filename: bits/destroyabletiles/destroyabletile_6.png
ZOffset: -2048
rockpass01_destroyed_top:
idle:
Filename: bits/destroyabletiles/destroyabletile_7.png
ZOffset: -2512
rockpass01_destroyed_bottom:
idle:
Filename: bits/destroyabletiles/destroyabletile_4.png
ZOffset: -2048

View File

@@ -196,6 +196,15 @@ WallExplode:
ImpactSounds: EXPLHG1.WAV
ImpactActors: false
CliffExplode:
Warhead@1Eff: CreateEffect
Explosions: building
ImpactActors: false
ImpactSounds: EXPLHG1.WAV
Warhead@rockAvalanche: GrantExternalCondition
Condition: rock_avalanche
Range: 1c950
grenade:
ReloadDelay: 50
Range: 4c0