Height of map not munging. PLEASE HELP!

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
WildEncounters
Recruit Womprat Killer
Posts: 9
Joined: Thu Mar 17, 2016 1:28 pm
Projects :: Open for Fire pack [Working Title]
xbox live or psn: No gamertag set

Height of map not munging. PLEASE HELP!

Post 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
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: Height of map not munging. PLEASE HELP!

Post by jedimoose32 »

So the objects are in the right spot but the terrain height is incorrect?
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Height of map not munging. PLEASE HELP!

Post 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?
WildEncounters
Recruit Womprat Killer
Posts: 9
Joined: Thu Mar 17, 2016 1:28 pm
Projects :: Open for Fire pack [Working Title]
xbox live or psn: No gamertag set

Re: Height of map not munging. PLEASE HELP!

Post 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.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Height of map not munging. PLEASE HELP!

Post 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.
WildEncounters
Recruit Womprat Killer
Posts: 9
Joined: Thu Mar 17, 2016 1:28 pm
Projects :: Open for Fire pack [Working Title]
xbox live or psn: No gamertag set

Re: Height of map not munging. PLEASE HELP!

Post 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.
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: Height of map not munging. PLEASE HELP!

Post 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.
Post Reply