Jump to content

Increase enginesetlodmodel


Krox

Recommended Posts

Hey Community,

today i replaced a LOD Model to a another Object.

The Problem now is, that when i have a "no" texture on this Building, i can see it from very far away.

But when i apply the texture, it dissapers from 300 Meters when the LOD Model is loaded.

But why the Building is visible from very far away without texture?

i know, its maybe bcs enginesetlodmodel.

And i think 300 is the max.

But is there not any trick to increase them?

Thanks in Advance.

Link to comment

All you have to do is

  
local id,x,y,z,xr,yr,zr = --- Put id, x,y,z, and rotation here 
local object =  createObject (id,x,y,z,xr,yr,zr) 
local lowobject =  createObject (id,x,y,z,xr,yr,zr,true) 
setLowLODElement (object ,lowobject ) 
engineSetModelLODDistance (id,170)  

If you want to put lots of object with low lods, I'd recommend you using 1.6 nightly.

- Will help some but you will still need a decent loading system

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...