|
|
#1 |
|
Join Date: Nov 2010
Reputation: 0
Posts: 7
|
Custom Model Compiling Issue
I have been trying for weeks to get a custom test model I have created in SketchUp to import to Hammer. So far I think I have looked into every tutorial in existance and I still cant get it quite right. Everey tutorial is either too vague or doesnt explain certain key areas.
As of now I have all the key componants that I know I need, textures, .qc file, model files, etc. Right now my problem is that when using GUIstudioMDL I get an error and it wont compile into an .mdl format. This is the error I get when I try compiling: Created command line: "C:\Program Files\Steam\steamapps\common\left 4 dead 2\bin\studiomdl.exe" -game "c:\program files\steam\steamapps\common\left 4 dead 2\left4dead2" -notxbox C:\Users\Will\Desktop\Jack.qc.txt WARNING: AppFramework : Unable to load module p4lib.dll! qdir: "c:\users\will\desktop\" gamedir: "c:\program files\steam\steamapps\common\left 4 dead 2\left4dead2\" g_path: "C:\Users\Will\Desktop\Jack.qc.txt" Building binary model files... Working on "Jack.qc" Error opening c:\users\will\desktop\Jack.qc This is my current .qc file: $modelname "Jack.mdl" $body mybody "Jack.smd" $staticprop $surfaceprop "wood" $cdmaterials "Jack" $sequence idle "Jack.smd" $collisionmodel "Jack_COL.smd" { $mass 400 $concave } I have tried changing my .qc file many times based on different tutorials but every time I get the exact same issue. I am not sure what it is that I am doing wrong. Can anyone help or point me towards an actual decent tutorial? ~Raven |
|
|
|
|
|
#2 |
![]() Join Date: Feb 2009
Reputation: 311
Posts: 669
|
I'd recommend using the command line compiler as opposed to the GUI front end. The command line should give you a line number in the QC where it errors. Where does the processing halt?
|
|
|
|
|
|
#3 |
![]() Join Date: Nov 2009
Reputation: 37
Posts: 133
|
Does Jack.qc exist? Command line references Jack.qc.txt. Try renaming it to Jack.qc.
|
|
|
|
|
|
#4 | |
|
Join Date: Nov 2010
Reputation: 0
Posts: 7
|
Quote:
An astute observation, I just tried renaming it to be just a .qc file but nothing seems to have changed. I also tried doing a "save as" and naming a .qc file but it remained the same. There must be something basic that I am overlooking. |
|
|
|
|
|
|
#5 |
|
Join Date: Nov 2010
Reputation: 0
Posts: 7
|
OMG it works!
![]() My problem was that my .qc file was in fact only named .qc and was not the actual type of file needed. I have now compiled it and it works perfectly in game! I just have to do some work with the textures but that part isnt too difficult. Thank you so much for all your help! |
|
|
|
|
|
#6 | |
![]() Join Date: Jan 2010
Reputation: 151
Posts: 2,406
|
Quote:
Or if you're more adventurous (and lazy), you can this to your windows registry (in XP anyway, haven't tested it in win7 yet) Code:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\1cmd] @="DOS Prompt" [HKEY_CLASSES_ROOT\Directory\shell\1cmd\command] @="cmd.exe /k \"cd %L\"" I'd make a backup of your reg first if you do add it, and take no responsibility
|
|
|
|
|
|
|
#7 |
![]() Join Date: Nov 2009
Reputation: 37
Posts: 133
|
Protip: In Windows Explorer, hold shift, right click on folder, click "open command window here". Does the same thing shotgun's registry tweak does, except you have to hold shift and right click for it to appear.
|
|
|
|
|
|
#8 |
![]() Join Date: Jan 2010
Reputation: 151
Posts: 2,406
|
Is that for Win7 or XP, because it doesn't work for me in XP. (Sorry for the thread jack)
|
|
|
|
|
|
#9 |
![]() Join Date: Nov 2009
Reputation: 37
Posts: 133
|
Think it might be for just Vista and 7 then.
|
|
|
|
|
|
#10 |
![]() Join Date: Jan 2010
Reputation: 151
Posts: 2,406
|
|
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|