1. Hey Guest, welcome to the new forums. Be sure to check out this thread to get all the information you need on the cool new stuff!

Our servers are now running a Steam Workshop rotation, if you'd like your map to be considered for inclusion on our rotation, post in the rotation discussion thread

Or, if you just want to play some of the best community maps the Workshop has to offer, you can join our servers by clicking these links:

Decompiling models to change skins?

Discussion in 'Mapping Questions & Discussion' started by AntonJ3000, Feb 27, 2009.

  1. AntonJ3000

    AntonJ3000 I am inactive and make horrible maps

    Messages:
    401
    Positive Ratings:
    89
    Is there some way to decompile a current model, for example one of the A B C signs used in cp_ maps, And then like change the skins and stuff without making it "collide" with the old model?
     
  2. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    33
    I would think so some models have multiple skins.
     
  3. Sgt Frag

    Sgt Frag L14: Epic Member

    Messages:
    1,443
    Positive Ratings:
    294
    Yeah, decompile, rename the model, make a new qc with that name, recompile.

    Or decompile and add the new skin name to the old QC. Better to make a new sign name though, then you don't have issues with the old one.
     
  4. AntonJ3000

    AntonJ3000 I am inactive and make horrible maps

    Messages:
    401
    Positive Ratings:
    89
    Ok, any tutorial for doing that? :p
    I'm pretty bad at modelling stuff.
     
  5. Sgt Frag

    Sgt Frag L14: Epic Member

    Messages:
    1,443
    Positive Ratings:
    294
    Search for iwannamap video tut. I don't know where to get it but he explains getting an object set-up/compiled pretty well. Probably interlopers forum or tuts has info.

    I also know it's easy enough to google decompiling objects, however I have Vista and have not been able to get the decompiler to work.

    -------here ya go, these should help

    http://www.interlopers.net/tutorials/Modelling
     
    Last edited: Feb 27, 2009
  6. ultranew_b

    ultranew_b L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    You shouldn't have to decompile any model to change the skin.

    You can simply make your new skin, name it the same as the existing skin, then place the texture in a folder (you create) that has the same path as the original.






    -----------------------------------------------------------------------------------------------------------------------
    Source engine levels designed and realized by ultranew_b:
    hl2dm_district33, dod_sora, dod_pier, dod_flurry, dod_U471, dod_V2, dod_copse, dod_fall
    -----------------------------------------------------------------------------------------------------------------------​
     
  7. AntonJ3000

    AntonJ3000 I am inactive and make horrible maps

    Messages:
    401
    Positive Ratings:
    89
    Yes I know, but I want it not to like collide with the original signs.

    And also, to the link above. I never get the MDL Decompiler to work.
     
    Last edited: Feb 28, 2009
  8. Sgt Frag

    Sgt Frag L14: Epic Member

    Messages:
    1,443
    Positive Ratings:
    294
    Do you have Vista? I have Vista and it doesn't seem to work for me, trying to figure out why.
     
  9. Zeewier

    Zeewier L9: Fashionable Member

    Messages:
    619
    Positive Ratings:
    130
    A few things: You must open the MDL with notepad++ (or any other advanced notepad that can read the file format) and change ISTD0 to ISTD, (there are a few of those use google to find the on you have)

    Also a lot of people place it in the wrong folder, this is the working folder:
    X:\Program Files\Steam\SteamApps\<username>\sourcesdk\bin\ep1\bin\

    It's because the decompiler is designed for older version of the source engine

    Link with beter explanation: http://www.facepunch.com/showthread.php?p=7724541
     
    • Thanks Thanks x 1
  10. Sgt Frag

    Sgt Frag L14: Epic Member

    Messages:
    1,443
    Positive Ratings:
    294
    Cool, thanks, I'll have to give it a try.
    I do think I had done the ISTD thing, but I probably didn't put it in the ep1\bin folder
     
  11. AntonJ3000

    AntonJ3000 I am inactive and make horrible maps

    Messages:
    401
    Positive Ratings:
    89
    Sorry for bump, but that's better than making a new thread about same thing?

    I've tried to get that to work, But still can't... I put
    mdldecompiler.exe in sourcesdk\bin\ep1\bin
    I open, it says
    So I downloaded somebodies hacked mdldecompiler that is supposed to work with orangebox, So I click on the [...] and it crashes, So I tried putting the filenames directly into the boxes instead, extract, CRASH!

    I have engineer.mdl engineer.vvd enginer.phy and all the others in C:\Documents and Settings\AntonJ\Skrivbord\engineer thing

    I also used notepad++ to edit engineer.mdl to IDST,

    I googled around trying to look for other fixes, and somebody said that you should uncheck "Use steam file access" and check "Dump old unweighted SMDs"

    I did that, now the [...] stopped crashing, but extracting/decompiling still crashes..

    Anybody know what's wrong? :confused:
     
  12. Zeewier

    Zeewier L9: Fashionable Member

    Messages:
    619
    Positive Ratings:
    130
    I think it says that when it's in the wrong folder.

    But you should also check if the sdk is set to tf2 (try decompiling while running source sdk maybe)
     
  13. AntonJ3000

    AntonJ3000 I am inactive and make horrible maps

    Messages:
    401
    Positive Ratings:
    89
    I ran source sdk + hammer and it's set to team fortress 2.

    And it isn't wrong folder, It is in sourcesdk\bin\ep1\bin