Fly height / heightlimits

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Zeddix

Fly height / heightlimits

Post 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
User avatar
tsurugi13
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Mon Dec 17, 2007 6:16 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Battling the ISA menace on Helghan.

Re: Fly height / heightlimits

Post by tsurugi13 »

Look in the lua for the max flyer height lines, then make them what ever you want.
wazmol
High General
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

Re: Fly height / heightlimits

Post 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 ;)
Zeddix

Re: Fly height / heightlimits

Post 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 ;).
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Fly height / heightlimits

Post 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.
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: Fly height / heightlimits

Post 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.
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The lost world of pickels
Contact:

Re: Fly height / heightlimits

Post by woner11 »

Placing objects and then editing your map size is a big no no. :)
adventfear
Rebel Sergeant
Rebel Sergeant
Posts: 199
Joined: Fri Feb 29, 2008 3:46 pm

Re: Fly height / heightlimits

Post by adventfear »

Here is a linky that will answer that question, Zeddix.

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

Re: Fly height / heightlimits

Post by Zeddix »

Thank you.

I guess miss it in the search. ;)
Post Reply