Phobos-developers / Phobos

Ares-compatible C&C Red Alert 2: Yuri's Revenge engine extension
GNU Lesser General Public License v3.0
293 stars 89 forks source link

TurretOffset= doesn't work with SHP vehicles #1065

Open SCIPCION opened 1 year ago

SCIPCION commented 1 year ago

Description

This is one of the bugs related to SHP vehicles with turrets, this bug is specially limiting for the creations of vehicles as SHP.

Conditions to reproduce

SHP vehicle with turret

INI code

Rules:

[TANK]
Turret=yes

Art:
[ART]
Voxel=no
TurretOffset=-150

Facings=32
WalkFrames=1

Steps to reproduce

  1. Use a SHP vehicle with turret
  2. Set TurretOffset= in ART codes
  3. see ingame

Expected behaviour

Offset for the turret like voxel turrets

Actual behaviour

Offset doesn't work, although it's affecting FireFLH

tutttt

Additional context

No response

Checklist

Starkku commented 1 year ago

Debatable if it is a bug if the said feature was simply never coded for SHP vehicles in the first place. Acknowledged regardless, maybe someone will pick it up at some point.

mevitar commented 1 year ago

I'm not sure if there is any point for anyone to work on this when Techno Attachment is being worked on. Once that one is done, people will be able to just attach an shp TechnoType as a turret.

Metadorius commented 1 year ago

Still having a native way to do TurretOffset would be good. Using Techno Attachment for this is of course a solution, but I am not sure it's possible to sync up everything correctly (AttachFX for example, although with the reimplementation Starkku has pending that's much less complicated).