add spice blooms

This commit is contained in:
Matthias Mailänder
2015-08-08 10:35:41 +02:00
parent f2663c18a3
commit c6eff7023a
8 changed files with 187 additions and 25 deletions

Binary file not shown.

View File

@@ -1,20 +1,29 @@
spicebloom:
Inherits@1: ^SpriteActor
HiddenUnderShroud:
WithSpriteBody:
Building:
Footprint: x
Dimensions: 1,1
BodyOrientation:
QuantizedFacings: 1
AutoSelectionSize:
RenderSprites:
AppearsOnRadar:
UseLocation: yes
Tooltip:
Name: Spice Bloom
SeedsResource:
ResourceType: Spice
Interval: 75
WithActiveAnimation:
SpiceBloom:
Weapon: SpiceExplosion
Crushable:
CrushClasses: spicebloom
CrushedByFriendlies: true
RadarColorFromTerrain:
Terrain: Spice
WithMakeAnimation:
Immobile:
Health:
HP: 1
Radius: 512
Targetable:
TargetTypes: Ground
RequiresForceFire: yes
Armor:
Type: None
sandworm:
Inherits@1: ^SpriteActor

View File

@@ -58,7 +58,7 @@
Inherits@2: ^GainsExperience
Inherits@3: ^SpriteActor
Mobile:
Crushes: crate
Crushes: crate, spicebloom
TerrainSpeeds:
Sand: 100
Rock: 100
@@ -99,7 +99,7 @@
^Tank:
Inherits: ^Vehicle
Mobile:
Crushes: crate, infantry
Crushes: crate, infantry, spicebloom
^Husk:
Inherits@1: ^SpriteActor
@@ -165,7 +165,7 @@
RevealsShroud:
Range: 6c0
Mobile:
Crushes: crate
Crushes: crate, spicebloom
SharesCell: true
TerrainSpeeds:
Sand: 100

View File

@@ -20,7 +20,7 @@ mcv:
Type: light
Mobile:
Speed: 31
Crushes: crate, infantry
Crushes: crate, infantry, spicebloom
RevealsShroud:
Range: 8c0
MustBeDestroyed:
@@ -73,7 +73,7 @@ harvester:
Type: harvester
Mobile:
Speed: 43
Crushes: crate, infantry
Crushes: crate, infantry, spicebloom
RevealsShroud:
Range: 4c0
Explodes:
@@ -184,7 +184,6 @@ siege_tank:
Mobile:
Speed: 43
ROT: 3
Crushes: crate, infantry
RevealsShroud:
Range: 8c0
Turreted:
@@ -304,7 +303,6 @@ devastator:
Mobile:
ROT: 3
Speed: 31
Crushes: crate, infantry
RevealsShroud:
Range: 7c0
Armament:
@@ -440,7 +438,6 @@ deviator:
Mobile:
Speed: 75
ROT: 5
Crushes: crate, infantry
RevealsShroud:
Range: 8c0
Turreted:
@@ -499,7 +496,6 @@ combat_tank_o:
Mobile:
Speed: 85
ROT: 5
Crushes: crate, infantry
Health:
HP: 1800
SpawnActorOnDeath:

View File

@@ -327,19 +327,20 @@ crate:
ZOffset: -511
Offset: -16,-16
# TODO: keep the redundant spicebloom.shp for now for the awful WinForms maps editor
spicebloom:
make: DATA.R8
grow1: DATA.R8
Start: 107
Length: 3
Length: 1
ZOffset: -1023
Offset: -16,-16
active: DATA.R8
Start: 109
grow2: DATA.R8
Start: 108
Length: 1
ZOffset: -1023
Offset: -16,-16
idle: DATA.R8
grow3: DATA.R8
Start: 109
Length: 1
ZOffset: -1023
Offset: -16,-16

View File

@@ -829,6 +829,13 @@ SardDeath:
ImpactSound: EXPLSML2.WAV
SpiceExplosion:
Report: EXPLMD1.WAV
Projectile: Bullet
Speed: 50, 75
High: true
Angle: 91, 264
Trail: large_trail
Image: null
Warhead@1Dam: SpreadDamage
Spread: 480
Falloff: 100, 100, 100, 95, 60, 25, 0