Change aircraft cruisealt (or lock it to a height) on a map
Moderator: Moderators
Change aircraft cruisealt (or lock it to a height) on a map
Hi guys, Im wondering if its possible on a map to make the aircraft not go below a certain height. The heightmap has insanely steep and deep cliffs separating the land masses, and I dont want aircraft to go low and crash into cliffs and behave bad.
Re: Change aircraft cruisealt (or lock it to a height) on a map
or clip through the cliffs :\.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Change aircraft cruisealt (or lock it to a height) on a map
Umm there is some variable that was added to control aircraft ascension and descent speed, you could set that to a super high number. Additionally, if the plane has maxaccel=0.3; it should deal with them pretty well, but if you're making this map for BA, fogeddaboudit.
Sry :-/
Sry :-/
Re: Change aircraft cruisealt (or lock it to a height) on a map
they will still clip into terrain on aproach. It also fucks with bombing runs etc... I wish we could set a true level of flight.
Re: Change aircraft cruisealt (or lock it to a height) on a map
Better solution would be to be able to define "(3D) playable area(s)" on a map, everything else would be for decoration only.
f.e. making hills in the background etc.
f.e. making hills in the background etc.
Re: Change aircraft cruisealt (or lock it to a height) on a map
Planes can still get off-map, on purpose or accidentally, and if the height differene is big enough they cannot be shot while there and can bug when coming out.Regret wrote:Better solution would be to be able to define "(3D) playable area(s)" on a map, everything else would be for decoration only.
f.e. making hills in the background etc.
Re: Change aircraft cruisealt (or lock it to a height) on a map
I don't understand, more details please.Regret wrote:Better solution would be to be able to define "(3D) playable area(s)" on a map, everything else would be for decoration only.
f.e. making hills in the background etc.
Re: Change aircraft cruisealt (or lock it to a height) on a map
Units being able to exist only in given area of the map, everything else is treated as non-playable, as in beyond the map edge.smoth wrote:I don't understand, more details please.
Re: Change aircraft cruisealt (or lock it to a height) on a map
planes already can fly outside of the map in certain situations so wouldn't really help...Regret wrote:Units being able to exist only in given area of the map, everything else is treated as non-playable, as in beyond the map edge.smoth wrote:I don't understand, more details please.
Re: Change aircraft cruisealt (or lock it to a height) on a map
there is a modinfo tag to disallow planes to leave the map
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
Re: Change aircraft cruisealt (or lock it to a height) on a map
can't engine airplane flight behaviour be changed instead to "look ahead" along direction of order, look for max height + some constant ( cruise altitude? ) and make an interpolation from current position so it starts raising altitude from far distance rather than after literally colliding with the hill?
Re: Change aircraft cruisealt (or lock it to a height) on a map
What you do when the plane changes direction. or is given 10 confusing destination orders.
Re: Change aircraft cruisealt (or lock it to a height) on a map
Goddamn forum ate my post again, so here goes.
Take a look at the gadget in my map TMA-0, it has an allowcommand callin, which disallows giving commands outside the asteroid boundaries, its extremely simple and highly customizable for all kinds of weird map shapes. For most purposes its as good as defining an arbitrary shape for the map (how it would handle concave shapes is left as an exercise for the reader).
Actually, I will be using that as well, since I realized that I'm only going to be realistically get surround meshes on my maps if I make the map itself bigger, and restrict the camera and the command able area.
I definitely have to touch the camera, since scrolling and having the view drop into 2000 elmos deep chasms is probably very annoying.
Take a look at the gadget in my map TMA-0, it has an allowcommand callin, which disallows giving commands outside the asteroid boundaries, its extremely simple and highly customizable for all kinds of weird map shapes. For most purposes its as good as defining an arbitrary shape for the map (how it would handle concave shapes is left as an exercise for the reader).
Actually, I will be using that as well, since I realized that I'm only going to be realistically get surround meshes on my maps if I make the map itself bigger, and restrict the camera and the command able area.
I definitely have to touch the camera, since scrolling and having the view drop into 2000 elmos deep chasms is probably very annoying.
Re: Change aircraft cruisealt (or lock it to a height) on a map
Map touching camera???? Are you crazy?Beherith wrote:I definitely have to touch the camera, since scrolling and having the view drop into 2000 elmos deep chasms is probably very annoying.
Re: Change aircraft cruisealt (or lock it to a height) on a map
Its a general camera fault, one he should never have had to think about.