Height boundaries

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
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Height boundaries

Post by Elmo »

How do I make the height boundaries of a map... higher?! Since I'm making a mountain map this is important :wink: :lol:
fat_walrus

RE: Height boundaries

Post by fat_walrus »

I believe boundaries extend forever each direction. Unless they dont you might be able increase their height by raising the terrain with a read-only .ter fileor somehow moving the node height.
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

Ok, should I listen to your PM or previous post?
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

Post by PvtParts »

You mean height boundary as in ceiling? You change the number in your lua. It'll be about mid way down, above the jedi combo stuff (which is right above the unit setup). Its like PlayerMaxHeight (X) and MaxHeight (X). The default is 40 I think. If you dont have any flyers on your map you can set it something really high. If you do, you may want to make sure that you cannot see the edges of your terrain when in a flyer at a given height.

Also, just incase you dont know already, the Player prefixed settings apply to you, whereas the unmarked ones apply to AI in general. This is useful if you want to be able to fly up and around, but want your ai flyers to remain down towards a select area.
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

PvtParts wrote:You mean height boundary as in ceiling? You change the number in your lua. It'll be about mid way down, above the jedi combo stuff (which is right above the unit setup). Its like PlayerMaxHeight (X) and MaxHeight (X). The default is 40 I think. If you dont have any flyers on your map you can set it something really high. If you do, you may want to make sure that you cannot see the edges of your terrain when in a flyer at a given height.

Also, just incase you dont know already, the Player prefixed settings apply to you, whereas the unmarked ones apply to AI in general. This is useful if you want to be able to fly up and around, but want your ai flyers to remain down towards a select area.
Where is the LUA?
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

Post by PvtParts »

data_modid\Common\Scripts\modid_era.lua

modid being 3 letter mod name, era being g for galactic civil war or c for clone wars

I absolutly need to say this, read the documentation. You have no idea how much it helps and how many clowns think they are saving time by not reading it.
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

PvtParts wrote:data_modid\Common\Scripts\modid_era.lua

modid being 3 letter mod name, era being g for galactic civil war or c for clone wars

I absolutly need to say this, read the documentation. You have no idea how much it helps and how many clowns think they are saving time by not reading it.
Which doc?
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

Post by PvtParts »

In the BF mod tools folder there should be a folder named documentation. This is a very good resource. Start with getting started, and from there just go by what you need.
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

Ok, I mean I;ve read a lot of the docs including the getting started one but they didnt make very much sense :lol: Jk. I didnt understand a few things.
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

Post by PvtParts »

Yeah. Its fine if you dont understand, in which case feel free to ask. But so many people claim they don't when they are just too lazy to put a bit of time into it and read it thoroughly.

I'd say read it again (haha) and then, ask away.
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

yes yes of course :wink:
fat_walrus

Post by fat_walrus »

If you take a look at your LUA it has some fun stuff in it you can mess around with (unless you mess up then you die)
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Post by DarthD.U.C.K. »

If you edit the lua, you should work wth a professionaly editor, because there are errors in the mungelog like wrong simbol in line xxx its boring to count the lines.
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

DarthD.U.C.K. wrote:If you edit the lua, you should work wth a professionaly editor, because there are errors in the mungelog like wrong simbol in line xxx its boring to count the lines.
Huh? :?

Edit: Just incase you were wondering. the problem was solved quite a while ago :P What are you saying though?
Post Reply