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

problem with blender model in Hammer editor

  • MaBo
  • February 22, 2016 at 4:12 PM
  • MaBo
    • February 22, 2016 at 4:12 PM
    • #1

    Hello,


    So I started to learn blender today and wanted to import my blender model into hammer.
    I use Blender source tools to export it to smd.

    I used crowbar to compile it.

    In the model.qc file I entered:

    Quote

    $modelname "industrial/flowerplant.mdl"
    $body mybody "flowerplant.smd"
    $staticprop
    $cdmaterials "industrial/"
    $scale 1

    $sequence idle "idle.smd" loop fps 1

    $collisionmodel "collision.smd" {
    $automass
    $concave
    }

    $keyvalues
    {
    "prop_data"
    {
    "base" "Metal.Medium"
    }
    }

    Display More

    I used VTFEdit to create a vtf and a vmt file.

    vmt file:

    Quote

    "VertexLitGeneric"
    {
    "$basetexture" "models\industrial\xflowerplant"
    "$surfaceprop" "Concrete_Block"
    }

    The material files are located in "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\materials\models\industrial"
    The model files are located in "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\models\industrial"


    But now my problem...
    In the blender model it all looks normal and good https://gyazo.com/29aa333a35af92bfdc498b60e2bd327e

    But when I check the model in csgo sdk model viewer it shows me this https://gyazo.com/6c3539cd44901ebee9f0e811da5c37a4
    It also gives me a error "[error] could not load material"

    Please help me to fix this.

    - MaBo

  • tomm
    • February 22, 2016 at 8:13 PM
    • #2

    hey

    I think you're currently looking into "csgo\materials\industrial"

    try

    Quote

    $cdmaterials "models\industrial"

  • MaBo
    • February 22, 2016 at 8:55 PM
    • #3
    Quote from tomm

    hey

    I think you're currently looking into "csgo\materials\industrial"

    try

    Nope this still doesn`t work I get the same result

  • Vorontsov
    • February 22, 2016 at 9:06 PM
    • #4

    Go to CS:GO - SDK and open up the Model Viewer.

    In the model viewer open up your model and go to the "Model" tab, and see at the bottom it should say Materials used: blabla, in my case as an example it says subway_entry_uv, the model is subway_entry.

    This step is to make sure the model has any materials "attached" to it at all. Reply to me with what you find, also if you don't mind, upload the model files & the materials used for it so I could help you out more.

  • MaBo
    • February 22, 2016 at 9:22 PM
    • #5
    Quote from Vorontsov

    Go to CS:GO - SDK and open up the Model Viewer.

    In the model viewer open up your model and go to the "Model" tab, and see at the bottom it should say Materials used: blabla, in my case as an example it says subway_entry_uv, the model is subway_entry.

    This step is to make sure the model has any materials "attached" to it at all. Reply to me with what you find, also if you don't mind, upload the model files & the materials used for it so I could help you out more.

    Oh thanks for this tip, I found out I didn`t attach it to the model so I fixed it, now it shows the textures

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. BELEK: turning Rouen into competitive FPS maps (Godot project, feedback wanted)

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

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

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

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

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

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

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

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

    zlatan24
    November 1, 2026 at 3:06 PM
  10. POLYSTRIKE - Finally Announced After Years of Development!

    MetinSaygin
    October 31, 2026 at 10:57 AM

Users Viewing This Thread

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