Go Back   Steam Users' Forums > Steam Tool Discussions > Source SDK General Discussion

Reply
 
Thread Tools Display Modes
Old 05-06-2012, 05:41 AM   #1
aln447
 
 
 
Join Date: Nov 2009
Reputation: 0
Posts: 44
Model not showing after compilation

I have a slight problem. After compiling the w_sniperrilfe (tf2, sniper primary weapon) the model doesn't show up in HLMV, faceposer or anywhere else.
Here is the cq:
Quote:
$modelname "weapons/ibuildthat/w_sniperrifle.mdl"
$model "w_sniperrifle.smd" "w_sniperrifle_reference.smd"
$body w_sniperrifle "w_sniperrifle_reference.smd"

$cdmaterials "models\weapons\w_sniperrifle\"

$hboxset "default"
$hbox 0 "weapon_bone" -3.382 -4.723 -17.661 4.976 17.184 45.925
// Model uses material "models/weapons/w_sniperrifle/w_sniperrifle01.vmt"
$attachment "muzzle" "weapon_bone" 0.00 3.77 45.82 rotate -90.00 -0.00 0.00
$surfaceprop "metal"
$illumposition -0.989 0.797 4.458

$sequence idle "idle" fps 30.00

$sequence 6th "6th" snap fps 30.00
I triple checked it and it and found no errors.
The reference model shows up properly in 3ds max.
Also, other models work accept this weapon.

What could go wrong?
aln447 is offline  
Reply With Quote
Old 05-08-2012, 07:20 AM   #2
spyshadow117
 
Join Date: Jul 2011
Reputation: 0
Posts: 74
did anything appear in
$modelname "weapons/ibuildthat/w_sniperrifle.mdl" ?

because this is where the compiler will put the compiled files. Remember, once they are compiled out. you can't move the mdl files to a different location or it breaks the model so make sure that is the correct path you like to compile out to.

Check the iBuildthat folder in model viewer to see if it appears, if not, go to that folder directory and check and see if anything came out.

I don't know what else to recommend.
spyshadow117 is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source SDK General Discussion


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 07:18 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.