Epoch ship has improper waterline value
Moderator: Content Developer
Epoch ship has improper waterline value
In aseadragon.fbi waterline = 5, while according to movedef min water depth is 15. Fortunately engine clever updates "waterline" value.
Re: Epoch ship has improper waterline value
Isnt waterline how deep the ship sinks into water, while mindepth is the shallowest water it can cross?
Re: Epoch ship has improper waterline value
I thought "waterline" is connected with "floater" so unit does not sink.
Hm, then how can you explain why engine updates waterline from 5 to 15?
Hm, then how can you explain why engine updates waterline from 5 to 15?
Re: Epoch ship has improper waterline value
not sure, found this
https://github.com/spring/spring/blob/m ... Loader.cpp
Code: Select all
if (ud->floater) {
// restrict our depth to our waterline
unit->pos.y = std::max(-ud->waterline, ground->GetHeightReal(unit->pos.x, unit->pos.z));
} else {
unit->pos.y = ground->GetHeightReal(unit->pos.x, unit->pos.z);
}