Muushy / Sprocket-Feedback

Report bugs or suggest features for Sprocket.
4 stars 0 forks source link

Ammo rack alignment and grouping #674

Open goldloti2 opened 3 weeks ago

goldloti2 commented 3 weeks ago

Is your feature request related to a problem? Please describe. There are many different shapes of ammo racks, like those suggested in #259, but there are many more irregular shapes. Most of them can be seen as combinations of multiple simple shapes, which only need to be aligned and grouped together.

For example, this is one of the M41's ammo rack: image We can seperate it into 4 rectangular racks: image They just need to align to each other, maybe with some helps of some temporary racks, and marked as the same group, then an irregular rack is done.

Describe the solution you'd like I suggest two things here: alignment and grouping.

For alignment, ammo racks should be able to

  1. stick side-by-side
  2. align their bottom
  3. align their sides
  4. (optional) align their sides and offset by half of the ammo's diameter for a honeycomb rack

For grouping, ammo racks should be able to

  1. group as one piece
  2. select and drag as one piece
  3. single reload time

Additional context In 0.2.20, the size of an ammo rack can be freely adjusted, rather than being determined by the ammo count as in the old version. I think the old version’s approach was better for alignment; maybe you could consider it?

HomelessDumpster commented 3 weeks ago

Also, when scaling racks they should only extend to the side that I am pulling the arrow to. For example I scale forward so it should only extend forward and not also backwards which means we could allign it to the back of the tank correctly and then extend