Added ^SpriteActor and streamlined D2k defaults

To reduce risk of BodyOrientation issues.
This commit is contained in:
reaperrr
2015-09-03 14:33:56 +02:00
parent ec48c411f0
commit 89a115466c
4 changed files with 14 additions and 31 deletions

View File

@@ -1,8 +1,7 @@
spicebloom:
Inherits@1: ^SpriteActor
HiddenUnderShroud:
RenderSprites:
WithSpriteBody:
AutoSelectionSize:
Building:
Footprint: x
Dimensions: 1,1
@@ -15,11 +14,10 @@ spicebloom:
WithActiveAnimation:
RadarColorFromTerrain:
Terrain: Spice
BodyOrientation:
QuantizedFacings: 1
WithMakeAnimation:
sandworm:
Inherits@1: ^SpriteActor
Tooltip:
Name: Sandworm
Description: Attracted by vibrations in the sand.\nWill eat units whole and has a large appetite.
@@ -39,8 +37,6 @@ sandworm:
WithFacingSpriteBody:
WithAttackOverlay:
Sequence: sand
BodyOrientation:
QuantizeFacingsFromSequence:
HiddenUnderFog:
AppearsOnRadar:
UseLocation: yes
@@ -55,8 +51,6 @@ sandworm:
AnnounceOnSeen:
Notification: WormSign
PingRadar: True
RenderSprites:
AutoSelectionSize:
sietch:
Inherits: ^Building

View File

@@ -3,11 +3,16 @@
UpdatesPlayerStatistics:
CombatDebugOverlay:
GivesExperience:
BodyOrientation:
ScriptTriggers:
UpgradeManager:
Huntable:
^SpriteActor:
BodyOrientation:
QuantizeFacingsFromSequence:
AutoSelectionSize:
RenderSprites:
^GainsExperience:
GainsExperience:
Upgrades:
@@ -51,6 +56,7 @@
^Vehicle:
Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience
Inherits@3: ^SpriteActor
Mobile:
Crushes: crate
TerrainSpeeds:
@@ -79,7 +85,6 @@
Guard:
Voice: Guard
Guardable:
QuantizeFacingsFromSequence:
WithFacingSpriteBody:
Demolishable:
TemporaryOwnerManager:
@@ -91,8 +96,6 @@
Image: pips
Sequence: pickup-indicator
Offset: -12, -12
AutoSelectionSize:
RenderSprites:
^Tank:
Inherits: ^Vehicle
@@ -108,6 +111,7 @@
Dune: 70
^Husk:
Inherits@1: ^SpriteActor
Health:
HP: 75
Armor:
@@ -116,13 +120,9 @@
Type: CenterPosition
Tooltip:
Name: Wreck
BodyOrientation:
AutoTargetIgnore:
ScriptTriggers:
QuantizeFacingsFromSequence:
WithFacingSpriteBody:
AutoSelectionSize:
RenderSprites:
^VehicleHusk:
Inherits: ^Husk
@@ -161,12 +161,12 @@
Interval: 2
Tooltip:
Name: Destroyed Tower
BodyOrientation:
ScriptTriggers:
^Infantry:
Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience
Inherits@3: ^SpriteActor
Health:
Radius: 96
Armor:
@@ -192,7 +192,6 @@
TargetTypes: Ground, Infantry
UpgradeTypes: parachute
UpgradeMaxEnabledLevel: 0
RenderSprites:
QuantizeFacingsFromSequence:
Sequence: stand
WithInfantryBody:
@@ -239,6 +238,7 @@
^Plane:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
AppearsOnRadar:
UseLocation: yes
HiddenUnderFog:
@@ -249,14 +249,12 @@
DrawLineToTarget:
Voiced:
VoiceSet: GenericVoice
QuantizeFacingsFromSequence:
WithFacingSpriteBody:
AutoSelectionSize:
RenderSprites:
WithShadow:
^Building:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
SelectionDecorations:
Selectable:
Priority: 2
@@ -274,10 +272,7 @@
SoundOnDamageTransition:
DamagedSounds: EXPLSML1.WAV
DestroyedSounds: EXPLHG1.WAV
QuantizeFacingsFromSequence:
RenderSprites:
WithSpriteBody:
AutoSelectionSize:
WithBuildingExplosion:
RepairableBuilding:
EmitInfantryOnSell:
@@ -314,9 +309,7 @@
-WithCrumbleOverlay:
-WithMakeAnimation:
-WithSpriteBody:
RenderSprites:
WithWallSpriteBody:
AutoSelectionSize:
LineBuildNode:
Types: turret
MustBeDestroyed:

View File

@@ -147,8 +147,6 @@ camera:
RevealsShroud:
Range: 8c0
Type: CenterPosition
BodyOrientation:
QuantizedFacings: 1
wormspawner:
AlwaysVisible:

View File

@@ -477,6 +477,7 @@ starport:
ProvidesPrerequisite@buildingname:
wall:
Inherits@1: ^SpriteActor
HiddenUnderShroud:
Buildable:
Queue: Building
@@ -511,14 +512,11 @@ wall:
Types: wall
Targetable:
TargetTypes: Ground, Wall
RenderSprites:
WithWallSpriteBody:
AutoSelectionSize:
AutoTargetIgnore:
Sellable:
SellSounds: CHUNG.WAV
Guardable:
BodyOrientation:
ThrowsShrapnel:
Weapons: shrapnel
Pieces: 3, 7