Fix RA/TD defense turrets facing issues
By using WithSpriteTurret instead of WithEmbeddedTurretSpriteBody.
This commit is contained in:
@@ -853,8 +853,10 @@ GUN:
|
|||||||
TurnSpeed: 48
|
TurnSpeed: 48
|
||||||
InitialFacing: 192
|
InitialFacing: 192
|
||||||
RealignDelay: -1
|
RealignDelay: -1
|
||||||
-WithSpriteBody:
|
RequiresCondition: !build-incomplete
|
||||||
WithEmbeddedTurretSpriteBody:
|
WithSpriteTurret:
|
||||||
|
RequiresCondition: !build-incomplete
|
||||||
|
Recoils: false
|
||||||
Armament:
|
Armament:
|
||||||
Weapon: TurretGun
|
Weapon: TurretGun
|
||||||
LocalOffset: 512,0,112
|
LocalOffset: 512,0,112
|
||||||
|
|||||||
@@ -435,14 +435,15 @@ wood:
|
|||||||
Length: 16
|
Length: 16
|
||||||
|
|
||||||
gun:
|
gun:
|
||||||
idle:
|
idle: gunmake # Empty first frame. We need WithSpriteBody for the make anim, and WSB needs at least a placeholder default sequence to work
|
||||||
|
turret:
|
||||||
Facings: 32
|
Facings: 32
|
||||||
UseClassicFacings: True
|
UseClassicFacings: True
|
||||||
recoil:
|
recoil:
|
||||||
Start: 32
|
Start: 32
|
||||||
Facings: 32
|
Facings: 32
|
||||||
UseClassicFacings: True
|
UseClassicFacings: True
|
||||||
damaged-idle:
|
damaged-turret:
|
||||||
Start: 64
|
Start: 64
|
||||||
Facings: 32
|
Facings: 32
|
||||||
UseClassicFacings: True
|
UseClassicFacings: True
|
||||||
|
|||||||
@@ -604,8 +604,10 @@ AGUN:
|
|||||||
TurnSpeed: 60
|
TurnSpeed: 60
|
||||||
InitialFacing: 832
|
InitialFacing: 832
|
||||||
RealignDelay: -1
|
RealignDelay: -1
|
||||||
-WithSpriteBody:
|
RequiresCondition: !build-incomplete
|
||||||
WithEmbeddedTurretSpriteBody:
|
WithSpriteTurret:
|
||||||
|
RequiresCondition: !build-incomplete
|
||||||
|
Recoils: false
|
||||||
Armament:
|
Armament:
|
||||||
Weapon: ZSU-23
|
Weapon: ZSU-23
|
||||||
LocalOffset: 520,100,450, 520,-150,450
|
LocalOffset: 520,100,450, 520,-150,450
|
||||||
@@ -819,8 +821,10 @@ GUN:
|
|||||||
TurnSpeed: 48
|
TurnSpeed: 48
|
||||||
InitialFacing: 192
|
InitialFacing: 192
|
||||||
RealignDelay: -1
|
RealignDelay: -1
|
||||||
-WithSpriteBody:
|
RequiresCondition: !build-incomplete
|
||||||
WithEmbeddedTurretSpriteBody:
|
WithSpriteTurret:
|
||||||
|
RequiresCondition: !build-incomplete
|
||||||
|
Recoils: false
|
||||||
Armament:
|
Armament:
|
||||||
Weapon: TurretGun
|
Weapon: TurretGun
|
||||||
LocalOffset: 512,0,112
|
LocalOffset: 512,0,112
|
||||||
@@ -919,8 +923,10 @@ SAM:
|
|||||||
TurnSpeed: 120
|
TurnSpeed: 120
|
||||||
InitialFacing: 0
|
InitialFacing: 0
|
||||||
RealignDelay: -1
|
RealignDelay: -1
|
||||||
-WithSpriteBody:
|
RequiresCondition: !build-incomplete
|
||||||
WithEmbeddedTurretSpriteBody:
|
WithSpriteTurret:
|
||||||
|
RequiresCondition: !build-incomplete
|
||||||
|
Recoils: false
|
||||||
Armament:
|
Armament:
|
||||||
Weapon: Nike
|
Weapon: Nike
|
||||||
LocalOffset: 0,0,320
|
LocalOffset: 0,0,320
|
||||||
|
|||||||
@@ -378,16 +378,17 @@ fix:
|
|||||||
fake-icon: fixficon
|
fake-icon: fixficon
|
||||||
|
|
||||||
gun:
|
gun:
|
||||||
idle:
|
idle: gunmake # Empty first frame. We need WithSpriteBody for the make anim, and WSB needs at least a placeholder default sequence to work
|
||||||
|
make: gunmake
|
||||||
|
Length: *
|
||||||
|
turret:
|
||||||
Facings: 32
|
Facings: 32
|
||||||
UseClassicFacings: True
|
UseClassicFacings: True
|
||||||
recoil:
|
recoil:
|
||||||
Start: 32
|
Start: 32
|
||||||
Facings: 32
|
Facings: 32
|
||||||
UseClassicFacings: True
|
UseClassicFacings: True
|
||||||
make: gunmake
|
damaged-turret:
|
||||||
Length: *
|
|
||||||
damaged-idle:
|
|
||||||
Start: 64
|
Start: 64
|
||||||
Facings: 32
|
Facings: 32
|
||||||
UseClassicFacings: True
|
UseClassicFacings: True
|
||||||
@@ -404,7 +405,11 @@ gun:
|
|||||||
icon: gunicon
|
icon: gunicon
|
||||||
|
|
||||||
agun:
|
agun:
|
||||||
idle:
|
idle: gunmake # Empty first frame (agunmake has no empty frames). We need WithSpriteBody for the make anim, and WSB needs at least a placeholder default sequence to work
|
||||||
|
make: agunmake
|
||||||
|
Length: *
|
||||||
|
Offset: 0,-13
|
||||||
|
turret:
|
||||||
Facings: 32
|
Facings: 32
|
||||||
UseClassicFacings: True
|
UseClassicFacings: True
|
||||||
Offset: 0,-13
|
Offset: 0,-13
|
||||||
@@ -413,10 +418,7 @@ agun:
|
|||||||
Facings: 32
|
Facings: 32
|
||||||
UseClassicFacings: True
|
UseClassicFacings: True
|
||||||
Offset: 0,-13
|
Offset: 0,-13
|
||||||
make: agunmake
|
damaged-turret:
|
||||||
Length: *
|
|
||||||
Offset: 0,-13
|
|
||||||
damaged-idle:
|
|
||||||
Start: 64
|
Start: 64
|
||||||
Facings: 32
|
Facings: 32
|
||||||
UseClassicFacings: True
|
UseClassicFacings: True
|
||||||
@@ -435,11 +437,12 @@ agun:
|
|||||||
icon: agunicon
|
icon: agunicon
|
||||||
|
|
||||||
sam:
|
sam:
|
||||||
idle: sam2
|
idle: gunmake # Empty first frame (sammake has no empty frames). We need WithSpriteBody for the make anim, and WSB needs at least a placeholder default sequence to work
|
||||||
|
turret: sam2
|
||||||
Facings: 32
|
Facings: 32
|
||||||
UseClassicFacings: True
|
UseClassicFacings: True
|
||||||
Offset: -1,-2
|
Offset: -1,-2
|
||||||
damaged-idle: sam2
|
damaged-turret: sam2
|
||||||
Start: 34
|
Start: 34
|
||||||
Facings: 32
|
Facings: 32
|
||||||
UseClassicFacings: True
|
UseClassicFacings: True
|
||||||
|
|||||||
Reference in New Issue
Block a user