Added ^SpriteActor and streamlined TD defaults
To fix BodyOrientation regressions and reduce risk of future regressions.
This commit is contained in:
@@ -3,11 +3,16 @@
|
|||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
CombatDebugOverlay:
|
CombatDebugOverlay:
|
||||||
GivesExperience:
|
GivesExperience:
|
||||||
BodyOrientation:
|
|
||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
UpgradeManager:
|
UpgradeManager:
|
||||||
Huntable:
|
Huntable:
|
||||||
|
|
||||||
|
^SpriteActor:
|
||||||
|
BodyOrientation:
|
||||||
|
QuantizeFacingsFromSequence:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
|
||||||
^GainsExperience:
|
^GainsExperience:
|
||||||
GainsExperience:
|
GainsExperience:
|
||||||
Upgrades:
|
Upgrades:
|
||||||
@@ -51,6 +56,7 @@
|
|||||||
^Vehicle:
|
^Vehicle:
|
||||||
Inherits@1: ^ExistsInWorld
|
Inherits@1: ^ExistsInWorld
|
||||||
Inherits@2: ^GainsExperience
|
Inherits@2: ^GainsExperience
|
||||||
|
Inherits@3: ^SpriteActor
|
||||||
Mobile:
|
Mobile:
|
||||||
Crushes: crate
|
Crushes: crate
|
||||||
TerrainSpeeds:
|
TerrainSpeeds:
|
||||||
@@ -74,10 +80,7 @@
|
|||||||
AttackMove:
|
AttackMove:
|
||||||
DrawLineToTarget:
|
DrawLineToTarget:
|
||||||
WithSmoke:
|
WithSmoke:
|
||||||
RenderSprites:
|
|
||||||
QuantizeFacingsFromSequence:
|
|
||||||
WithFacingSpriteBody:
|
WithFacingSpriteBody:
|
||||||
AutoSelectionSize:
|
|
||||||
Explodes:
|
Explodes:
|
||||||
Weapon: UnitExplodeSmall
|
Weapon: UnitExplodeSmall
|
||||||
EmptyWeapon: UnitExplodeSmall
|
EmptyWeapon: UnitExplodeSmall
|
||||||
@@ -114,6 +117,7 @@
|
|||||||
^Helicopter:
|
^Helicopter:
|
||||||
Inherits@1: ^ExistsInWorld
|
Inherits@1: ^ExistsInWorld
|
||||||
Inherits@2: ^GainsExperience
|
Inherits@2: ^GainsExperience
|
||||||
|
Inherits@3: ^SpriteActor
|
||||||
AppearsOnRadar:
|
AppearsOnRadar:
|
||||||
UseLocation: yes
|
UseLocation: yes
|
||||||
Targetable@GROUND:
|
Targetable@GROUND:
|
||||||
@@ -144,10 +148,7 @@
|
|||||||
Guardable:
|
Guardable:
|
||||||
Tooltip:
|
Tooltip:
|
||||||
GenericName: Helicopter
|
GenericName: Helicopter
|
||||||
QuantizeFacingsFromSequence:
|
|
||||||
WithFacingSpriteBody:
|
WithFacingSpriteBody:
|
||||||
AutoSelectionSize:
|
|
||||||
RenderSprites:
|
|
||||||
WithShadow:
|
WithShadow:
|
||||||
Hovers:
|
Hovers:
|
||||||
MustBeDestroyed:
|
MustBeDestroyed:
|
||||||
@@ -157,6 +158,7 @@
|
|||||||
^Infantry:
|
^Infantry:
|
||||||
Inherits@1: ^ExistsInWorld
|
Inherits@1: ^ExistsInWorld
|
||||||
Inherits@2: ^GainsExperience
|
Inherits@2: ^GainsExperience
|
||||||
|
Inherits@3: ^SpriteActor
|
||||||
Health:
|
Health:
|
||||||
Radius: 128
|
Radius: 128
|
||||||
Armor:
|
Armor:
|
||||||
@@ -180,7 +182,6 @@
|
|||||||
Bounds: 12,17,0,-6
|
Bounds: 12,17,0,-6
|
||||||
Targetable:
|
Targetable:
|
||||||
TargetTypes: Ground, Infantry
|
TargetTypes: Ground, Infantry
|
||||||
RenderSprites:
|
|
||||||
QuantizeFacingsFromSequence:
|
QuantizeFacingsFromSequence:
|
||||||
Sequence: stand
|
Sequence: stand
|
||||||
WithInfantryBody:
|
WithInfantryBody:
|
||||||
@@ -279,7 +280,8 @@
|
|||||||
AttackSequence: shoot
|
AttackSequence: shoot
|
||||||
|
|
||||||
^DINO:
|
^DINO:
|
||||||
Inherits: ^ExistsInWorld
|
Inherits@1: ^ExistsInWorld
|
||||||
|
Inherits@2: ^SpriteActor
|
||||||
Health:
|
Health:
|
||||||
Radius: 128
|
Radius: 128
|
||||||
HP: 1000
|
HP: 1000
|
||||||
@@ -311,6 +313,8 @@
|
|||||||
Targetable:
|
Targetable:
|
||||||
TargetTypes: Ground
|
TargetTypes: Ground
|
||||||
HiddenUnderFog:
|
HiddenUnderFog:
|
||||||
|
RenderSprites:
|
||||||
|
Palette: terrain
|
||||||
QuantizeFacingsFromSequence:
|
QuantizeFacingsFromSequence:
|
||||||
Sequence: stand
|
Sequence: stand
|
||||||
WithInfantryBody:
|
WithInfantryBody:
|
||||||
@@ -325,13 +329,12 @@
|
|||||||
Voice: Attack
|
Voice: Attack
|
||||||
DrawLineToTarget:
|
DrawLineToTarget:
|
||||||
DeathSounds:
|
DeathSounds:
|
||||||
RenderSprites:
|
|
||||||
Palette: terrain
|
|
||||||
Voiced:
|
Voiced:
|
||||||
VoiceSet: DinoVoice
|
VoiceSet: DinoVoice
|
||||||
|
|
||||||
^Viceroid:
|
^Viceroid:
|
||||||
Inherits: ^ExistsInWorld
|
Inherits@1: ^ExistsInWorld
|
||||||
|
Inherits@2: ^SpriteActor
|
||||||
Health:
|
Health:
|
||||||
Radius: 427
|
Radius: 427
|
||||||
HP: 300
|
HP: 300
|
||||||
@@ -374,8 +377,6 @@
|
|||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
QuantizedFacings: 8
|
QuantizedFacings: 8
|
||||||
WithSpriteBody:
|
WithSpriteBody:
|
||||||
AutoSelectionSize:
|
|
||||||
RenderSprites:
|
|
||||||
WithMuzzleFlash:
|
WithMuzzleFlash:
|
||||||
SplitFacings: true
|
SplitFacings: true
|
||||||
Guard:
|
Guard:
|
||||||
@@ -387,7 +388,8 @@
|
|||||||
VoiceSet: DinoVoice
|
VoiceSet: DinoVoice
|
||||||
|
|
||||||
^Plane:
|
^Plane:
|
||||||
Inherits: ^ExistsInWorld
|
Inherits@1: ^ExistsInWorld
|
||||||
|
Inherits@2: ^SpriteActor
|
||||||
AppearsOnRadar:
|
AppearsOnRadar:
|
||||||
UseLocation: yes
|
UseLocation: yes
|
||||||
HiddenUnderFog:
|
HiddenUnderFog:
|
||||||
@@ -395,16 +397,14 @@
|
|||||||
ActorLostNotification:
|
ActorLostNotification:
|
||||||
AttackMove:
|
AttackMove:
|
||||||
WithShadow:
|
WithShadow:
|
||||||
QuantizeFacingsFromSequence:
|
|
||||||
WithFacingSpriteBody:
|
WithFacingSpriteBody:
|
||||||
RenderSprites:
|
|
||||||
AutoSelectionSize:
|
|
||||||
FlyAwayOnIdle:
|
FlyAwayOnIdle:
|
||||||
RejectsOrders:
|
RejectsOrders:
|
||||||
|
|
||||||
^Ship:
|
^Ship:
|
||||||
Inherits@1: ^ExistsInWorld
|
Inherits@1: ^ExistsInWorld
|
||||||
Inherits@2: ^GainsExperience
|
Inherits@2: ^GainsExperience
|
||||||
|
Inherits@3: ^SpriteActor
|
||||||
Mobile:
|
Mobile:
|
||||||
Crushes: crate
|
Crushes: crate
|
||||||
TerrainSpeeds:
|
TerrainSpeeds:
|
||||||
@@ -423,7 +423,8 @@
|
|||||||
VoiceSet: VehicleVoice
|
VoiceSet: VehicleVoice
|
||||||
|
|
||||||
^Building:
|
^Building:
|
||||||
Inherits: ^ExistsInWorld
|
Inherits@1: ^ExistsInWorld
|
||||||
|
Inherits@2: ^SpriteActor
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
Selectable:
|
Selectable:
|
||||||
Priority: 3
|
Priority: 3
|
||||||
@@ -437,10 +438,7 @@
|
|||||||
SoundOnDamageTransition:
|
SoundOnDamageTransition:
|
||||||
DamagedSounds: xplos.aud
|
DamagedSounds: xplos.aud
|
||||||
DestroyedSounds: crumble.aud
|
DestroyedSounds: crumble.aud
|
||||||
QuantizeFacingsFromSequence:
|
|
||||||
RenderSprites:
|
|
||||||
WithSpriteBody:
|
WithSpriteBody:
|
||||||
AutoSelectionSize:
|
|
||||||
WithBuildingExplosion:
|
WithBuildingExplosion:
|
||||||
Delay: 1
|
Delay: 1
|
||||||
CaptureNotification:
|
CaptureNotification:
|
||||||
@@ -492,18 +490,15 @@
|
|||||||
StartsRevealed: true
|
StartsRevealed: true
|
||||||
|
|
||||||
^CivBuildingHusk:
|
^CivBuildingHusk:
|
||||||
|
Inherits@1: ^SpriteActor
|
||||||
AppearsOnRadar:
|
AppearsOnRadar:
|
||||||
Building:
|
Building:
|
||||||
Dimensions: 1,1
|
Dimensions: 1,1
|
||||||
Footprint: x
|
Footprint: x
|
||||||
QuantizeFacingsFromSequence:
|
|
||||||
RenderSprites:
|
|
||||||
WithSpriteBody:
|
WithSpriteBody:
|
||||||
AutoSelectionSize:
|
|
||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Civilian Building (Destroyed)
|
Name: Civilian Building (Destroyed)
|
||||||
GenericVisibility: None
|
GenericVisibility: None
|
||||||
BodyOrientation:
|
|
||||||
FrozenUnderFog:
|
FrozenUnderFog:
|
||||||
StartsRevealed: true
|
StartsRevealed: true
|
||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
@@ -530,10 +525,9 @@
|
|||||||
-Demolishable:
|
-Demolishable:
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Palette: terrain
|
Palette: terrain
|
||||||
WithSpriteBody:
|
|
||||||
AutoSelectionSize:
|
|
||||||
|
|
||||||
^CivFieldHusk:
|
^CivFieldHusk:
|
||||||
|
Inherits@1: ^SpriteActor
|
||||||
AppearsOnRadar:
|
AppearsOnRadar:
|
||||||
Building:
|
Building:
|
||||||
Dimensions: 1,1
|
Dimensions: 1,1
|
||||||
@@ -541,17 +535,15 @@
|
|||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Field (Destroyed)
|
Name: Field (Destroyed)
|
||||||
GenericVisibility: None
|
GenericVisibility: None
|
||||||
BodyOrientation:
|
|
||||||
QuantizedFacings: 1
|
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Palette: terrain
|
Palette: terrain
|
||||||
WithSpriteBody:
|
WithSpriteBody:
|
||||||
AutoSelectionSize:
|
|
||||||
FrozenUnderFog:
|
FrozenUnderFog:
|
||||||
StartsRevealed: true
|
StartsRevealed: true
|
||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
|
|
||||||
^Wall:
|
^Wall:
|
||||||
|
Inherits@1: ^SpriteActor
|
||||||
AppearsOnRadar:
|
AppearsOnRadar:
|
||||||
Building:
|
Building:
|
||||||
Dimensions: 1,1
|
Dimensions: 1,1
|
||||||
@@ -570,12 +562,9 @@
|
|||||||
NodeTypes: wall
|
NodeTypes: wall
|
||||||
LineBuildNode:
|
LineBuildNode:
|
||||||
Types: wall
|
Types: wall
|
||||||
BodyOrientation:
|
|
||||||
QuantizedFacings: 1
|
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Palette: staticterrain
|
Palette: staticterrain
|
||||||
WithWallSpriteBody:
|
WithWallSpriteBody:
|
||||||
AutoSelectionSize:
|
|
||||||
GivesExperience:
|
GivesExperience:
|
||||||
AutoTargetIgnore:
|
AutoTargetIgnore:
|
||||||
Sellable:
|
Sellable:
|
||||||
@@ -585,14 +574,12 @@
|
|||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
|
|
||||||
^Tree:
|
^Tree:
|
||||||
|
Inherits@1: ^SpriteActor
|
||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Tree
|
Name: Tree
|
||||||
BodyOrientation:
|
|
||||||
QuantizedFacings: 1
|
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Palette: staticterrain
|
Palette: staticterrain
|
||||||
WithSpriteBody:
|
WithSpriteBody:
|
||||||
AutoSelectionSize:
|
|
||||||
Building:
|
Building:
|
||||||
Footprint: __ x_
|
Footprint: __ x_
|
||||||
Dimensions: 2,2
|
Dimensions: 2,2
|
||||||
@@ -609,14 +596,12 @@
|
|||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
|
|
||||||
^TibTree:
|
^TibTree:
|
||||||
|
Inherits@1: ^SpriteActor
|
||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Blossom Tree
|
Name: Blossom Tree
|
||||||
BodyOrientation:
|
|
||||||
QuantizedFacings: 1
|
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Palette: staticterrain
|
Palette: staticterrain
|
||||||
WithSpriteBody:
|
WithSpriteBody:
|
||||||
AutoSelectionSize:
|
|
||||||
Building:
|
Building:
|
||||||
Footprint: x
|
Footprint: x
|
||||||
Dimensions: 1,1
|
Dimensions: 1,1
|
||||||
@@ -628,14 +613,12 @@
|
|||||||
WithMakeAnimation:
|
WithMakeAnimation:
|
||||||
|
|
||||||
^Rock:
|
^Rock:
|
||||||
|
Inherits@1: ^SpriteActor
|
||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Rock
|
Name: Rock
|
||||||
BodyOrientation:
|
|
||||||
QuantizedFacings: 1
|
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Palette: staticterrain
|
Palette: staticterrain
|
||||||
WithSpriteBody:
|
WithSpriteBody:
|
||||||
AutoSelectionSize:
|
|
||||||
Building:
|
Building:
|
||||||
Footprint: __ x_
|
Footprint: __ x_
|
||||||
Dimensions: 2,2
|
Dimensions: 2,2
|
||||||
@@ -649,6 +632,7 @@
|
|||||||
RequireTilesets: DESERT
|
RequireTilesets: DESERT
|
||||||
|
|
||||||
^CommonHuskDefaults:
|
^CommonHuskDefaults:
|
||||||
|
Inherits@1: ^SpriteActor
|
||||||
Health:
|
Health:
|
||||||
HP: 140
|
HP: 140
|
||||||
Armor:
|
Armor:
|
||||||
@@ -656,11 +640,7 @@
|
|||||||
HiddenUnderFog:
|
HiddenUnderFog:
|
||||||
Type: CenterPosition
|
Type: CenterPosition
|
||||||
AutoTargetIgnore:
|
AutoTargetIgnore:
|
||||||
BodyOrientation:
|
|
||||||
QuantizeFacingsFromSequence:
|
|
||||||
WithFacingSpriteBody:
|
WithFacingSpriteBody:
|
||||||
AutoSelectionSize:
|
|
||||||
RenderSprites:
|
|
||||||
|
|
||||||
^Husk:
|
^Husk:
|
||||||
Inherits: ^CommonHuskDefaults
|
Inherits: ^CommonHuskDefaults
|
||||||
@@ -687,6 +667,7 @@
|
|||||||
|
|
||||||
^HelicopterHusk:
|
^HelicopterHusk:
|
||||||
Inherits: ^CommonHuskDefaults
|
Inherits: ^CommonHuskDefaults
|
||||||
|
WithShadow:
|
||||||
FallsToEarth:
|
FallsToEarth:
|
||||||
Spins: True
|
Spins: True
|
||||||
Moves: False
|
Moves: False
|
||||||
@@ -706,25 +687,21 @@
|
|||||||
SoundOnDamageTransition:
|
SoundOnDamageTransition:
|
||||||
DamagedSounds: xplos.aud
|
DamagedSounds: xplos.aud
|
||||||
DestroyedSounds: xplobig4.aud
|
DestroyedSounds: xplobig4.aud
|
||||||
BodyOrientation:
|
|
||||||
QuantizedFacings: 1
|
|
||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
|
|
||||||
^Crate:
|
^Crate:
|
||||||
|
Inherits@1: ^SpriteActor
|
||||||
HiddenUnderShroud:
|
HiddenUnderShroud:
|
||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Crate
|
Name: Crate
|
||||||
GenericName: Crate
|
GenericName: Crate
|
||||||
Crate:
|
Crate:
|
||||||
TerrainTypes: Clear, Rough, Road, Tiberium, BlueTiberium, Beach
|
TerrainTypes: Clear, Rough, Road, Tiberium, BlueTiberium, Beach
|
||||||
QuantizeFacingsFromSequence:
|
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Palette: effect
|
Palette: effect
|
||||||
Image: crate
|
Image: crate
|
||||||
WithCrateBody:
|
WithCrateBody:
|
||||||
XmasImages: xcratea, xcrateb, xcratec, xcrated
|
XmasImages: xcratea, xcrateb, xcratec, xcrated
|
||||||
CustomSelectionSize:
|
|
||||||
CustomBounds: 20,20
|
|
||||||
|
|
||||||
^Defense:
|
^Defense:
|
||||||
Inherits: ^BaseBuilding
|
Inherits: ^BaseBuilding
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ CAMERA:
|
|||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 10c0
|
Range: 10c0
|
||||||
Type: CenterPosition
|
Type: CenterPosition
|
||||||
BodyOrientation:
|
|
||||||
|
|
||||||
CAMERA.small:
|
CAMERA.small:
|
||||||
AlwaysVisible:
|
AlwaysVisible:
|
||||||
@@ -71,7 +70,6 @@ CAMERA.small:
|
|||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 6c0
|
Range: 6c0
|
||||||
Type: CenterPosition
|
Type: CenterPosition
|
||||||
BodyOrientation:
|
|
||||||
|
|
||||||
FLARE:
|
FLARE:
|
||||||
Immobile:
|
Immobile:
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ BOAT:
|
|||||||
Weapon: BoatMissile
|
Weapon: BoatMissile
|
||||||
LocalOffset: 85,-85,0, 85,85,0
|
LocalOffset: 85,-85,0, 85,85,0
|
||||||
AttackTurreted:
|
AttackTurreted:
|
||||||
RenderSprites:
|
-QuantizeFacingsFromSequence:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
QuantizedFacings: 2
|
QuantizedFacings: 2
|
||||||
WithGunboatBody:
|
WithGunboatBody:
|
||||||
@@ -66,7 +66,6 @@ LST:
|
|||||||
Type: Heavy
|
Type: Heavy
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 7c0
|
Range: 7c0
|
||||||
QuantizeFacingsFromSequence:
|
|
||||||
WithFacingSpriteBody:
|
WithFacingSpriteBody:
|
||||||
WithRoof:
|
WithRoof:
|
||||||
WithCargo:
|
WithCargo:
|
||||||
@@ -77,6 +76,4 @@ LST:
|
|||||||
MaxWeight: 5
|
MaxWeight: 5
|
||||||
PipCount: 5
|
PipCount: 5
|
||||||
PassengerFacing: 0
|
PassengerFacing: 0
|
||||||
AutoSelectionSize:
|
|
||||||
RenderSprites:
|
|
||||||
|
|
||||||
|
|||||||
@@ -11,10 +11,6 @@ V19:
|
|||||||
|
|
||||||
V19.Husk:
|
V19.Husk:
|
||||||
Inherits: ^CivBuildingHusk
|
Inherits: ^CivBuildingHusk
|
||||||
AutoSelectionSize:
|
|
||||||
RenderSprites:
|
|
||||||
BodyOrientation:
|
|
||||||
QuantizedFacings: 1
|
|
||||||
WithSpriteBody:
|
WithSpriteBody:
|
||||||
WithIdleOverlay:
|
WithIdleOverlay:
|
||||||
StartSequence: fire-start
|
StartSequence: fire-start
|
||||||
|
|||||||
Reference in New Issue
Block a user