Page 1 of 1

Max height? (FAQ)

Posted: Wed Dec 19, 2007 5:54 pm
by NullCommando
Edit this in your .lua:

Code: Select all

   SetMaxFlyHeight(40)
	SetMaxPlayerFlyHeight(40)
To any number for example:

Code: Select all

   SetMaxFlyHeight(900)
	SetMaxPlayerFlyHeight(900)
Battlefront II Mission LUA Guide.doc wrote:These next two lines set the max flyheight for the level. This prevents units like jet troopers and jedi from jumping over walls, and getting out of the world, or getting on top of buildings that they should not be able to get on top of. The playerflyheight is for the player, and the maxflyheight is for other units.

SetMaxFlyHeight(30)
SetMaxPlayerFlyHeight (30)

Re: max height

Posted: Wed Dec 19, 2007 5:57 pm
by Taivyx
Just to clarify, that's in your data_***/common/scripts/*** folder, whichever .lua file for whichever gamemode you're editing

Re: max height

Posted: Wed Dec 19, 2007 6:07 pm
by plokoon761
alright, thanx ill try that

EDIT
alright, its munging now. but I have 1 more question. can u bring the max height to anything u want? or is there a limit

Re: max height

Posted: Wed Dec 19, 2007 6:52 pm
by [RDH]Zerted
You're going to want a limit. Theres no reason to allow players to move up for 5 minutes. Thats really high. I've tried 3600 before and never reached the top.

Re: max height

Posted: Wed Dec 19, 2007 7:08 pm
by plokoon761
lol k, I wont go anywhere near 1000

Re: max height

Posted: Wed Dec 19, 2007 7:45 pm
by Fingerfood
In ZeroEditor, it only allows for you to edit the terrain up to 365 (approximately) but how did in Boras 2, Dann created that HUGE valley on the right side. How do you edit the height for ZeroEditor?

Re: max height

Posted: Thu Dec 20, 2007 8:17 pm
by Darth_Z13
Try lowering the height (right click and hold) and then raising the area around the hole.