model compiling problems yet again...

3DRyan

L2: Junior Member
Aug 29, 2008
57
6
Hey all, I tried posting this in the tutorial for creating custom objects that hawk made, but I figure since that thread is old, it might not get looked at as much. Here's the original post:


Thought I had the whole compiling thing down, but apparently not. Here's my compile log:

C:\Program Files\Steam\steamapps\ryansanderson\sourcesdk_cont ent\hl2\modelsrc\ry
an>cd c:\Program Files\Steam\steamapps\ryansanderson\sourcesdk\bin\ orangebox\bin
\

C:\Program Files\Steam\steamapps\ryansanderson\sourcesdk\bin\ orangebox\bin>studi
omdl.exe -nop4 -game "c:\Program Files\Steam\steamapps\ryansanderson\team fortre
ss 2\tf" "c:\Program Files\Steam\steamapps\ryansanderson\sourcesdk_cont ent\hl2\m
odelsrc\ryan\sign.qc"
all paths:c:\program files\steam\steamapps\ryansanderson\team fortress 2\tf\;c:\
program files\steam\steamapps\ryansanderson\sourcesdk\bin\ orangebox\tf\;c:\progr
am files\steam\steamapps\ryansanderson\sourcesdk\bin\ orangebox\hl2\;c:\program f
iles\steam\steamapps\ryansanderson\sourcesdk\bin\h l2\
qdir: "c:\program files\steam\steamapps\ryansanderson\sourcesdk_cont ent\hl2\m
odelsrc\ryan\"
gamedir: "c:\Program Files\Steam\steamapps\ryansanderson\team fortress 2\tf\"
g_path: "c:\Program Files\Steam\steamapps\ryansanderson\sourcesdk_cont ent\hl2\m
odelsrc\ryan\sign.qc"
Building binary model files...
Working on "sign.qc"
ERROR: c:\program files\steam\steamapps\ryansanderson\sourcesdk_cont ent\hl2\mode
lsrc\ryan\sign.qc(1): - bad command /


The qc:

/*
----------------
sign QC
----------------
*/

sign.mdl
0 0 0 90
1.0
"Body" "sign.smd"

"carpet"
Z
"ryan/"

"idle" "sign.smd" fps 30

{
//Mass in kilograms
20.0

}


As you can tell, it keeps telling me that the first line is interfering somehow. I've tried just making the first line just "sign.mdl", but it gives the same message. Any takers?
 

Terr

Cranky Coder
aa
Jul 31, 2009
1,590
410
Does it hate your comment block? I mean, it looks valid, but...

I dunno about QC files, but the VDC example seems different.
 
Last edited:

3DRyan

L2: Junior Member
Aug 29, 2008
57
6
Tried their format, and I get the the same exact error. I've tried many different little ways of writing my qc script, (There are many, many different formats on different websites, of course) but it's always that first line that gets me. HELP!?
 

Terr

Cranky Coder
aa
Jul 31, 2009
1,590
410
Uhm. Unix vs Windows linebreaks? Whitespace that isn't spaces? Dunno.
 

Acumen

Annoyer
aa
Jun 11, 2009
704
628
hey, so i'm posting here, rather than in the other thread.
i can only offer you to send me your files or upload them, and i'll try compiling it for you.
i'm using GUIStudioMDL for compiling, just so you know ^^