Replace RenderUnit in D2k with WithFacingSpriteBody
+RenderSprites + AutoSelectionSize, where possible.
This commit is contained in:
@@ -20,8 +20,7 @@ carryall.reinforce:
|
|||||||
Repulsable: False
|
Repulsable: False
|
||||||
LandAltitude: 100
|
LandAltitude: 100
|
||||||
LandWhenIdle: False
|
LandWhenIdle: False
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
Image: carryall
|
|
||||||
WithShadow:
|
WithShadow:
|
||||||
LeavesHusk:
|
LeavesHusk:
|
||||||
HuskActor: carryall.husk
|
HuskActor: carryall.husk
|
||||||
@@ -29,6 +28,9 @@ carryall.reinforce:
|
|||||||
-TargetableAircraft:
|
-TargetableAircraft:
|
||||||
Carryall:
|
Carryall:
|
||||||
Automatic: False
|
Automatic: False
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
Image: carryall
|
||||||
|
|
||||||
carryall:
|
carryall:
|
||||||
Inherits: carryall.reinforce
|
Inherits: carryall.reinforce
|
||||||
@@ -55,8 +57,7 @@ carryall.infantry:
|
|||||||
RepairBuildings: repair
|
RepairBuildings: repair
|
||||||
RearmBuildings:
|
RearmBuildings:
|
||||||
Repulsable: False
|
Repulsable: False
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
Image: carryall
|
|
||||||
WithShadow:
|
WithShadow:
|
||||||
Cargo:
|
Cargo:
|
||||||
MaxWeight: 5
|
MaxWeight: 5
|
||||||
@@ -69,6 +70,9 @@ carryall.infantry:
|
|||||||
LeavesHusk:
|
LeavesHusk:
|
||||||
HuskActor: carryall.infantry.husk
|
HuskActor: carryall.infantry.husk
|
||||||
RejectsOrders:
|
RejectsOrders:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
Image: carryall
|
||||||
|
|
||||||
carryall.husk:
|
carryall.husk:
|
||||||
Inherits: ^AircraftHusk
|
Inherits: ^AircraftHusk
|
||||||
@@ -79,9 +83,11 @@ carryall.husk:
|
|||||||
Speed: 210
|
Speed: 210
|
||||||
RepairBuildings: repair
|
RepairBuildings: repair
|
||||||
RearmBuildings:
|
RearmBuildings:
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
Image: carryall
|
|
||||||
WithShadow:
|
WithShadow:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
Image: carryall
|
||||||
|
|
||||||
frigate:
|
frigate:
|
||||||
Inherits: ^Plane
|
Inherits: ^Plane
|
||||||
@@ -137,12 +143,14 @@ orni:
|
|||||||
Speed: 280
|
Speed: 280
|
||||||
RepairBuildings: repair
|
RepairBuildings: repair
|
||||||
RearmBuildings:
|
RearmBuildings:
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
WithShadow:
|
WithShadow:
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 38,32,0,0
|
Bounds: 38,32,0,0
|
||||||
LeavesHusk:
|
LeavesHusk:
|
||||||
HuskActor: orni.husk
|
HuskActor: orni.husk
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
|
||||||
orni.bomber:
|
orni.bomber:
|
||||||
AttackBomber:
|
AttackBomber:
|
||||||
@@ -161,8 +169,7 @@ orni.bomber:
|
|||||||
Repulsable: False
|
Repulsable: False
|
||||||
AmmoPool:
|
AmmoPool:
|
||||||
Ammo: 5
|
Ammo: 5
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
Image: orni
|
|
||||||
WithShadow:
|
WithShadow:
|
||||||
-Selectable:
|
-Selectable:
|
||||||
-GainsExperience:
|
-GainsExperience:
|
||||||
@@ -171,6 +178,9 @@ orni.bomber:
|
|||||||
LeavesHusk:
|
LeavesHusk:
|
||||||
HuskActor: orni.bomber.husk
|
HuskActor: orni.bomber.husk
|
||||||
RejectsOrders:
|
RejectsOrders:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
Image: orni
|
||||||
|
|
||||||
orni.husk:
|
orni.husk:
|
||||||
Inherits: ^AircraftHusk
|
Inherits: ^AircraftHusk
|
||||||
@@ -181,9 +191,11 @@ orni.husk:
|
|||||||
Speed: 280
|
Speed: 280
|
||||||
RepairBuildings: repair
|
RepairBuildings: repair
|
||||||
RearmBuildings:
|
RearmBuildings:
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
Image: orni
|
|
||||||
WithShadow:
|
WithShadow:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
Image: orni
|
||||||
|
|
||||||
orni.bomber.husk:
|
orni.bomber.husk:
|
||||||
Inherits: ^AircraftHusk
|
Inherits: ^AircraftHusk
|
||||||
@@ -194,9 +206,11 @@ orni.bomber.husk:
|
|||||||
Speed: 350
|
Speed: 350
|
||||||
RepairBuildings: repair
|
RepairBuildings: repair
|
||||||
RearmBuildings:
|
RearmBuildings:
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
Image: orni
|
|
||||||
WithShadow:
|
WithShadow:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
Image: orni
|
||||||
|
|
||||||
carryall.infantry.husk:
|
carryall.infantry.husk:
|
||||||
Inherits: ^AircraftHusk
|
Inherits: ^AircraftHusk
|
||||||
@@ -207,6 +221,9 @@ carryall.infantry.husk:
|
|||||||
Speed: 280
|
Speed: 280
|
||||||
RepairBuildings: repair
|
RepairBuildings: repair
|
||||||
RearmBuildings:
|
RearmBuildings:
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
Image: carryall
|
|
||||||
WithShadow:
|
WithShadow:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
Image: carryall
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
Guard:
|
Guard:
|
||||||
Voice: Guard
|
Voice: Guard
|
||||||
Guardable:
|
Guardable:
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
Huntable:
|
Huntable:
|
||||||
@@ -58,6 +58,8 @@
|
|||||||
Image: pips
|
Image: pips
|
||||||
Sequence: pickup-indicator
|
Sequence: pickup-indicator
|
||||||
Offset: -12, -12
|
Offset: -12, -12
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
|
||||||
^Tank:
|
^Tank:
|
||||||
AppearsOnRadar:
|
AppearsOnRadar:
|
||||||
@@ -93,7 +95,7 @@
|
|||||||
Guard:
|
Guard:
|
||||||
Voice: Guard
|
Voice: Guard
|
||||||
Guardable:
|
Guardable:
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
UpdatesPlayerStatistics:
|
UpdatesPlayerStatistics:
|
||||||
Huntable:
|
Huntable:
|
||||||
@@ -119,6 +121,8 @@
|
|||||||
Image: pips
|
Image: pips
|
||||||
Sequence: pickup-indicator
|
Sequence: pickup-indicator
|
||||||
Offset: -12, -12
|
Offset: -12, -12
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
|
||||||
^Husk:
|
^Husk:
|
||||||
Health:
|
Health:
|
||||||
@@ -147,7 +151,9 @@
|
|||||||
ForceHealthPercentage: 25
|
ForceHealthPercentage: 25
|
||||||
DisabledOverlay:
|
DisabledOverlay:
|
||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
|
||||||
^TowerHusk:
|
^TowerHusk:
|
||||||
Health:
|
Health:
|
||||||
@@ -295,9 +301,11 @@
|
|||||||
UpgradeManager:
|
UpgradeManager:
|
||||||
AnnounceOnSeen:
|
AnnounceOnSeen:
|
||||||
Notification: EnemyUnitsDetected
|
Notification: EnemyUnitsDetected
|
||||||
RenderUnit:
|
|
||||||
Voiced:
|
Voiced:
|
||||||
VoiceSet: GenericVoice
|
VoiceSet: GenericVoice
|
||||||
|
WithFacingSpriteBody:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
|
||||||
^Helicopter:
|
^Helicopter:
|
||||||
Inherits: ^Plane
|
Inherits: ^Plane
|
||||||
|
|||||||
@@ -24,9 +24,11 @@ siegetank.husk:
|
|||||||
|
|
||||||
missiletank.husk:
|
missiletank.husk:
|
||||||
Inherits: ^Husk
|
Inherits: ^Husk
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
TransformOnCapture:
|
TransformOnCapture:
|
||||||
IntoActor: missiletank
|
IntoActor: missiletank
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
|
||||||
sonictank.husk:
|
sonictank.husk:
|
||||||
Inherits: ^Husk
|
Inherits: ^Husk
|
||||||
|
|||||||
@@ -128,11 +128,13 @@ waypoint:
|
|||||||
|
|
||||||
^carryall.colorpicker:
|
^carryall.colorpicker:
|
||||||
Inherits: carryall
|
Inherits: carryall
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
Image: carryall
|
|
||||||
Palette: colorpicker
|
|
||||||
Helicopter:
|
Helicopter:
|
||||||
InitialFacing: 104
|
InitialFacing: 104
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
Image: carryall
|
||||||
|
Palette: colorpicker
|
||||||
|
|
||||||
camera:
|
camera:
|
||||||
Immobile:
|
Immobile:
|
||||||
|
|||||||
@@ -5,7 +5,9 @@ mcv.starport:
|
|||||||
Queue: Starport
|
Queue: Starport
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 2500
|
Cost: 2500
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
Image: mcv
|
Image: mcv
|
||||||
|
|
||||||
harvester.starport:
|
harvester.starport:
|
||||||
@@ -24,7 +26,9 @@ trike.starport:
|
|||||||
Prerequisites: starport
|
Prerequisites: starport
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 315
|
Cost: 315
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
Image: trike
|
Image: trike
|
||||||
|
|
||||||
quad.starport:
|
quad.starport:
|
||||||
@@ -33,7 +37,9 @@ quad.starport:
|
|||||||
Queue: Starport
|
Queue: Starport
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 500
|
Cost: 500
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
Image: quad
|
Image: quad
|
||||||
|
|
||||||
siegetank.starport:
|
siegetank.starport:
|
||||||
@@ -42,7 +48,9 @@ siegetank.starport:
|
|||||||
Queue: Starport
|
Queue: Starport
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 1075
|
Cost: 1075
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
Image: siegetank
|
Image: siegetank
|
||||||
|
|
||||||
missiletank.starport:
|
missiletank.starport:
|
||||||
@@ -51,7 +59,9 @@ missiletank.starport:
|
|||||||
Queue: Starport
|
Queue: Starport
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 1250
|
Cost: 1250
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
Image: missiletank
|
Image: missiletank
|
||||||
|
|
||||||
combata.starport:
|
combata.starport:
|
||||||
@@ -61,7 +71,9 @@ combata.starport:
|
|||||||
Queue: Starport
|
Queue: Starport
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 875
|
Cost: 875
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
Image: combata
|
Image: combata
|
||||||
|
|
||||||
combath.starport:
|
combath.starport:
|
||||||
@@ -71,7 +83,9 @@ combath.starport:
|
|||||||
Queue: Starport
|
Queue: Starport
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 875
|
Cost: 875
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
Image: combath
|
Image: combath
|
||||||
|
|
||||||
combato.starport:
|
combato.starport:
|
||||||
@@ -81,7 +95,9 @@ combato.starport:
|
|||||||
Queue: Starport
|
Queue: Starport
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 875
|
Cost: 875
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
Image: combato
|
Image: combato
|
||||||
|
|
||||||
carryall.starport:
|
carryall.starport:
|
||||||
|
|||||||
@@ -75,6 +75,10 @@ harvester:
|
|||||||
EmptyWeapon: UnitExplodeScale
|
EmptyWeapon: UnitExplodeScale
|
||||||
LeavesHusk:
|
LeavesHusk:
|
||||||
HuskActor: Harvester.Husk
|
HuskActor: Harvester.Husk
|
||||||
|
RenderUnit:
|
||||||
|
-RenderSprites:
|
||||||
|
-WithFacingSpriteBody:
|
||||||
|
-AutoSelectionSize:
|
||||||
WithHarvestAnimation:
|
WithHarvestAnimation:
|
||||||
Palette: effect50alpha
|
Palette: effect50alpha
|
||||||
AttractsWorms:
|
AttractsWorms:
|
||||||
@@ -102,7 +106,7 @@ trike:
|
|||||||
Speed: 128
|
Speed: 128
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 7c0
|
Range: 7c0
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
WithMuzzleFlash:
|
WithMuzzleFlash:
|
||||||
Armament:
|
Armament:
|
||||||
Weapon: HMG
|
Weapon: HMG
|
||||||
@@ -115,6 +119,8 @@ trike:
|
|||||||
EmptyWeapon: UnitExplodeTiny
|
EmptyWeapon: UnitExplodeTiny
|
||||||
AttractsWorms:
|
AttractsWorms:
|
||||||
Intensity: 420
|
Intensity: 420
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
|
||||||
quad:
|
quad:
|
||||||
Inherits: ^Vehicle
|
Inherits: ^Vehicle
|
||||||
@@ -181,8 +187,7 @@ siegetank:
|
|||||||
MuzzleSequence: muzzle
|
MuzzleSequence: muzzle
|
||||||
AttackFrontal:
|
AttackFrontal:
|
||||||
WithMuzzleFlash:
|
WithMuzzleFlash:
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
Image: SIEGETANK
|
|
||||||
WithTurret:
|
WithTurret:
|
||||||
Explodes:
|
Explodes:
|
||||||
Weapon: UnitExplodeScale
|
Weapon: UnitExplodeScale
|
||||||
@@ -195,6 +200,9 @@ siegetank:
|
|||||||
HuskActor: siegetank.husk
|
HuskActor: siegetank.husk
|
||||||
AttractsWorms:
|
AttractsWorms:
|
||||||
Intensity: 600
|
Intensity: 600
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
Image: SIEGETANK
|
||||||
|
|
||||||
missiletank:
|
missiletank:
|
||||||
Inherits: ^Tank
|
Inherits: ^Tank
|
||||||
@@ -289,7 +297,7 @@ devast:
|
|||||||
Crushes: crate, infantry
|
Crushes: crate, infantry
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 7c0
|
Range: 7c0
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
Armament:
|
Armament:
|
||||||
Weapon: DevBullet
|
Weapon: DevBullet
|
||||||
LocalOffset: 640,0,32
|
LocalOffset: 640,0,32
|
||||||
@@ -307,6 +315,8 @@ devast:
|
|||||||
HuskActor: devast.husk
|
HuskActor: devast.husk
|
||||||
AttractsWorms:
|
AttractsWorms:
|
||||||
Intensity: 700
|
Intensity: 700
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
|
||||||
raider:
|
raider:
|
||||||
Inherits: ^Vehicle
|
Inherits: ^Vehicle
|
||||||
@@ -382,7 +392,7 @@ deviatortank:
|
|||||||
Type: Light
|
Type: Light
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 5c0
|
Range: 5c0
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
Armament:
|
Armament:
|
||||||
Weapon: NerveGasMissile
|
Weapon: NerveGasMissile
|
||||||
LocalOffset: -299,0,85
|
LocalOffset: -299,0,85
|
||||||
@@ -398,6 +408,8 @@ deviatortank:
|
|||||||
HuskActor: deviatortank.husk
|
HuskActor: deviatortank.husk
|
||||||
AttractsWorms:
|
AttractsWorms:
|
||||||
Intensity: 600
|
Intensity: 600
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
|
||||||
^combat:
|
^combat:
|
||||||
Inherits: ^Tank
|
Inherits: ^Tank
|
||||||
@@ -430,7 +442,7 @@ deviatortank:
|
|||||||
MuzzleSequence: muzzle
|
MuzzleSequence: muzzle
|
||||||
AttackTurreted:
|
AttackTurreted:
|
||||||
WithMuzzleFlash:
|
WithMuzzleFlash:
|
||||||
RenderUnit:
|
WithFacingSpriteBody:
|
||||||
WithTurret:
|
WithTurret:
|
||||||
AutoTarget:
|
AutoTarget:
|
||||||
Explodes:
|
Explodes:
|
||||||
@@ -440,6 +452,8 @@ deviatortank:
|
|||||||
Bounds: 30,30
|
Bounds: 30,30
|
||||||
AttractsWorms:
|
AttractsWorms:
|
||||||
Intensity: 520
|
Intensity: 520
|
||||||
|
AutoSelectionSize:
|
||||||
|
RenderSprites:
|
||||||
|
|
||||||
combata:
|
combata:
|
||||||
Inherits: ^combat
|
Inherits: ^combat
|
||||||
|
|||||||
Reference in New Issue
Block a user