[VIDEO] Creating, texturing and importing a simple object into a Source game.

Discussion in 'Tutorials & Resources' started by ShroudedSiege, Oct 3, 2008.

  1. ShroudedSiege

    ShroudedSiege L1: Registered

    Messages:
    27
    Positive Ratings:
    6
    Ok i made this tutorial before i bought Orange Box, well about a month before. I made it for DeathMatch but the principle is the exact same for TF2, it just involves saving the files into different folders for example for TF2 you'd save to:

    C:\Program Files\Steam\steamapps\armoured_fury\sourcesdk_content\tf\models (for models to use in TF2)
    For this you would need to create a folder called models for it to compile like so:
    C:\Program Files\Steam\steamapps\armoured_fury\team fortress 2\tf\MODELS\YOURMODELSFOLDERNAME

    and

    C:\Program Files\Steam\steamapps\armoured_fury\team fortress 2\tf\materials\models\YOURMODELSFOLDERNAME (for the textures you wish to use in TF2)

    Same files but a different location to that which i state in the tutorials. I will probably make some more tutorials for TF2 but i'm not sure yet lol.

    Youtube links:
    Part 1
    http://www.youtube.com/watch?v=bEz0Gvx_FUY
    (hi-rez)
    http://www.fileden.com/files/2007/3/25/923698/Part_1.wmv

    Part 2
    http://www.youtube.com/watch?v=n1R4Wu5F6NY&feature=related
    (hi-rez)
    http://www.fileden.com/files/2007/3/25/923698/Part_2.wmv

    Part 3
    http://www.youtube.com/watch?v=VdIvfO35sKc&feature=related
    (hi-rez)
    http://www.fileden.com/files/2007/3/25/923698/Part_3.wmv

    Part 4
    http://www.youtube.com/watch?v=XnOX-aIMAno&feature=user
    (hi-rez)
    http://www.fileden.com/files/2007/3/25/923698/Part_4.wmv

    Before i posted this tutorial i made sure that the model i used in the video would actually import into TF2, just to be on the safe side.. It all works fine so yeh :)
     
    • Thanks Thanks x 6
  2. AWESOME-O

    AWESOME-O L10: Glamorous Member

    Messages:
    782
    Positive Ratings:
    66
    happy happy thanks
     
  3. ShroudedSiege

    ShroudedSiege L1: Registered

    Messages:
    27
    Positive Ratings:
    6
    Iz koo' lol
     
  4. DOMINATOR

    DOMINATOR L1: Registered

    Messages:
    11
    Positive Ratings:
    0
    this doesn't work for me. i can't get it to import into the orange box/tf2 engine.

    heres the .qc file:
    $modelname "models\custombox\custombox.mdl"

    $body "Box" "custombox.smd"

    $cdmaterials "custom\custombox\"


    $staticprop

    $scale 1.0

    $surfaceprop "Metal"


    $sequence "idle" "custombox" fps 30


    $collisionmodel “custombox.smd”

    {
    $concave
    }




    and compiler output
    Code:
    Created command line: "C:Program Files (x86)Steamsteamappslakehockey05sourcesdkbinorangeboxbinstudiomdl.exe" -game "c:program files (x86)steamsteamappslakehockey05team fortress 2tf" -nop4 -nox360 "C:Program Files (x86)Steamsteamappslakehockey05sourcesdk_contenttfmodelscustombox.qc"
    
    all paths:c:program files (x86)steamsteamappslakehockey05team fortress 2tf;c:program files (x86)steamsteamappslakehockey05sourcesdkbinorangeboxtf;c:program files (x86)steamsteamappslakehockey05sourcesdkbinorangeboxhl2;c:program files (x86)steamsteamappslakehockey05sourcesdkbinhl2
    qdir:    "c:program files (x86)steamsteamappslakehockey05sourcesdk_contenttfmodels"
    gamedir: "c:program files (x86)steamsteamappslakehockey05team fortress 2tf"
    g_path:  "C:Program Files (x86)Steamsteamappslakehockey05sourcesdk_contenttfmodelscustombox.qc"
    Building binary model files...
    Working on "custombox.qc"
    SMD MODEL custombox.smd
    WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
    WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
    WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
    WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
    WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
    WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
    WARNING: Error with convex elements of custombox.smd, building single convex!!!!
    Model has 1 convex sub-parts
    Collision model completed.
    ---------------------
    writing c:program files (x86)steamsteamappslakehockey05team fortress 2tfmodels/modelscustomboxcustombox.mdl:
    Error opening c:program files (x86)steamsteamappslakehockey05team fortress 2tfmodels/modelscustomboxcustombox.mdl! (Check for write enable)
    
    

    where is it supposed to send the compiled .mdl file?
     
  5. pl

    pl L5: Dapper Member

    Messages:
    248
    Positive Ratings:
    55
    I've only watched a little of the first one, but I'll watch the rest later. Looks great up to what I've watched so far :)
     
  6. Mick-a-nator

    aa Mick-a-nator

    Messages:
    640
    Positive Ratings:
    314
    EDIT: wrong question asked, getting help now...
     
    Last edited: Sep 8, 2009
  7. ShroudedSiege

    ShroudedSiege L1: Registered

    Messages:
    27
    Positive Ratings:
    6


    Sorry it took me sooo long to respond i've not even used Source for months lol.

    You need to create a folder called "models" in that location, it doesn't make it for you...
     
  8. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,682
    >_> That guy has not visited the site since 7-10-09.
     
  9. DOMINATOR

    DOMINATOR L1: Registered

    Messages:
    11
    Positive Ratings:
    0
    so?

    thanks Siege... even though i figured it out.
     
  10. Dr. ROCKZO

    Dr. ROCKZO L8: Fancy Shmancy Member

    Messages:
    580
    Positive Ratings:
    159
    In this case, a necro isn't so bad. Good Tutorial to experiment with.
     
  11. Sel

    Sel Banned

    Messages:
    1,241
    Positive Ratings:
    1,119
    oh hey dom