Object visibility problem

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
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Object visibility problem

Post by SkinnyODST »

I placed this Venator prop in my world which is broken up into 4 different sections.
Hidden/Spoiler:
Image
I forgot where I got it but the problem I have is that 3 out of the 4 parts disappear after a very short distance. The only part that doesn`t is the front right part. That one I can see from far away, but because all the others have a really low visibility distance, that part is the only one visible. I`ve tried altering the scene range in my world`s SKY file but that didn`t change a thing. How do I fix this?
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Object visibility problem

Post by Oceans14 »

Check to see if each mesh has a .option associated with it. You can change the lowrez behaviors by adding -lodgroup largemodel and -lodbias (number). Play around with the options till you find one tthat suits your fancy. https://sites.google.com/site/swbf2modt ... umentation
Read the section called parameters for msh.option files and also keep in mind that these values won't matter if the mesh has no lowrez.
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Object visibility problem

Post by SkinnyODST »

They only have msh files. Nothing else.
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Object visibility problem

Post by Oceans14 »

They're simple enough to create. Just make a new text file and rename it to whatever.msh.option, or if you're lazy like me just copy one from somewhere else and rename it (making sure it isn't a tga.option of course).
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Object visibility problem

Post by SkinnyODST »

Alright done. I`m looking at that documentation you gave me on them. I found the right parts you want me to look at, I just have no idea how to set them out.
-lodgroup <string> where do I place the numbers and do I keep the "<string>" part?
-lodbias <float> same as above. Do I keep the "<float>" part?
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Object visibility problem

Post by Oceans14 »

Nope, those just mean you replace them with your data. "String" is the programming term for text like this, and "float" is a number with a decimal point like 3.0 or whatever. So you would want to set up the lodbias line with a decimal. Set up lodgroup with the name of the group of your choosing (given your situation, I'd go with huge model).

Code: Select all

-lodgroup hugemodel
-lodbias 5.0
I recommend you try these one by one though, that way if something acts up it'll be easier to figure out what is causing it.
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Object visibility problem

Post by SkinnyODST »

I`ve been messing around with them. I don`t see any differences. Also sorry for late reply
Post Reply