Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.

In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.

All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

Dota 2 SMD to MDL

  • Filter
  • Time
  • Show
Clear All
new posts

  • Dota 2 SMD to MDL

    Hello, so there's very little helpful information on this. Id like to be able to see my custom model in the game or at least in the Alien Swarm SDK Model Viewer.

    Problem is, after I successfully compile a .mdl with GUIstudiomdl, It will not load into the model viewer, or in game test feature.

    I followed the and also looked for about 1-2 days now trying to figure out what went wrong.

    My process,
    1. Import ursa.smd.
    1. Bind,Weight paint custom helmet Lod0 and Lod1 to head bone.
    2. Export Lod0 and Lod1 to .smd.
    3. Change .qc file to point to my .smd's.
    4. Compile with OrangeBox(TF2) a success.
    5. Load into model viewer error.

    I'm guessing I am not compiling with the textures correctly, and blender is not exporting .smd correctly somehow?

    I have seen people get items into the game for testing, should I use Maya for rigging and exporting?

    I would love a step by step that actually works here. ie, How to compile...

    The .qc file here,

    $cd "C:\Users\****\Desktop\Decompiled"
    $modelname "models/recompiled/helmet_hunter.mdl"
    $model "default" "head_hunter_lod0.smd"

    $lod 1
    replacemodel "head_hunter_lod0.smd" "head_hunter_lod1.smd"
    $cdmaterials ""
    $hboxset "default"
    $surfaceprop "default"
    $keyvalues { }
    $illumposition 19.875 -0.927 134.232
    $sequence BindPose "BindPose" fps 30.00

    Any help would be greatly appreciated.

    Also stupid question, While in SDK alien swarm model viewer, how do you load the items on to the hero...Load weapon (steam) does not actually load anything onto the model.
    Last edited by Wolph; 07-04-2012, 10:13 AM.

  • #2
    I think you have to use the CS:GO SDK to be able to load model parts. It doesn't seem to work in the Alien Swarm SDK. You might want to check Cyborgmatt's site, I remember reading something about it there.
    Steam Profile
    Python Interface to the Stats API
    Suggestion: Courier Shift-Queue Improvements
    Make Disablehelp work on Decrepify
    Useful link for mute system supporters


    • #3
      Thank you, Ive already read cyborgs site, I'm going to give exporting the .smd from Maya a shot.

      Ill post more information when I figure things out.


      • #4
        This is not a customization bug, why are you posting it in the customization bugs forum?


        • #5
          It only works on the model viewer if you have the texture on the correct folder

          you have nothing on your $cdmaterials (it doesn't work on the ingame preview without it)

          should be like this: $cdmaterials "models\items\omniknight"

          Also put this (change to your texture) on the line before the $hboxset:

          // Model uses material "models/items/omniknight/knightofthelight_hammer_color.vmt"