Page 1 of 1
Aircraft hover distance mechanics
Posted: 07 Aug 2013, 09:56
by REVENGE
Hovering aircraft (in particular) seem to set their hover distance based on nearby terrain height. Can we have added control over this mechanic to allow aircraft to hover closer to the terrain directly underneath them? The speed of adjustment for the hovering height would preferably also be a setting.
Re: Aircraft hover distance mechanics
Posted: 07 Aug 2013, 17:56
by smoth
cruiseAlt = 10,
Re: Aircraft hover distance mechanics
Posted: 09 Aug 2013, 18:37
by Google_Frog
"Hover distance based on nearby terrain" makes me think that these aircraft are using smoothmesh.
Re: Aircraft hover distance mechanics
Posted: 09 Aug 2013, 18:39
by smoth
They are which is why we run into aircraft foing into terrain iirc
Re: Aircraft hover distance mechanics
Posted: 09 Aug 2013, 20:21
by knorke
aircraft use smoothmesh so that do
not foing into terrain.
unless you disable it for that unit: useSmoothMesh=false
http://springrts.com/wiki/Units-UnitDefs#Aircraft
Re: Aircraft hover distance mechanics
Posted: 10 Aug 2013, 09:34
by hoijui
smooth mesh is not here to prevent aircraft from flying into the terrain, but to make their movement less jerky/unrealistic at cliffs. it did infact cause aircraft to bump into terrain (might be fixed now, might not). it happened for example on that map with the north-south river with huge cliffs and lots of teleports to beam east<->west.
Re: Aircraft hover distance mechanics
Posted: 10 Aug 2013, 10:47
by knorke
"flying into [steep] terrain" qualifies as "jerky/unrealistic at cliffs" imo.
From before there was airmesh thing I vaguely remember aircraft bouncing from cliffs very often.
So tested a bit with xta's core_shadow on "Castles" map: I was expecting the plane with disabled usesmoothmesh to run into the walls more often, but actually did not seem to make any difference in behaviour?
Re: Aircraft hover distance mechanics
Posted: 10 Aug 2013, 18:29
by Beherith
Castles isnt steep, try tabula penishills.
Re: Aircraft hover distance mechanics
Posted: 10 Aug 2013, 18:42
by Silentwings
Or the pillars the back of Industrial Revolution,although it is a bit ridiculous to expect aircraft to always avoid those.
Re: Aircraft hover distance mechanics
Posted: 10 Aug 2013, 18:43
by smoth
Northern Mountains the dividing hill I have seen units frequently clip through the huge center mountain of that map.
Re: Aircraft hover distance mechanics
Posted: 16 Aug 2013, 12:02
by REVENGE
Thank you all for the helpful replies, I apologize for not taking a close look at the source code beforehand.