model compiling problems yet again...

Discussion in 'Mapping Questions & Discussion' started by 3DRyan, Aug 11, 2009.

  1. 3DRyan

    3DRyan L2: Junior Member

    Messages:
    57
    Positive Ratings:
    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?
     
  2. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Does it hate your comment block? I mean, it looks valid, but...

    I dunno about QC files, but the VDC example seems different.
     
    • Thanks Thanks x 1
    Last edited: Aug 11, 2009
  3. 3DRyan

    3DRyan L2: Junior Member

    Messages:
    57
    Positive Ratings:
    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!?
     
  4. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Uhm. Unix vs Windows linebreaks? Whitespace that isn't spaces? Dunno.
     
  5. Acumen

    aa Acumen Annoyer

    Messages:
    704
    Positive Ratings:
    594
    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 ^^