Page 1 of 1

Fly height / heightlimits

Posted: Mon Mar 17, 2008 12:00 pm
by Zeddix
Hello Guys

I have a Problem with the fly height or heightlimits.
I have made map with very heigh hills and the soliders cannot get over the hills.
They get pusched down.

So how can i raise the Fly height or heightlimits?

Thanks in advance.

Zeddix

Re: Fly height / heightlimits

Posted: Mon Mar 17, 2008 1:14 pm
by tsurugi13
Look in the lua for the max flyer height lines, then make them what ever you want.

Re: Fly height / heightlimits

Posted: Mon Mar 17, 2008 3:03 pm
by wazmol
SetMaxFlyHeight(20)
SetMaxPlayerFlyHeight (20)
Change to
SetMaxFlyHeight(200)
SetMaxPlayerFlyHeight (200)
Or summin, to whatever you'd like, i set mine to 350 to be safe ;)

Re: Fly height / heightlimits

Posted: Mon Mar 17, 2008 3:45 pm
by Zeddix
Thanks for help! :thumbs:

First problem solved...
Next Problem, i made a very big Map, so maybe this might be the reason:
Either the terrain changes its position or the objects do, because ingame the objects changed their x or/and y coordinates. The regions, barriers and paths match with the objectpositions. But objects dont match with the terrainpositions.

Anybody knows this Problem?

seeking help
Zeddix ;)

P.s.: This problem doesnt appear by editing the SetMaxFlyHeight(20) or SetMaxPlayerFlyHeight (20).

Sry for bad english, please correct me ;).

Re: Fly height / heightlimits

Posted: Mon Mar 17, 2008 4:14 pm
by Teancum
The terrain must be a power of two:

128x128, 256x256, 512x512 etc.

If it's not you're gonna get all sorts of weird errors.

Re: Fly height / heightlimits

Posted: Mon Mar 17, 2008 8:07 pm
by elfie
you have to make the terrain bigger before you edit your map. My suggestion is to save your ingame objects as an obj and then reload them in a new map, or copy/ paste them to a new position.

Re: Fly height / heightlimits

Posted: Mon Mar 17, 2008 11:03 pm
by woner11
Placing objects and then editing your map size is a big no no. :)

Re: Fly height / heightlimits

Posted: Wed Mar 19, 2008 12:38 pm
by adventfear
Here is a linky that will answer that question, Zeddix.

http://www.gametoast.com/forums/viewtop ... 27&t=12147

Re: Fly height / heightlimits

Posted: Wed Mar 19, 2008 1:52 pm
by Zeddix
Thank you.

I guess miss it in the search. ;)