The Game Modding Community - Since 2001

LOD models not working?

A Forum Thread for Garry's Mod

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"
}
Promotional Content

Posts

None found

Embed

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

Author

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

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 1,013 Views
  • 0 Posts
  • 11mo Submitted

Attention Gamer! Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Sound fun? Sign up now!

Already a Bananite? Login

bcp.crwdcntrl.net tracking pixel