b_o wrote:I would like to be able to get away from the usual size of naval units, and have larger ones. Not mere rafts, but large boats where only part of them would be boardable, a mid-section for example, so that the boat would have to face the shore sideways or a dock sideways to be boardable. I realize that is perhaps too complicated at the moment, but I was also thinking that even if those kinds of boats couldn't be made, if there were moving platforms, puzzle elements of games like Zelda could be implemented.
Puzzle elements like that could be pretty nice. Having rafts would also allow island maps and the like to be played even without sea units, or allow attacks at a lower technological level (for instance, if workers could build a raft on the shore without a shipyard being necessary). If it is possible to get a 1x1 raft working, I think it is conceivable that ships functioning like you mentioned could be made possible code-wise. I personally prefer smaller boats, but I think it would be nice if the engine allowed what you want.
I suppose a new animation code for platform movement could be added and used by all units of the same size, so that the unit movement is not animated, but then there is the issue of keeping the movement in the same formation during movement and rotation, which wouldn't seem to be a problem if the platform was only one tile.
I don't think a new animation would be needed; the units wouldn't be "moving" in the traditional sense, I imagine they would be using their idle animation, while their position moves at the same rate as the raft. Maintaining the same formation would indeed be more complicated, but by how much it is difficult to tell before trying to get the raft to work in practice.
But it wouldn't account for the ability of the units in War Diary to attack while the platform is moving.
If the units were standing on the raft as if it were a tile, then they should be able to attack other units without issues. I imagine it would be best if rafts were only "movable" if a unit were on them (the raft's selection box could be 48x48 or something else slightly larger than 32x32, so that it is possible to select it without much difficulty when the unit is on top of it).
The ideas I'm saying here are nevertheless conjectural though, there might be some stumbling block which could make this feature harder to implement than I imagine.