Raised This Month: $ Target: $400
 0% 

[TF2] Equipment manager 1.1.8 (05/22/10)


Post New Thread Reply   
 
Thread Tools Display Modes
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, 790 views)
__________________

Last edited by Zuko; 05-29-2010 at 05:58.
Zuko is offline
Send a message via ICQ to Zuko
mycologist
SourceMod Donor
Join Date: Sep 2008
Location: Sep 2008
Old 08-01-2009 , 13:39   Re: [TF2] Equipment manager 1.1.0
Reply With Quote #132

This is great! Thanks for the work; both on this plugin and the tutorial. The file you attached tools.7z doesn't seem to download.
__________________

mycologist is offline
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 08-01-2009 , 13:43   Re: [TF2] Equipment manager 1.1.0
Reply With Quote #133

Is there just a simple hat reskin tutorial?
noodleboy347 is offline
Zuko
SourceMod Donor
Join Date: Sep 2006
Location: Poland
Old 08-01-2009 , 13:49   Re: [TF2] Equipment manager 1.1.0
Reply With Quote #134

link added
__________________
Zuko is offline
Send a message via ICQ to Zuko
MaloModo
Veteran Member
Join Date: Aug 2008
Old 08-01-2009 , 13:54   Re: [TF2] Equipment manager 1.1.0
Reply With Quote #135

Running on server with custom hats from test server without any problems...props to all. Good Work. Running with RTD and presents as well which throws in a lot of mix
MaloModo is offline
mycologist
SourceMod Donor
Join Date: Sep 2008
Location: Sep 2008
Old 08-01-2009 , 14:37   Re: [TF2] Equipment manager 1.1.0
Reply With Quote #136

I'm getting this error when trying to compile at the GUIStudio part of the tutorial:

Code:
Created command line: "C:\Program Files (x86)\Steam\steamapps\mycologist\sourcesdk\bin\orangebox\bin\studiomdl.exe" -game "c:\program files (x86)\steam\steamapps\mycologist\half-life 2 episode two\ep2" -nop4 -nox360 C:\Users\Mycologist\Desktop\DO\mdldecompiler.qc

qdir:    "c:\users\mycologist\desktop\do\"
gamedir: "c:\program files (x86)\steam\steamapps\mycologist\half-life 2 episode two\ep2\"
g_path:  "C:\Users\Mycologist\Desktop\DO\mdldecompiler.qc"
Building binary model files...
Working on "mdldecompiler.qc"
WARNING: $modelname key has slash as first character. Removing.
SMD MODEL C:\Users\Mycologist\Desktop\DO/dreads.smd
SMD MODEL C:\Users\Mycologist\Desktop\DO/idle.smd
WARNING: @idle : bounding box out of range : -7 -4 -65511 : -9999 9 -9999
---------------------
writing c:\program files (x86)\steam\steamapps\mycologist\half-life 2 episode two\ep2\models/dsg\demo\dreads\dreads.mdl:
Error opening c:\program files (x86)\steam\steamapps\mycologist\half-life 2 episode two\ep2\models/dsg\demo\dreads\dreads.mdl! (Check for write enable)
Any ideas?
__________________

mycologist is offline
Zuko
SourceMod Donor
Join Date: Sep 2006
Location: Poland
Old 08-01-2009 , 15:05   Re: [TF2] Equipment manager 1.1.0
Reply With Quote #137

set to "Team Fortress 2" not to EP2
__________________
Zuko is offline
Send a message via ICQ to Zuko
Damizean
SourceMod Donor
Join Date: Mar 2009
Old 08-01-2009 , 16:16   Re: [TF2] Equipment manager 1.1.0
Reply With Quote #138

Nice link Zuko! I'm so adding some of these hats to my server. Also, if it's any help, here's my template .qc I use to compile the hats I make
Code:
$modelname "rss-custom/hats/YOURHAT/YOURHAT.mdl"
$cdmaterials "/models/rss-custom/hats/YOURHAT/"
$model "Body" "YOURHAT_ref.smd"

$texturegroup skinfamilies
{
    { "YOURHAT.vmt" }
    { "YOURHAT-blue.vmt" }
}

$sequence idle "YOURHAT_idle" loop fps 30.00
__________________
Dat annoying guy
Damizean is offline
Send a message via AIM to Damizean Send a message via MSN to Damizean
MrSaturn
SourceMod Donor
Join Date: Jan 2009
Old 08-01-2009 , 17:26   Re: [TF2] Equipment manager 1.1.0
Reply With Quote #139

Is there a way to allow admins access to the hats, but not all the hats?

As it stands theres no way to have the admin acess flag different from a model's access flag.
__________________

Last edited by MrSaturn; 08-01-2009 at 17:39.
MrSaturn is offline
Zuko
SourceMod Donor
Join Date: Sep 2006
Location: Poland
Old 08-01-2009 , 17:46   Re: [TF2] Equipment manager 1.1.0
Reply With Quote #140

Plugin should automatically add hats to menu from selected directory.

Edit.
Any possibility to disable shadow rendering for hats?
__________________

Last edited by Zuko; 08-01-2009 at 19:01.
Zuko is offline
Send a message via ICQ to Zuko
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode