[Request] Equivalent of entity_info_icon_shift for turrets
Posted: Mon Nov 04, 2019 7:48 pm
Hi,
Entities in the crafting machine hierarchy have the entity_info_icon_shift parameter, which gives you control over where the alt-mode recipe icons are positioned relative to the selection box for the entity.
Turrets, however, don't have that property. The alt-mode ammo icon is drawn centred on the selection box no matter what. Depending on your sprite design and the direction the turret is facing, it can be drawn over the muzzle and the firing animations.
It would be Nice To Have if we could shift the icon down onto the base of the turrets, so that it doesn't interfere with firing animations.
Entities in the crafting machine hierarchy have the entity_info_icon_shift parameter, which gives you control over where the alt-mode recipe icons are positioned relative to the selection box for the entity.
Turrets, however, don't have that property. The alt-mode ammo icon is drawn centred on the selection box no matter what. Depending on your sprite design and the direction the turret is facing, it can be drawn over the muzzle and the firing animations.
It would be Nice To Have if we could shift the icon down onto the base of the turrets, so that it doesn't interfere with firing animations.