How can I increase the maps height barrier limit? [Solved]

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
Hunted_One

How can I increase the maps height barrier limit? [Solved]

Post by Hunted_One »

Hi, what I need to know is how to make the barrier in the sky that's automatically there allow me to go higher. You know, that troublesome thing when you build terrain that stops you from jumping some ways up? That kills you if you jump if you're too far up? Yeah, so I need to know how to make that go higher up. I have a big hill which has this debilitating problem. Thanks if you can tell me how. I know it's possible...

-Penguin_Unit
Carth

RE: Fly/Unit/Vehicle/Other sky barrier limit increase?

Post by Carth »

Yeah it IS possible!

You only have to change 2 lines in your Lua:
SetMaxFlyHeight(100)
SetMaxPlayerFlyHeight(100)
The normal value is 40 meters and you can set up the limit as high as you want! Do this in every lua of your map!

Carth
Hunted_One

Post by Hunted_One »

Dude...THANK YOU!!!
Post Reply