I have a question about air units. Are they locked to a two-dimensional grid, and thus unable to change altitude unless they move to higher ground? Or are they simply programmed at a set altitude which can be changed? I'm asking because I'm really interested in TPS maps, and I'm wondering if it's possible to make it so that air units can move in three dimensions.
Please dont reply with one-liner, or in this case one-video-er. He's probably screaming how the @#$% I do that.
Regarding the question the air unit is programmed to behave like that by default for game perspective reasons. You could possibly slightly alter the fly mover that most air unit uses to fix it. Or make a new mover for your unit. It should be ignore terrain or smt like that
It's "Ignore Terrain Height", a flag in the unit data. When you check this flag, the unit stays at the height defined in its "UI - Height" field.
You can modify the unit height ingame using triggers though, with the "Change Unit Height" event. It sets a new altitude to the unit, using interpolation.
Funny fact: With this event you can change the height of any unit, even those on the ground... Which is pretty good when you want a basic trigger-based jump ability for a ground unit.
I have a question about air units. Are they locked to a two-dimensional grid, and thus unable to change altitude unless they move to higher ground? Or are they simply programmed at a set altitude which can be changed? I'm asking because I'm really interested in TPS maps, and I'm wondering if it's possible to make it so that air units can move in three dimensions.
@OutsiderXE: Go
Please dont reply with one-liner, or in this case one-video-er. He's probably screaming how the @#$% I do that.
Regarding the question the air unit is programmed to behave like that by default for game perspective reasons. You could possibly slightly alter the fly mover that most air unit uses to fix it. Or make a new mover for your unit. It should be ignore terrain or smt like that
It's "Ignore Terrain Height", a flag in the unit data. When you check this flag, the unit stays at the height defined in its "UI - Height" field. You can modify the unit height ingame using triggers though, with the "Change Unit Height" event. It sets a new altitude to the unit, using interpolation.
Funny fact: With this event you can change the height of any unit, even those on the ground... Which is pretty good when you want a basic trigger-based jump ability for a ground unit.