Make D2k use Locomotor

This commit is contained in:
reaperrr
2018-03-09 16:53:03 +01:00
committed by abcdefg30
parent 7441badc96
commit 1ee815fe3f
4 changed files with 64 additions and 33 deletions

View File

@@ -79,11 +79,7 @@ sandworm:
Type: heavy Type: heavy
Mobile: Mobile:
Speed: 42 Speed: 42
TerrainSpeeds: Locomotor: worm
Sand: 100
Dune: 100
SpiceSand: 100
Spice: 100
Targetable: Targetable:
TargetTypes: Ground, Creep TargetTypes: Ground, Creep
WithSpriteBody: WithSpriteBody:

View File

@@ -168,17 +168,8 @@
GenericName: Unit GenericName: Unit
Huntable: Huntable:
Mobile: Mobile:
Crushes: crate, spicebloom
TerrainSpeeds:
Sand: 100
Rock: 100
Transition: 100
Concrete: 100
SpiceSand: 100
Spice: 100
SpiceBlobs: 100
Dune: 50
TurnSpeed: 5 TurnSpeed: 5
Locomotor: vehicle
RequiresCondition: !notmobile RequiresCondition: !notmobile
SelectionDecorations: SelectionDecorations:
WithSpriteControlGroupDecoration: WithSpriteControlGroupDecoration:
@@ -223,7 +214,7 @@
^Tank: ^Tank:
Inherits: ^Vehicle Inherits: ^Vehicle
Mobile: Mobile:
Crushes: crate, infantry, spicebloom Locomotor: tank
^Husk: ^Husk:
Inherits@1: ^SpriteActor Inherits@1: ^SpriteActor
@@ -281,18 +272,7 @@
RevealsShroud: RevealsShroud:
Range: 3c768 Range: 3c768
Mobile: Mobile:
Crushes: crate, spicebloom Locomotor: foot
SharesCell: true
TerrainSpeeds:
Sand: 100
Rock: 100
Transition: 100
Concrete: 100
SpiceSand: 100
Spice: 100
SpiceBlobs: 100
Dune: 80
Rough: 80
SelectionDecorations: SelectionDecorations:
WithSpriteControlGroupDecoration: WithSpriteControlGroupDecoration:
Selectable: Selectable:

View File

@@ -1,5 +1,5 @@
mcv: mcv:
Inherits: ^Vehicle Inherits: ^Tank
Buildable: Buildable:
Prerequisites: repair_pad, upgrade.heavy, ~techlevel.medium Prerequisites: repair_pad, upgrade.heavy, ~techlevel.medium
Queue: Armor Queue: Armor
@@ -21,7 +21,6 @@ mcv:
Type: light Type: light
Mobile: Mobile:
Speed: 31 Speed: 31
Crushes: crate, infantry, spicebloom
RevealsShroud: RevealsShroud:
Range: 2c768 Range: 2c768
MustBeDestroyed: MustBeDestroyed:
@@ -50,7 +49,7 @@ mcv:
-RevealOnFire: -RevealOnFire:
harvester: harvester:
Inherits: ^Vehicle Inherits: ^Tank
Buildable: Buildable:
Queue: Armor Queue: Armor
Prerequisites: refinery Prerequisites: refinery
@@ -80,7 +79,6 @@ harvester:
Type: harvester Type: harvester
Mobile: Mobile:
Speed: 43 Speed: 43
Crushes: crate, infantry, spicebloom
RevealsShroud: RevealsShroud:
Range: 3c768 Range: 3c768
Explodes: Explodes:
@@ -331,7 +329,7 @@ devastator:
Mobile: Mobile:
TurnSpeed: 3 TurnSpeed: 3
Speed: 31 Speed: 31
Crushes: crate, infantry, spicebloom, wall Locomotor: devastator
RequiresCondition: !overload && !notmobile RequiresCondition: !overload && !notmobile
AutoCarryable: AutoCarryable:
RequiresCondition: !overload RequiresCondition: !overload

View File

@@ -15,6 +15,63 @@
OverrideFullShroud: shroudfull OverrideFullShroud: shroudfull
OverrideFullFog: fogfull OverrideFullFog: fogfull
ShroudBlend: Multiply ShroudBlend: Multiply
Locomotor@FOOT:
Name: foot
Crushes: crate, spicebloom
SharesCell: true
TerrainSpeeds:
Sand: 100
Rock: 100
Transition: 100
Concrete: 100
SpiceSand: 100
Spice: 100
SpiceBlobs: 100
Dune: 80
Rough: 80
Locomotor@VEHICLE:
Name: vehicle
Crushes: crate, spicebloom
TerrainSpeeds:
Sand: 100
Rock: 100
Transition: 100
Concrete: 100
SpiceSand: 100
Spice: 100
SpiceBlobs: 100
Dune: 50
Locomotor@TANK:
Name: tank
Crushes: crate, infantry, spicebloom
TerrainSpeeds:
Sand: 100
Rock: 100
Transition: 100
Concrete: 100
SpiceSand: 100
Spice: 100
SpiceBlobs: 100
Dune: 50
Locomotor@DEVASTATOR:
Name: devastator
Crushes: crate, infantry, spicebloom, wall
TerrainSpeeds:
Sand: 100
Rock: 100
Transition: 100
Concrete: 100
SpiceSand: 100
Spice: 100
SpiceBlobs: 100
Dune: 50
Locomotor@WORM:
Name: worm
TerrainSpeeds:
Sand: 100
Dune: 100
SpiceSand: 100
Spice: 100
Faction@Random: Faction@Random:
Name: Any Name: Any
InternalName: Random InternalName: Random