Convert yaml-exposed facings to WAngle.

This commit is contained in:
Paul Chote
2020-07-09 22:08:38 +01:00
committed by reaperrr
parent 6d12301f88
commit ac975f4139
80 changed files with 477 additions and 370 deletions

View File

@@ -10,7 +10,7 @@ DPOD:
IdleBehavior: Land
Pitch: 0
Roll: 0
TurnSpeed: 5
TurnSpeed: 20
Speed: 149
InitialFacing: 0
Health:
@@ -48,7 +48,7 @@ DPOD2:
Armor:
Type: Light
Aircraft:
TurnSpeed: 5
TurnSpeed: 20
Speed: 300
CruiseAltitude: 16c0
MaximumPitch: 110
@@ -96,7 +96,7 @@ DSHP:
IdleBehavior: Land
Pitch: 0
Roll: 0
TurnSpeed: 5
TurnSpeed: 20
Speed: 168
InitialFacing: 0
TakeoffSounds: dropup1.aud
@@ -138,7 +138,7 @@ ORCA:
Selectable:
Bounds: 30,24
Aircraft:
TurnSpeed: 5
TurnSpeed: 20
Speed: 186
TakeoffSounds: orcaup1.aud
LandingSounds: orcadwn1.aud
@@ -200,7 +200,7 @@ ORCAB:
Bounds: 30,24
Aircraft:
CruiseAltitude: 5c512
TurnSpeed: 3
TurnSpeed: 12
Speed: 96
CruisingCondition: cruising
TakeoffSounds: orcaup1.aud
@@ -262,7 +262,7 @@ ORCATRAN:
Prerequisites: ~disabled
RenderSprites:
Aircraft:
TurnSpeed: 5
TurnSpeed: 20
Speed: 84
InitialFacing: 0
LandableTerrainTypes: Clear, Road, Rail, DirtRoad, Rough, Tiberium, BlueTiberium, Veins
@@ -304,7 +304,7 @@ TRNSPORT:
Prerequisites: ~gahpad, gadept
Description: VTOL aircraft capable of lifting\nand transporting vehicles.\n Unarmed
Aircraft:
TurnSpeed: 5
TurnSpeed: 20
Speed: 149
InitialFacing: 0
Pitch: 0
@@ -354,7 +354,7 @@ SCRIN:
VoiceSet: Scrin
Aircraft:
CruiseAltitude: 5c0
TurnSpeed: 3
TurnSpeed: 12
Speed: 168
TakeoffSounds: dropup1.aud
LandingSounds: dropdwn1.aud
@@ -420,7 +420,7 @@ APACHE:
PitchSpeed: 8
Roll: 16
RollSpeed: 8
TurnSpeed: 5
TurnSpeed: 20
Speed: 130
CanSlide: false
TakeOffOnResupply: true
@@ -480,7 +480,7 @@ HUNTER:
Armor:
Type: Light
Aircraft:
TurnSpeed: 16
TurnSpeed: 64
Speed: 355
Pitch: 0
Roll: 0

View File

@@ -1690,7 +1690,7 @@ GAICBM:
Transforms:
IntoActor: icbm
Offset: 1,1
Facing: 96
Facing: 384
TransformSounds: place2.aud
NoTransformSounds:
-WithDeathAnimation:

View File

@@ -9,7 +9,7 @@
Name: Mammoth Tank
Mobile:
Speed: 56
TurnSpeed: 5
TurnSpeed: 20
Health:
HP: 60000
Armor:
@@ -19,7 +19,7 @@
MaxHeightDelta: 3
RequiresCondition: !inside-tunnel
Turreted:
TurnSpeed: 3
TurnSpeed: 12
Armament@PRIMARY:
Weapon: 120mmx
LocalOffset: 707,85,509, 707,-120,509
@@ -77,7 +77,7 @@ ICBM:
Type: Light
Mobile:
Speed: 85
TurnSpeed: 5
TurnSpeed: 20
RevealsShroud:
RequiresCondition: !inside-tunnel
Range: 7c0
@@ -85,7 +85,7 @@ ICBM:
Transforms:
IntoActor: gaicbm
Offset: -1,-1
Facing: 96
Facing: 384
TransformSounds:
NoTransformSounds:
Voice: Move
@@ -98,7 +98,7 @@ BUS:
Tooltip:
Name: School Bus
Mobile:
TurnSpeed: 5
TurnSpeed: 20
Speed: 113
PauseOnCondition: empdisable || loading || being-captured || carried
Health:
@@ -124,7 +124,7 @@ PICK:
Tooltip:
Name: Pickup
Mobile:
TurnSpeed: 5
TurnSpeed: 20
Speed: 113
PauseOnCondition: empdisable || loading || being-captured || carried
Health:
@@ -150,7 +150,7 @@ CAR:
Tooltip:
Name: Automobile
Mobile:
TurnSpeed: 5
TurnSpeed: 20
Speed: 113
PauseOnCondition: empdisable || loading || being-captured || carried
Health:
@@ -176,7 +176,7 @@ WINI:
Tooltip:
Name: Recreational Vehicle
Mobile:
TurnSpeed: 5
TurnSpeed: 20
Speed: 113
PauseOnCondition: empdisable || loading || being-captured || carried
Health:

View File

@@ -760,7 +760,7 @@
Mobile:
PauseOnCondition: empdisable || being-captured || carried
Locomotor: wheeled
TurnSpeed: 5
TurnSpeed: 20
Voice: Move
Selectable:
Bounds: 40,24
@@ -875,7 +875,7 @@
RepairActors: gadept
Voice: Move
Aircraft:
InitialFacing: 224
InitialFacing: 896
AirborneCondition: airborne
CruisingCondition: cruising
CruiseAltitude: 4c704
@@ -951,7 +951,7 @@
FallsToEarth:
Moves: true
Velocity: 112
MaximumSpinSpeed: 10
MaximumSpinSpeed: 40
HitShape:
^Visceroid:
@@ -965,7 +965,7 @@
Type: Light
Mobile:
Speed: 113
TurnSpeed: 16
TurnSpeed: 64
Locomotor: visceroid
Selectable:
Bounds: 26,26,0,-3
@@ -1114,7 +1114,7 @@
RenderSprites:
WithVoxelBody:
Mobile:
TurnSpeed: 5
TurnSpeed: 20
Voice: Move
Speed: 113
PauseOnCondition: empdisable

View File

@@ -73,8 +73,8 @@ GACTWR:
DetectCloaked:
RequiresCondition: !empdisable && !disabled && (tower.vulcan || tower.rocket || tower.sam)
Turreted:
TurnSpeed: 10
InitialFacing: 224
TurnSpeed: 40
InitialFacing: 896
AttackTurreted:
RequiresCondition: !build-incomplete && (tower.vulcan || tower.rocket || tower.sam)
PauseOnCondition: empdisable || disabled

View File

@@ -14,7 +14,7 @@ APC:
Prerequisites: ~gaweap, gapile, ~techlevel.medium
Description: Armored infantry transport.\nCan move on water.\n Unarmed
Mobile:
TurnSpeed: 5
TurnSpeed: 20
Speed: 113
PauseOnCondition: empdisable || loading || being-captured || carried
Locomotor: amphibious
@@ -81,7 +81,7 @@ HVR:
Weapon: HoverMissile
LocalOffset: 0,242,543, 0,-242,543
Turreted:
TurnSpeed: 7
TurnSpeed: 28
Offset: -128,0,85
AttackTurreted:
Voice: Attack
@@ -120,7 +120,7 @@ SMECH:
Prerequisites: ~gaweap, ~techlevel.low
Description: Anti-personnel walker.\n Strong vs Infantry, Light armor\n Weak vs Vehicles, Aircraft
Mobile:
TurnSpeed: 5
TurnSpeed: 20
Speed: 99
AlwaysTurnInPlace: true
Health:
@@ -168,7 +168,7 @@ MMCH:
Prerequisites: ~gaweap, ~techlevel.medium
Description: General purpose mechanized walker.\n Strong vs Vehicles\n Weak vs Infantry, Aircraft
Mobile:
TurnSpeed: 5
TurnSpeed: 20
Speed: 56
AlwaysTurnInPlace: true
Health:
@@ -188,7 +188,7 @@ MMCH:
MoveSequence: walk
ValidMovementTypes: Horizontal, Turn
Turreted:
TurnSpeed: 5
TurnSpeed: 20
AttackTurreted:
Voice: Attack
PauseOnCondition: empdisable
@@ -232,7 +232,7 @@ HMEC:
BuildLimit: 1
Description: Slow heavy walker.\nArmed with dual railguns and rocket launchers.\n Strong vs Infantry, Vehicles, Aircraft and Buildings\n Weak vs Nothing\nMaximum 1 can be built.
Mobile:
TurnSpeed: 3
TurnSpeed: 12
Speed: 42
Health:
HP: 80000
@@ -280,7 +280,7 @@ SONIC:
Targetable:
TargetTypes: Ground, Vehicle, Disruptor
Mobile:
TurnSpeed: 4
TurnSpeed: 16
Speed: 56
Health:
HP: 50000
@@ -298,7 +298,7 @@ SONIC:
PauseOnCondition: empdisable
OpportunityFire: False
Turreted:
TurnSpeed: 5
TurnSpeed: 20
Offset: -170,0,0
WithVoxelTurret:
Explodes:
@@ -333,7 +333,7 @@ JUGG:
Type: Light
Mobile:
Speed: 71
TurnSpeed: 5
TurnSpeed: 20
AlwaysTurnInPlace: true
ImmovableCondition: !undeployed
RequireForceMoveCondition: !undeployed
@@ -359,7 +359,7 @@ JUGG:
UndeployedCondition: undeployed
UndeployOnMove: true
UndeployOnPickup: true
Facing: 96
Facing: 384
AllowedTerrainTypes: Clear, Road, DirtRoad, Rough
DeploySounds: place2.aud
UndeploySounds: clicky1.aud
@@ -379,8 +379,8 @@ JUGG:
Name: deployedbody
Turreted:
Turret: deployed
TurnSpeed: 5
InitialFacing: 96
TurnSpeed: 20
InitialFacing: 384
Offset: -153,-17,633
RealignDelay: -1
WithVoxelBarrel:

View File

@@ -3,7 +3,7 @@ DSHP.Husk:
Tooltip:
Name: Dropship
Aircraft:
TurnSpeed: 5
TurnSpeed: 20
Speed: 168
-RenderSprites:
RenderVoxels:
@@ -14,7 +14,7 @@ ORCA.Husk:
Tooltip:
Name: Orca Fighter
Aircraft:
TurnSpeed: 5
TurnSpeed: 20
Speed: 186
RenderSprites:
Image: orca
@@ -30,10 +30,10 @@ ORCAB.Husk:
Tooltip:
Name: Orca Bomber
Aircraft:
TurnSpeed: 3
TurnSpeed: 12
Speed: 96
FallsToEarth:
MaximumSpinSpeed: 6
MaximumSpinSpeed: 24
RenderSprites:
Image: orcab
RenderVoxels:
@@ -48,7 +48,7 @@ ORCATRAN.Husk:
Tooltip:
Name: Orca Transport
Aircraft:
TurnSpeed: 5
TurnSpeed: 20
Speed: 84
RenderSprites:
Image: orcatran
@@ -64,7 +64,7 @@ TRNSPORT.Husk:
Tooltip:
Name: Carryall
Aircraft:
TurnSpeed: 5
TurnSpeed: 20
Speed: 149
RenderSprites:
Image: trnsport
@@ -80,10 +80,10 @@ SCRIN.Husk:
Tooltip:
Name: Banshee Fighter
Aircraft:
TurnSpeed: 3
TurnSpeed: 12
Speed: 168
FallsToEarth:
MaximumSpinSpeed: 6
MaximumSpinSpeed: 24
RenderSprites:
Image: scrin
RenderVoxels:
@@ -98,7 +98,7 @@ APACHE.Husk:
Tooltip:
Name: Harpy
Aircraft:
TurnSpeed: 5
TurnSpeed: 20
Speed: 130
WithIdleOverlay:
Offset: 85,0,598

View File

@@ -31,9 +31,9 @@ waypoint:
mmch.colorpicker:
Inherits: MMCH
Mobile:
InitialFacing: 160
InitialFacing: 640
Turreted:
InitialFacing: 160
InitialFacing: 640
WithFacingSpriteBody:
Sequence: walk
-Buildable:

View File

@@ -522,7 +522,7 @@ NAWAST:
Range: 6c0
MaxHeightDelta: 3
TiberianSunRefinery:
DockAngle: 160
DockAngle: 640
DockOffset: 2,1
StoresResources:
Capacity: 56
@@ -531,7 +531,7 @@ NAWAST:
FreeActor:
Actor: WEED
SpawnOffset: 3,1
Facing: 160
Facing: 640
WithIdleOverlay@GLOW:
RequiresCondition: !build-incomplete
Sequence: idle-glow

View File

@@ -163,8 +163,8 @@ NALASR:
DetectCloaked:
Range: 3c0
Turreted:
TurnSpeed: 10
InitialFacing: 224
TurnSpeed: 40
InitialFacing: 896
Offset: 298,-171,288
AttackTurreted:
RequiresCondition: !build-incomplete
@@ -247,8 +247,8 @@ NASAM:
RenderRangeCircle:
RangeCircleType: aa
Turreted:
TurnSpeed: 10
InitialFacing: 224
TurnSpeed: 40
InitialFacing: 896
AttackTurreted:
RequiresCondition: !build-incomplete
PauseOnCondition: empdisable || disabled

View File

@@ -15,7 +15,7 @@ BGGY:
Prerequisites: ~naweap, ~techlevel.low
Description: Fast scout and anti-infantry vehicle.\n Strong vs Infantry, Light armor\n Weak vs Vehicles, Aircraft
Mobile:
TurnSpeed: 8
TurnSpeed: 32
Speed: 142
Health:
HP: 22000
@@ -55,7 +55,7 @@ BIKE:
Prerequisites: ~naweap, ~techlevel.low
Description: Fast scout vehicle, armed with\nrockets.\n Strong vs Vehicles\n Weak vs Infantry, Aircraft
Mobile:
TurnSpeed: 8
TurnSpeed: 32
Speed: 170
Health:
HP: 15000
@@ -102,7 +102,7 @@ TTNK:
Prerequisites: ~naweap, ~techlevel.medium
Description: Nod's main battle tank.\nCan deploy to gain extra protection.\n Strong vs Vehicles\n Weak vs Infantry, Aircraft
Mobile:
TurnSpeed: 5
TurnSpeed: 20
Speed: 85
ImmovableCondition: !undeployed
RequireForceMoveCondition: !undeployed
@@ -137,7 +137,7 @@ TTNK:
UndeployedCondition: undeployed
UndeployOnMove: true
UndeployOnPickup: true
Facing: 160
Facing: 640
AllowedTerrainTypes: Clear, Road, DirtRoad, Rough
DeploySounds: place2.aud
UndeploySounds: clicky1.aud
@@ -159,9 +159,9 @@ TTNK:
RequiresCondition: undeployed
PauseOnCondition: empdisable
Turreted:
TurnSpeed: 6
TurnSpeed: 24
Turret: deployed
InitialFacing: 160
InitialFacing: 640
Offset: -20, -130, 128
RealignDelay: -1
WithVoxelBarrel:
@@ -232,7 +232,7 @@ ART2:
Type: Light
Mobile:
Speed: 71
TurnSpeed: 2
TurnSpeed: 8
ImmovableCondition: !undeployed
RequireForceMoveCondition: !undeployed
RevealsShroud:
@@ -250,7 +250,7 @@ ART2:
UndeployedCondition: undeployed
UndeployOnMove: true
UndeployOnPickup: true
Facing: 96
Facing: 384
AllowedTerrainTypes: Clear, Road, DirtRoad, Rough
DeploySounds: place2.aud
UndeploySounds: clicky1.aud
@@ -269,8 +269,8 @@ ART2:
RequiresCondition: !undeployed && real-actor
Turreted:
Turret: deployed
TurnSpeed: 5
InitialFacing: 96
TurnSpeed: 20
InitialFacing: 384
Offset: 0,0,256
RealignDelay: -1
WithVoxelBarrel:
@@ -320,7 +320,7 @@ REPAIR:
HP: 20000
Mobile:
Speed: 85
TurnSpeed: 5
TurnSpeed: 20
RevealsShroud:
RequiresCondition: !inside-tunnel
Range: 5c0
@@ -365,7 +365,7 @@ WEED:
DeliverVoice: Move
Mobile:
Speed: 71
TurnSpeed: 5
TurnSpeed: 20
Health:
HP: 60000
SelfHealing:
@@ -407,7 +407,7 @@ SAPC:
Prerequisites: ~naweap, natech, ~techlevel.medium
Description: Troop transport that can move\nunderground to avoid detection.\n Unarmed
Mobile:
TurnSpeed: 5
TurnSpeed: 20
Speed: 71
PauseOnCondition: empdisable || loading || being-captured || carried
Locomotor: subterranean
@@ -459,7 +459,7 @@ SUBTANK:
Prerequisites: ~naweap, natech, ~techlevel.high
Description: Subterranean Flame Tank.\nIs able to move underground.\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
Mobile:
TurnSpeed: 6
TurnSpeed: 24
Speed: 71
Locomotor: subterranean
Health:
@@ -509,7 +509,7 @@ STNK:
Queue: Vehicle
Description: Lightly armoured tank equipped with a personal\nstealth generator. Armed with missiles.\nCan be spotted by infantry at close range.\n Strong vs Vehicles, Aircraft\n Weak vs Infantry
Mobile:
TurnSpeed: 5
TurnSpeed: 20
Speed: 85
Health:
HP: 18000

View File

@@ -32,7 +32,7 @@ GACNST:
PauseOnCondition: empdisable || being-demolished || build-incomplete
IntoActor: mcv
Offset: 1,1
Facing: 96
Facing: 384
DeployCursor: undeploy
TransformsIntoMobile:
RequiresCondition: factundeploy
@@ -105,7 +105,7 @@ PROC:
Range: 6c0
MaxHeightDelta: 3
TiberianSunRefinery:
DockAngle: 160
DockAngle: 640
DockOffset: 2,1
DiscardExcessResources: true
StoresResources:
@@ -115,7 +115,7 @@ PROC:
FreeActor:
Actor: HARV
SpawnOffset: 2,1
Facing: 160
Facing: 640
WithIdleOverlay@REDLIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-redlights

View File

@@ -21,8 +21,8 @@ NAPULS:
RevealsShroud:
Range: 8c0
Turreted:
TurnSpeed: 10
InitialFacing: 224
TurnSpeed: 40
InitialFacing: 896
AttackTurreted:
RequiresCondition: !build-incomplete && !empdisable && !disabled
Armament:

View File

@@ -30,7 +30,7 @@ MCV:
PauseOnCondition: empdisable || being-captured
IntoActor: gacnst
Offset: -1,-1
Facing: 96
Facing: 384
TransformSounds: place2.aud
NoTransformSounds:
Voice: Move
@@ -134,7 +134,7 @@ LPST:
Type: Wood
Mobile:
Speed: 85
TurnSpeed: 5
TurnSpeed: 20
ImmovableCondition: !undeployed
RequireForceMoveCondition: !undeployed
RevealsShroud:
@@ -159,7 +159,7 @@ LPST:
UndeployedCondition: undeployed
UndeployOnMove: true
UndeployOnPickup: true
Facing: 160
Facing: 640
AllowedTerrainTypes: Clear, Road, DirtRoad, Rough
DeploySounds: place2.aud
UndeploySounds: clicky1.aud

View File

@@ -117,7 +117,7 @@ CyCannon:
Projectile: Missile
MaximumLaunchSpeed: 192
Blockable: false
HorizontalRateOfTurn: 2
HorizontalRateOfTurn: 8
Shadow: true
Image: TORPEDO
MinimumLaunchSpeed: 75

View File

@@ -11,7 +11,7 @@
Image: DRAGON
TrailImage: small_smoke_trail
TrailPalette: effectalpha75
HorizontalRateOfTurn: 25
HorizontalRateOfTurn: 100
RangeLimit: 15c0
Palette: ra
MinimumLaunchSpeed: 75
@@ -19,7 +19,7 @@
Acceleration: 96
MinimumLaunchAngle: 128
MaximumLaunchAngle: 192
VerticalRateOfTurn: 25
VerticalRateOfTurn: 100
CruiseAltitude: 5c512
AllowSnapping: true
TerrainHeightAware: true
@@ -128,7 +128,7 @@ RedEye2:
ValidTargets: Air
Projectile: Missile
Arm: 1
VerticalRateOfTurn: 35
VerticalRateOfTurn: 140
RangeLimit: 25c0
Speed: 288
Warhead@1Dam: SpreadDamage

View File

@@ -10,7 +10,7 @@ MultiCluster:
MaximumLaunchAngle: 255
RangeLimit: 10c0
AllowSnapping: false
VerticalRateOfTurn: 16
VerticalRateOfTurn: 64
Warhead@1Dam: SpreadDamage
Spread: 216
Damage: 13000