More than 4 "rotations" of tiles
-
- Filter Inserter
- Posts: 302
- Joined: Fri Mar 18, 2016 4:34 pm
- Contact:
More than 4 "rotations" of tiles
While updating the Color Coding mod, I was trying to collapse all the colors of concrete into a single item that could be "rotated" to select all 10 of the colors, rather than 10 separate items. Would it be possible to allow more than 4 rotation states so we can rotate things in ways other than in physical space?
Re: More than 4 "rotations" of tiles
I would think that the way blueprint book works would make more sense.
Sadly, I'm not sure if it's possible to implement custom things that behave similarly.
Sadly, I'm not sure if it's possible to implement custom things that behave similarly.
-
- Filter Inserter
- Posts: 302
- Joined: Fri Mar 18, 2016 4:34 pm
- Contact:
Re: More than 4 "rotations" of tiles
Actually, yeah, I'd take a shift-scroll behavior too, but I'm guessing that would take more than a little scripting, and I was hoping to keep it as a prototypes-only mod, since that's *much* more future-proof.
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: More than 4 "rotations" of tiles
In theory, there are actually 8 rotations programmed into the game The player character is an example), it's just that only 4 of them are used for almost everything. (though, strictly speaking, certain objects like trains, and even biters have many more than just 8 rotations.)
-
- Filter Inserter
- Posts: 841
- Joined: Mon Sep 14, 2015 7:40 am
- Contact:
Re: More than 4 "rotations" of tiles
You could try setting the "building-direction-8-way" flag (as seen in data/base/prototypes/entity/entities.lua "straight-rail"). Might not work for tiles, though.