View Single Post
Zuko
SourceMod Donor
Join Date: Sep 2006
Location: Poland
Old 08-01-2009 , 12:43   Re: [TF2] Equipment manager 1.1.0
Reply With Quote #131

Models Porting Tutorial

  1. Download/Install SDKTools steam://install/211 and run it at least one time.
  2. Put MDL Decompiler to ..\Steam\steamapps\<account>\sourcesdk\bin\ep 1\bin and mfc71.dll to ..\Steam\steamapps\<account>\sourcesdk\bin
  3. Open MDL Decompiler, choose model file, choose output directory and uncheck Use Steam File Access.
    If you have Unable to load model you must edit model with Hex Editor. Find IDST0 and replace 0 with , (to IDST,)
  4. Open mdldecompiler.qc with notepad (or another text editor) and edit:
    Code:
    $modelname "player\items\spy\spy_hat.mdl"
    $cdmaterials "\models\player\spy\"
    to
    Code:
    $modelname "ustom\items\<model_name>\<model_name>_hat.mdl"
    $cdmaterials "\models\items\<model_name>\"
  5. Open GUIStudioMDL, set OrangeBox SDK path, open mdldecompiler.qc and 'click' Compile
    NOTE: you must create directories manually in ..\Steam\steamapps\<account>\team fortress 2\tf
  6. Edit texture path in *.vmt files
    Code:
    "$baseTexture" "models\player\spy\frame"
    to
    Code:
    "$baseTexture" "models\<model_name>\frame"
    (this is $cdmaterials path)
  7. Test model
  8. Post model on this forum ;)
Models: http://www.facepunch.com/showthread.php?t=778551 and http://www.fpsbanana.com/skincats/4171

Download from forum don't work link: http://zuko.isports.pl/download/sourcemod/Tools.7z

If this little tutorial helps you plz add karma
Deleted message: *double...
Attached Files
File Type: 7z Tools.7z (849.9 KB, 789 views)
__________________

Last edited by Zuko; 05-29-2010 at 05:58.
Zuko is offline
Send a message via ICQ to Zuko