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
|
||||
InitialFacing: 192
|
||||
RealignDelay: -1
|
||||
-WithSpriteBody:
|
||||
WithEmbeddedTurretSpriteBody:
|
||||
RequiresCondition: !build-incomplete
|
||||
WithSpriteTurret:
|
||||
RequiresCondition: !build-incomplete
|
||||
Recoils: false
|
||||
Armament:
|
||||
Weapon: TurretGun
|
||||
LocalOffset: 512,0,112
|
||||
|
||||
@@ -435,14 +435,15 @@ wood:
|
||||
Length: 16
|
||||
|
||||
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
|
||||
UseClassicFacings: True
|
||||
recoil:
|
||||
Start: 32
|
||||
Facings: 32
|
||||
UseClassicFacings: True
|
||||
damaged-idle:
|
||||
damaged-turret:
|
||||
Start: 64
|
||||
Facings: 32
|
||||
UseClassicFacings: True
|
||||
|
||||
Reference in New Issue
Block a user