[kovarex] [0.15.35] Non-square assemblers rotate strangely

This subforum contains all the issues which we already resolved.

[kovarex] [0.15.35] Non-square assemblers rotate strangely

Postby Hexicube » Wed Oct 11, 2017 3:16 pm

There's a number of different things going on with assemblers and rotations, which become exposed when an attempt is made to create non-square ones:
  • The selection box never rotates
  • The collision box always rotates
  • The north sprite is always used for creating new assemblers without always-visible fluid boxes (however, an empty list of fluid boxes tricks it into using rotations)
  • An already placed assembler remembers the direction of the sprite that it got when it was placed, even if that is now impossible (such as when a mod updates)
The first two alone make it impossible to create a non-square assembling machine, since the selection box will be inaccurate for at least two of the four rotations.

One of the two should happen:
  • Collision boxes should never rotate, so that non-square assemblers act like rocket silos in that they have a fixed rotation
  • Selection boxes should always rotate and direction sprites should always be used, so that non-square assemblers can always rotate

The attached mod demonstrates the issue:
  • The battery charger machine is a non-square assembler (6x4)
  • Using an empty fluid box list it has been tricked into using rotation graphics, and the collision box also rotates, but the selection box does not
  • If the empty fluid box list is removed it only uses the north graphic, but the collision box still rotates
  • There is no way to disable collision rotation or enable selection rotation
Attachments
Hexi_Recharging_Batteries_0.1.0.zip
(263.35 KiB) Downloaded 5 times
Hexicube
Fast Inserter
Fast Inserter
 
Posts: 165
Joined: Wed Feb 24, 2016 9:50 pm

Re: [kovarex] [0.15.35] Non-square assemblers rotate strangely

Postby kovarex » Mon Dec 11, 2017 7:22 pm

I fixed for 0.16:
  • Selection box of crafting machine was never rotated based on direction
  • Non-square bounding box was not considered to be a reason for assembling machine to be rotatable
  • Non-square bounding box was not disallowing rotation once build.

I hope it helps.
kovarex
Factorio Staff
Factorio Staff
 
Posts: 6467
Joined: Wed Feb 06, 2013 12:00 am
Location: Prague


Return to Resolved Problems and Bugs

Who is online

Users browsing this forum: Google [Bot], impetus maximus, Loewchen and 4 guests