Page 1 of 1
Height of map not munging. PLEASE HELP!
Posted: Sat Apr 02, 2016 8:22 pm
by WildEncounters
My map has a lot of hills with objects on them. I don't know what is happening but it is really annoying. PLEASE HELP. I CAN DO ANYTHING. THIS HAPPENS WITH ALL MY MAPS
Re: Height of map not munging. PLEASE HELP!
Posted: Sat Apr 02, 2016 11:25 pm
by jedimoose32
So the objects are in the right spot but the terrain height is incorrect?
Re: Height of map not munging. PLEASE HELP!
Posted: Sun Apr 03, 2016 6:26 am
by thelegend
WildEncounters wrote:My map has a lot of hills with objects on them. I don't know what is happening but it is really annoying. PLEASE HELP. I CAN DO ANYTHING. THIS HAPPENS WITH ALL MY MAPS
I am not sure what your problem is. You say your map has hills and (you probably) placed objects onto them? Trying to figure out by reading the title the map height has not been changed through your .lua by editing these lines..?:
Code: Select all
SetMaxFlyHeight(300)
SetMaxPlayerFlyHeight (300)
Did you munge your Script with Common checked?
Re: Height of map not munging. PLEASE HELP!
Posted: Sun Apr 03, 2016 9:00 am
by WildEncounters
So the objects are in the right place yes. but the height of the map is not there. Here, is a screen shot of my BF2 Modtools ingame. BTW, yes i do munge with common selected because I change the side and add characters.
https://www.mediafire.com/?l8b4ll7ymhii16q
EDIT
P.S, I did the Fly height in both of the lua files I have in (Common, Scipts, ***) and it didn't do anything. Just makes the vehicles go up higher.
Re: Height of map not munging. PLEASE HELP!
Posted: Sun Apr 03, 2016 9:24 am
by thelegend
Seems your terrain doesn't follow the "power of two" rule. If you create a new terrain (Making it smaller or bigger) you always have to choose these lenghts:
64x64, 128x128, 256x256, 512x512, 1024x1024...etc..I recommend not going increasing the size more than 1024 for each side. You need to recreate the terrain in order to change it's sizes.
Re: Height of map not munging. PLEASE HELP!
Posted: Sun Apr 03, 2016 9:48 am
by WildEncounters
Oh so in ZE When I go to terrain and make new terrain I have too choose one of those lengths? I will go try it.
Re: Height of map not munging. PLEASE HELP!
Posted: Sun Apr 03, 2016 10:06 am
by jedimoose32
Yep, that is most likely your problem. When in doubt, and you're creating something (texture, terrain, something else), make the dimensions powers of 2. I can't think of anything aside from textures and terrain right now but it's a good rule to try and remember.