Page 1 of 1

underwater/floating structure build outline lua script

Posted: 13 Aug 2007, 17:26
by hunterw
i had a good idea last night

there should be two green build outlines when placing floating or underwater buildings - one on the water surface and one on the sea floor

i would have this turned on all of the time, and would go so far as to say include it with spring and have it turned on by default

Posted: 13 Aug 2007, 17:39
by imbaczek
that is a good idea, yes. +1.

Posted: 13 Aug 2007, 18:13
by espylaub
Makes a lot of sense!

Posted: 13 Aug 2007, 18:15
by trepan
Ya, i like the idea as well, here's what I plan to commit...
(it's an engine modification, forgoing the lua)

Image

P.S. Ignore the fact that the tidal generator doesn't float ;-)

Posted: 13 Aug 2007, 19:35
by Lippy
trepan wrote:Ya, i like the idea as well, here's what I plan to commit...
(it's an engine modification, forgoing the lua)

Image

P.S. Ignore the fact that the tidal generator doesn't float ;-)
That looks great!

Posted: 13 Aug 2007, 20:09
by trepan
I've also written gui_water_lines.lua that shows the
same kind of lines for units that you have selected.

http://trepan.bzflag.bz/spring/gui_water_lines.lua

P.S. I also have the water lines built into the queued build squares in
my source files (I can't commit the relevant files in their current state).

Posted: 15 Aug 2007, 19:18
by hunterw
awesome!!!!!!

<3 trepan