VStanced/mods
Submit a mod
Mods Guides Forum Submit a mod Log in Register

Forum

Questions, builds, help and the odd argument. The mods and guides are out front.

View distance at en...
 
Notifications
Clear all

View distance at engine components

5 Posts
2 Users
0 Reactions
3,652 Views
PXRZ
 PXRZ
(@pxrz_833)
Honorable Member
Joined: 16 years ago
Posts: 490
Topic starter   [#658]

How do I to make parts on an engine to be visible at a greater distance than say about only 2-10 metres at it´s best and then disappears when driving?



   
Quote
Holy_Shit_Man
(@holy_shit_man_3240)
Member Moderator
Joined: 14 years ago
Posts: 2251
 

I've specially checked it in some part's .cfg, and all I can say is:

They are controlled by lines like:

lods 3 0.001 1.000 2.000

#render		0x???????? ; ???
#lod 0 0 // lo-res

render		0x000000E7 ; V6_oil_pan
lod 1 1 // hi-res

render		0x00000021 ; V6_oil_pan
lod 2 2 // extr-hi-res

lods line defines amount of LOD meshes, and next values are distances from the part to load another (lower or higher quality) mesh.
render line defines mesh that is written in .rpk file.
lod defines the order of LOD mesh. I don't know why there are two values.



   
ReplyQuote
PXRZ
 PXRZ
(@pxrz_833)
Honorable Member
Joined: 16 years ago
Posts: 490
Topic starter  

I thought more of increasing the value of the same lod as the parts are already using only.



   
ReplyQuote
Holy_Shit_Man
(@holy_shit_man_3240)
Member Moderator
Joined: 14 years ago
Posts: 2251
 

Then I don't know how to, but you can always remove the LOD feature by simply removing the lod part, like this: Spoiler:

Vehicle importer wizard generated part configuration file

resource ID of this part: 0x000011A0

resource alias of this part: "transmission"

render 0x000011A1 //No LOD meshes here!
mesh 0x000011A2
click 0x000011A3

body 0.0 0.0 0.0 0.0 0.0 0.0 38.5 sphere 0.1
noclick
nocollision

category 1

slot 0.000 0.000 0.000 0.000 0.000 0.000 5 ; transmission_OUT
attach 0x000001A8 5 ; block->transmission_IN

eof



   
ReplyQuote
PXRZ
 PXRZ
(@pxrz_833)
Honorable Member
Joined: 16 years ago
Posts: 490
Topic starter  

# KeeJay :
Then I don't know how to, but you can always remove the LOD feature by simply removing the lod part, like this: Spoiler:

Vehicle importer wizard generated part configuration file

resource ID of this part: 0x000011A0

resource alias of this part: "transmission"

render 0x000011A1 //No LOD meshes here!
mesh 0x000011A2
click 0x000011A3

body 0.0 0.0 0.0 0.0 0.0 0.0 38.5 sphere 0.1
noclick
nocollision

category 1

slot 0.000 0.000 0.000 0.000 0.000 0.000 5 ; transmission_OUT
attach 0x000001A8 5 ; block->transmission_IN

eof

Already attempted that but the meshes disappears just because you happend to be too far away as in a few metres which I want it to be visible for a further distance also.



   
ReplyQuote
Share: