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. Mapcore Introductions Thread

    bergman
    November 16, 2026 at 12:21 PM
  2. BELEK: turning Rouen into competitive FPS maps (Godot project, feedback wanted)

    zlatan24
    November 12, 2026 at 6:23 PM
  3. CS2 sticker critique | Would the eye or blade read first on an AK?

    EmberKrakenCS2
    November 9, 2026 at 10:21 PM
  4. dod_poznan

    Smile_2000
    November 9, 2026 at 9:10 AM
  5. [cs2][WIP] De_digital (A side only) Looking for Feedback

    Howw3
    November 5, 2026 at 9:22 PM
  6. Hello from Normandy: Metin, working on a tactical FPS

    Thrik
    November 2, 2026 at 10:19 PM
  7. How do I setup CS1.6 mapping on linux?

    zlatan24
    November 2, 2026 at 6:43 AM
  8. CS:S | de_honor | Map creation process by D'artagnan

    Dartagnan
    November 1, 2026 at 5:41 PM
  9. Made a map maker for my indie game.

    daud2k7
    November 1, 2026 at 4:19 PM
  10. First CS2 Maps DM and Bomb Defusal

    zlatan24
    November 1, 2026 at 3:06 PM

Users Viewing This Thread

  • 1 Guest
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™