1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

[Source] Model compiling never seems to 'work' - help please

  • amckern
  • November 20, 2006 at 3:37 AM
  • amckern
    • November 20, 2006 at 3:37 AM
    • #1

    Hey!

    I cant for the life of me export, or build a working model file.

    I am hoping that some one here can give me a one on one from export to ingame, or can compile the models for me?

    I have 3ds max 7, and 8, with the SMD Exporter.

    I have exported a refrence file from 3ds max, and am trying to compile it with the hl2 compile kit.

    The compile seems to work, but when i load the model in HLMV it tells me 'invalid model'.

    Any hints or tips please?

    MSN - [email protected]

    Skype - amckern

    Adam

  • Campaignjunkie
    • November 20, 2006 at 3:43 AM
    • #2

    I don't really know what's wrong with your model, but I'll just say that I'm rather fond of guistudiomdl

  • Rick_D
    • November 20, 2006 at 3:52 AM
    • #3

    This is what I do, get yourself cannonfodders max smd import/export tools.

    Make sure you smooth your ref and apply only a single smoothing group to your phys model (a different smoothing group to each seperate object of your phys model if you have more than one).

    Export the ref, phys and idle smd's.

    Write yourself a qc, here's an example of one of mine:

    Code
    $modelname "rd_models/rd_shelves01.mdl" 
    
    
    $body studio "rd_shelves01_ref" 
    
    
    $cdmaterials "models/rd_models" 
    
    
    $staticprop 
    
    
    $sequence idle "rd_shelves01_idle.smd" fps 5 ACT_IDLE 1 
    
    
    $surfaceprop "wood" 
    
    
    $collisionmodel "rd_shelves01_phys.smd" { 
    
    
    $concave 
    
    
    $mass 1.0 
    
    
    }
    Display More

    I had a batch file set up for me by a great guy (Andy) from the RnL team, basically it sets it up to compile using the HL2 directories (with the often buggy SDK I find this the most consistent way). It also sets a pause so if there's any problems I have time to check them out before the window closes.To make your batch file create a new text document, open it up and paste this into it:

    Code
    "C:\PATH TO USERNAME FOLDER\sourcesdk\bin\studiomdl.exe" -game "C:\PATH TO USERNAME FOLDER\half-life 2\hl2" %1
    
    
    pause

    Save the file as (I used) studiomdl.bat (make sure you add the .bat).

    Now set up your qc, and drag/drop it onto the studiomdl.bat file (I keep my .smd, .qc and .bat files in the same folder).

    The compile window will pop up, notifying you of any errors you may have,. And if successful will place your finished model files into the hl2/models folder (depending on your path in the qc)

  • BaRRaKID
    • November 20, 2006 at 1:35 PM
    • #4

    Go to http://www.iwannamap.com there are some video tutorials there that teach you how to compile a model.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  2. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  3. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  4. Any of the old guard still around? D:

    Thrik
    June 20, 2026 at 10:11 PM
  5. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  6. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  7. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  8. Bridges 2.0 by NEXSIDE, MAP SHOWCASE. ( Steam Workshop )

    MrTrane18
    June 1, 2026 at 7:46 PM
  9. Classic Maps Reborn For CS2

    SillySpaceCat
    May 31, 2026 at 10:33 PM
  10. [CS2] Dvina

    Pulbusha
    May 29, 2026 at 5:54 PM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™