LOD models not working?

A Forum Thread for Garry's Mod

Hey, you! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending riffingray points.
  • Post: Give riffingray your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Resistance is futile...

Sign up

Already a Bananite? Login

I'm new to GameBanana, so if this is a noob question or in the wrong area, I'm very sorry. I searched around, but couldn't find an answer.

Basically, I'm trying to make a prop for Gmod, just to learn how. Everything was working fine, until I tried to add a LOD model to help with optimization. Now, no matter the distance I am from the model, it always shows up as the LOD instead of the reference.

So far, I have tried:
  • Increasing/decreasing the LOD distance. No change.
  • Loading the model in the Source engine model viewer. Model displays as it should here.
  • Messing with r_lod in the console. It was on -1 when I started, setting it to 0 and restarting made no difference. No other values have had any effect, either.
  • Messing with r_LodTransitionDistance. No effect no matter the value given.
  • Adding and removing the file extensions in the $lod command. Didn't make a difference.

I have no clue what I'm doing wrong. From what I can tell, no other models are having this issue, so it has to be something I'm doing wrong on my end. I'm using Crowbar 0.42 to compile, and I'm on Windows 10, if it makes any difference.

Here is the QC file. Any help would be greatly appreciated.

$modelname    "props\test_sign.mdl"

$scale 45

$body main    "Sign_Main.smd"
$surfaceprop    combine_metal
$cdmaterials    "models\props\test_sign"

$sequence idle    "anims\Sign_action.smd"

$collisionmodel    "Sign_Lod.smd"
{
    $concave
    $mass 200
}

$lod "20"
{
    replacemodel "Sign_Main" "Sign_Lod"
    replacematerial "SignMetal" "SignMetalLod"
}

Posts

None found

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Submitter

riffingray avatar
riffingray Offline
Member Joined 5mo

riffingray
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Stats

Posts
0
Views
591
Date Added
5mo

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
bcp.crwdcntrl.net tracking pixel