Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: ARSPR on April 25, 2007, 04:07:44 pm

Title: How does $Detail Distance works? (Possible SCP bug?)
Post by: ARSPR on April 25, 2007, 04:07:44 pm
Hi, I'm actually testing DaBrain's new Vp set and GTA Charybdis has an error which makes it quite useful to easily check $Detail Distance (in ships.tbl). The error is that LOD 1 has lost the radar array but it is present in LOD0 and LOD2, so it is obvious when you have LOD changes.

I've added this small mv_GTATest-shp.tbm:

Code: [Select]
#Ship Classes
$Name: GTA Charybdis
$Detail distance: (0, 50, 1000, 3500)
#END

But I can assure you that the change between LOD0 and LOD1 happens at a distance of about 400 m and when I'm 2700 m far from it, I still see LOD1.

(I'm using official 3.6.9. with all quality settings at maximum)

Can someone explain me what's happening?

Thanks in advance.
Title: Re: How does $Detail Distance works? (Possible SCP bug?)
Post by: Col. Fishguts on April 25, 2007, 04:31:07 pm
The LOD distances in the table refer to medium (IIRC) "model detail" settings. If you increase the detail setting, the values will get multiplied with some factor >1, if you decrease the setting the multiplier becomes <1.

So no bug, it actually is a feature.
Title: Re: How does $Detail Distance works? (Possible SCP bug?)
Post by: ARSPR on April 26, 2007, 02:01:18 am
Could a coder post the multipliers? I would like to add them to wiki.
Title: Re: How does $Detail Distance works? (Possible SCP bug?)
Post by: ARSPR on May 03, 2007, 01:46:33 pm
*Small bump*

Any help please?