Jump to content

Set distance Lod


Gard
 Share

Recommended Posts

In the way the script is written, no the sound key in the ini file is not being used. It could have been if the object keys had been set for it inside the script. But if you open the properties dialog for the oildrum, you will see that the mass is being set by the ini file.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

I see the file: "Models\Vegetation\Trees\Beech\tree_beech_a.ini", and change the parameters "LODDistance="20 140"", but i had no results..

 

omid3098: i can't view this link, because, i'm the group Members. I still do not have the license..

Link to comment
Share on other sites

oops.. I didn't see your Group.. sorry.

you can't define LOD distance using .ini files.. and what you find in trees was for previous versions that didn't changed yet.(don't take them serious!)

and that link was consist of what Mack said. ;)

Omid Saadat

OD Arts Blog

 

AMD Phenom II X4 940 - Geforce 8800GTS - 4GB RAM - XP x86

AMD 6000+ - Geforce 9800 GT - 2GB RAM - XP x86 (Home pc)

Intel Core i7 - Geforce 310M - 4GB Ram - Win7 x64 (Laptop)

Link to comment
Share on other sites

In the way the script is written, no the sound key in the ini file is not being used. It could have been if the object keys had been set for it inside the script. But if you open the properties dialog for the oildrum, you will see that the mass is being set by the ini file.

So is this automatic or does the script have to open the ini file?

I can't find anything in the wiki about how the engine treats ini files.

Intel Core i7 975 @ 3.33GHz, 6GB ram, GTX 560 Super OC, Windows 7 Pro 64bit

Link to comment
Share on other sites

I use ini files to store values for Lua properties. like mass and collision type.

by using oildrum.lua as a template and set parameters in .ini file (from oildrum.ini!). I don't need to set them for each model when I reopen my scene.

 

Is it possible to define default values in mymodel.lua? (I know you guys are not here to teach me Lua, so please link me to one of available models in SDK)

Omid Saadat

OD Arts Blog

 

AMD Phenom II X4 940 - Geforce 8800GTS - 4GB RAM - XP x86

AMD 6000+ - Geforce 9800 GT - 2GB RAM - XP x86 (Home pc)

Intel Core i7 - Geforce 310M - 4GB Ram - Win7 x64 (Laptop)

Link to comment
Share on other sites

Is it possible to define default values in mymodel.lua? (I know you guys are not here to teach me Lua, so please link me to one of available models in SDK)

I'd assume so, the lua script can still call get and setkey

Intel Core i7 975 @ 3.33GHz, 6GB ram, GTX 560 Super OC, Windows 7 Pro 64bit

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...