• Announcements

    • Brentonator

      Forum Rules (Please Read)

      Hello everyone and welcome to the No More Room In Hell Forums! We greatly appreciate your interest and support. Please feel free to begin post and become a part of this community. But please make sure that you read and understand the following rules so things can stay as clean and as orderly as possible around here. These rules are expected to be follow by any and all members at all times. Disobeying these rules will result in disciplinary action by a moderator. #1. Off color remarks are acceptable but can be deemed inappropriate at the discretion of the moderators. #2. Flaming and disrespecting other members of this community or this mod is strictly prohibited. #3. Please do not post links relating to warez or illegal downloading. #4. No offensive content is to be posted (gore, dead babies, porn). #5. Please do not spam topics to increase your post count. #6. No excessively large signatures. Signatures that violate this will be modified. #7. Signatures are not to be used as a spamming tool. If your signature's sole purpose is to annoy or distract other members, it will be removed. #8. Please do your part to be as friendly, respectful, and helpful to anyone and everyone on this forum. #9. Your posts may be removed at any time at our sole discretion. #10. Remember the terms of your registration...a copy is posted below but may not represent the latest version of our terms of use. #11. No advertising other communities or products. Have fun.
MrPolarBearJ

[TuT] Getting Custom Skins on the Server

41 posts in this topic

After browsing many tutorials and looking for help, I finally figured out how to add skins to the server. This method is only for adding skins, not editing them. Also this is for a server with Metamod/SourceMod, because there is a plugin I use for skins. For this TuT, I will show you how to hack skins onto your server. I am still working on fixing the skins so they look perfect, but for now there are a few bugs.

Setup

Software Needed:

- GCFScape (Download Link: http://nemesis.thewavelength.net/index.php?p=26

- MDL Decompiler (Download Link: http://steam.gamebanana.com/tools/5083)

- This one worked for me, if it doesn't work for you, you can just google for other ones.

- You do have to put this in the sourcesdk folder. (sourcesdk>bin>ep1>bin)

- GUIStudioMDL (Download Link: http://www.wunderboy.org/apps/guistudiomdl2.php)

- Source SDK (Get it through steam)

- zBzipper (Download Link: http://css.gamebanana.com/tools/1495)

- SourceMod/MetaMod installed on server.

- Sm_Skinchooser_hl2dm 2.3 (Download Link: https://forums.alliedmods.net/showthread.php?p=780243)

Folder setup:

This is how I setup my folders and applications:

I recommend setting something up like this, so you don't have to go looking around and figuring out where stuff is.
As stated above, you need to place the MDL Decompiler in the Source SDK folder. (SourceSDK>bin>ep1>bin)
Find and Decompile

1. Find a skin you want to put on your server. Make sure it is CSS or Counter Strike related skin, or a HL2 skin. I am not sure what other skins work, but I have tested these two and have had success with both.
a.) Places to find skins: http://s-low.net/forum/ (My personal Favorite for quite a few reasons), http://gamebanana.com/ (I couldn't find any skins I like here.)
b.) Extract the skin and everything inside to somewhere easy to access, you can put the texture/materials folder aside. We won't need it right away, but will come back to it.
c.) Under the model folder, you want to look for the 4-7 files that look like the pic below. (The file name might be different, but the extensions should be the same.)
d.) Once you located the files, copy and paste them in your SMD folder.
mob3.png
2. Open up GCFScape and click File>Open. Now browse through your files for your server file (or game file through steam folder.) You need to find nmrih_dir.vpk file (See Below).
a.) Once you find it, go ahead and open it up through GCF. Click on models>player, and highlight the top 6. They should all have bateman in it.
b.) Go ahead and right click them after highlighting them and hit extract. Now Extract the files to MDL folder on your desktop or wherever is easy for you. I recommend creating a subfolder in the MDL folder.
c.) Once done you are ready to decompile the .MDL files.
lvvs.png
3. Once you got the .mdl files, go ahead and open the .MDL decompiler.
a.) Go ahead and click on the square box at the end of the first box in the .mdl decompiler.
b.) Now go located one of the .mdl files we just got from the previous steps and then click on the second box below the first. This box asks you where you want to export the files after they have been decompiled. If you got the setup I have, then extract them into the SMD folder. Make sure each of them have it's own folder.
c.) You should have a .qc file, and the reset should be .smd files. (ragdoll.smd, physical.smd, model.smd and the QC file.)
d.) Now that you have both decompiled, you can now move onto "hacking" the skins onto the default model.

Hacking and Recompiling

1. Now that we have decompiled the .smd's, it's time to do a little bit of code modifying. (More like copy and paste.)
a.) Go ahead and open both .qc files of both decompiled .mdls with notepad++ (That's what I recommend, but you can use regular notepad.)
b.) If you are using notepad++, go ahead and open both up side by side. (To do this, just drag and drop one of them down into the text box and you will see an option that says move to other view.)
c.) Now comes the fun part, editing the code.
d.) Now just go through the pics below and try to do as I say. (Ya It is out of order, but as long as you do everything that I said, you should be fine.
yyi.PNG
If you have any trouble understanding, you can post here or message me.
2. Once we get that ugly part of the coding, I mean hacking done, we just need to do a few more things.
a.) So since we added weapon bone attachment, we need to add it to our other .smds. So you just need to find the files that correspond to each other and edit it that part if they contain it. For example:
b.) Notice both models with same name "phymodel.smd" And adding the bone line to one without it, I recommend adding it to the bottom of the code. (I am still messing around with code, since I don't like using blender or 3ds, etc. If you have any suggestions or whatever, feel free to share on here or pm me.)
c.) Once you are done with all the files, you now need to recompile.
3. Now we need to recompile, really easy to do this. Unless you get errors, but most errors are pretty understandable.
a.) Go ahead and open up GUIStudioMDL. You need to path half life ep 1 (No you don't have to own it, this is why you downloaded Source SDK.)
b.) Hit Config, and click on EP1 Path and go ahead and have it path to C:\Program Files\Steam\Steamapps\common\sourcesdk\bin\ep1\bin.
c.) Now after pathing that, you know have to get the gameinfo.txt from nmrih files. You can do this the same way, or you can just do it through your server file.
d.) After you have done that, you can click file and load qc file. Obviously you load the QC file we edited for your new model/skin.
e.) If you have errors, you can google them and almost always find an answer. If you really can't find an answer message me or leave a post below.
xky1.png

Finalizing the Product

1. Finally you made it to the final steps, wasn't so hard now, was it?
a.) After compiling your .mdl file, I will tell you where it put it. (Depending on which pathing you put for the gameinfo.txt)
b.) If you made a path to the nmrih in the steam folder then it will be nmrih\models\*****\whatever.mdl. Same goes for the server path.
c.) If you did it the steam path, just copy the models folder and paste it into your server folder. As for the people who did the server path, you are fine.
d.) Now go ahead and make a materials folder for your textures for your skin/model. Make sure you remember how the subfolder goes when doing it. Ex: nmrih\materials\models\player\mario\mario.*
(Optional)
2. You are ready to zBzip the files and upload them to your FastDL server.
a.) So go ahead and locate your .mdl folder and your texture/material folder. Once done go ahead and open up your zBzipper folder and put one folder at a time in the zBzipper folder. (Meaning throw all your textures in there, then click zbzipper icon. Then throw your original files back in their folder, and copy and paste the other ones into your FastDL server. I won't be explaining how to set one up since it is easy.)
b.) Do the same with both folders then you need to make sure your FastDL server folders match up with your server folders. And just put the files where they need to go.
3. Once you have put the files back into your server, or your FastDL server, you are ready to setup the sm_skinchooser plugin.
a.) Go ahead and launch your server if you haven't already so the plugin can setup the files and folders you need.
b.) Now go to NMRiH server folder and follow this: nmrih>addons>sourcemod>configs>sm_skingchooser (something close to that.)
c.) You are gonna be adding the skins to the skin menu, this is easy if you have the right file if you downloaded from S-low's skin website. (Example down below)
d.) If you did not get a file like this one below you will have to type out the text manually. You basically are writing where the plugin will find the skins/textures for the model/skin.
e.) Once you got that done there is another file inside that sm_skinchooser folder that you need to edit. Which is the Skins_dm.txt, reference the second pic on how to set that up.
f.) Now you have that all setup, you can now test your skins in-game. Go ahead and get on your server and type !models for the menu. I usually go die to a monster to see if the animations/texture is working.
5a09.png
8nkd.png

Questions, Comments, and Concerns are more then welcome. If you think you can make something easier or make my TuT more understandable, let me know. I can change it as needed. I tried doing a video TuT, but the video was gonna take 3000 mins to upload. Lol. Totally forgot fraps made huge files. :P
Thanks for reading my TuT, it took me forever to write.
Edited by MrPolarBearJ

Share this post


Link to post
Share on other sites

Looks interesting, probably going to have to try this out at some point.

As for the video, you can always change it's size by converting it, it's pretty easily done, check out HandBrake if you're up to it.

Share this post


Link to post
Share on other sites

All you have to is in the skins.ini is add the z, if you leave it blank, anyone can use it.

//Configure your menu here"Models"{    "Admin Models"    {        "Admin" "z" //<--- Just put Z there for admins.        "Team1"        {            "Snowtrooper"            {                "path" "models\player\b4p\b4p_snowtrooper\b4p_snowtrooper.mdl"            }         } 

Share this post


Link to post
Share on other sites

first, im not good english. :)

Please. I can't works.

I don't know 'Hacking(.qc, .smd) part'

Can you add the images(before, after) of video?

(What do you say I do not understand.)

and, i can't work 'compile'. I had to run the GUIstudioMDL. but not find 'gameconfig.txt' error.

so i installed HL2:DM. by the way, [add] NMRIH_DS 'gameinfo.txt'. click to 'compile'.

error! [Can't find steam app user info.]

This article in the Republic of Korea has received a lot of attention to the admin.

Share this post


Link to post
Share on other sites

For the GUIcompiler, you need to have sourcesdk downloaded. Then you will find the compiler under there.

As for gameinfo.txt it's under your steamapp folder, you have to find your nmrih folder and you will see it there.

Share this post


Link to post
Share on other sites

Complete GUIstudioMDL problem.

https://developer.valvesoftware.com/wiki/Can't_find_steam_app_user_info this Troubleshooting.

Thanks.

but, I want 'Hacking part' Video or IMG(before, after).

IMG is not clear now uploaded.

ex :

[Custom Model.qc]

You don't need this first line. - It means to delete?

This line is where you model will be compiled to and the name of it. Which you can change. Only change .mdl name. - I do not know what you mean.

I copied these from the other side. - I do not know what you mean.

This is where it is gonna call for textures to put on the model. So make sure to put your materials here or you can edit it. I recommend leaving it. - Says not modify mean?

I got rid of these since I believe ther are mostly CS:S actions. - It means to delete?

[Origin Model.qc] - Does it need to edit????

please Add Video or IMG(before, after).

Sorry. English is not good, I can not understand your meaning.

Edited by ys24ys

Share this post


Link to post
Share on other sites

Weapons are located in the back.

Help me.

http://css.gamebanana.com/skins/130317 This Models. (HL2 Gorden Freeman: Option 2 - Without Helmet)

If you modify the qc, smd can I give to upload files?
(Fix is complete file)

You completed file and the original qc, smd file I would like to compare.

[Gorden Freeman.qc] - origin

$cd "D:\NMRIH_SKIN\질문내용\커스텀"
$modelname "player\ct_gign.mdl"
$model "studio" "Gordon Freeman 1.smd"
$poseparameter move_yaw -180.00 180.00
$poseparameter body_pitch -90.00 90.00
$poseparameter body_yaw -90.00 90.00
$cdmaterials "models\player\Gordon Freeman\"
$hboxset "cstrike"
$hbox 3 "ValveBiped.Bip01_Pelvis" -8.299  -7.727  -5.429  8.299  2.007  6.583
$hbox 6 "ValveBiped.Bip01_L_Thigh" 4.576  -5.377  -3.432  22.880  3.775  4.576
$hbox 6 "ValveBiped.Bip01_L_Calf" -0.291  -4.295  -3.432  20.883  3.151  3.432
$hbox 6 "ValveBiped.Bip01_L_Foot" -2.288  -1.144  -2.579  5.720  4.576  2.007
$hbox 6 "ValveBiped.Bip01_L_Toe0" -2.860  -2.808  -2.860  4.004  1.196  1.716
$hbox 7 "ValveBiped.Bip01_R_Thigh" 4.576  -5.377  -3.432  22.880  3.775  4.576
$hbox 7 "ValveBiped.Bip01_R_Calf" -0.291  -4.295  -3.432  20.883  3.151  3.432
$hbox 7 "ValveBiped.Bip01_R_Foot" -2.288  -1.144  -2.007  5.720  4.576  2.579
$hbox 7 "ValveBiped.Bip01_R_Toe0" -2.860  -2.808  -1.716  4.004  1.196  2.860
$hbox 3 "ValveBiped.Bip01_Spine1" -9.152  -1.258  -8.008  4.576  11.326  8.008
$hbox 2 "ValveBiped.Bip01_Spine2" -3.068  -3.432  -9.693  13.572  10.317  9.693
$hbox 1 "ValveBiped.Bip01_Neck1" -0.104  -4.576  -2.860  5.512  2.288  2.860
$hbox 1 "ValveBiped.Bip01_Head1" -0.416  -6.240  -3.640  9.360  4.441  3.016
$hbox 4 "ValveBiped.Bip01_L_UpperArm" -1.144  -2.579  -2.288  14.872  2.579  2.288
$hbox 4 "ValveBiped.Bip01_L_Forearm" -1.716  -2.402  -2.402  13.156  2.402  2.402
$hbox 4 "ValveBiped.Bip01_L_Hand" 0.291  -2.465  -1.716  6.583  1.550  2.860
$hbox 5 "ValveBiped.Bip01_R_UpperArm" -1.144  -2.579  -2.288  14.872  2.579  2.288
$hbox 5 "ValveBiped.Bip01_R_Forearm" -1.716  -2.402  -2.402  13.156  2.402  2.402
$hbox 5 "ValveBiped.Bip01_R_Hand" 0.291  -2.465  -2.860  6.583  1.550  1.716
// Model uses material "glass.vmt"
// Model uses material "frame.vmt"
// Model uses material "suit.vmt"
// Model uses material "head.vmt"
// Model uses material "eye.vmt"
$attachment "forward" "ValveBiped.forward" 0.00 0.00 0.00 rotate 0.00 0.00 -0.00
$attachment "grenade0" "ValveBiped.Bip01_Pelvis" 7.45 4.24 -3.33 rotate -13.05 173.19 92.40
$attachment "grenade1" "ValveBiped.Bip01_Pelvis" 2.13 4.48 -6.15 rotate -81.11 178.93 91.12
$attachment "grenade2" "ValveBiped.Bip01_Pelvis" -7.50 3.33 2.16 rotate 22.39 2.47 -86.84
$attachment "grenade3" "ValveBiped.Bip01_Pelvis" -7.89 4.44 -4.03 rotate -33.13 -2.70 -87.60
$attachment "pistol" "ValveBiped.Bip01_R_Thigh" -0.93 3.33 -5.94 rotate 0.94 -1.57 80.10
$attachment "primary" "ValveBiped.Bip01_Spine2" 13.03 -3.98 -7.48 rotate -17.39 177.19 -4.18
$attachment "eholster" "ValveBiped.Bip01_L_Thigh" 5.15 -0.56 5.20 rotate 3.68 -91.56 99.67
$attachment "c4" "ValveBiped.Bip01_Spine2" 13.67 -7.55 0.95 rotate -29.12 65.25 22.32
$attachment "lfoot" "ValveBiped.Bip01_L_Foot" 0.00 5.20 0.00 rotate -0.00 0.00 -0.00
$attachment "rfoot" "ValveBiped.Bip01_R_Foot" 0.00 5.20 0.00 rotate 0.00 0.00 0.00
$attachment "muzzle_flash" "ValveBiped.Bip01_L_Hand" 0.00 0.00 0.00 rotate -0.00 0.00 0.00
$includemodel "player/cs_player_shared.mdl"
$includemodel "player/ak_anims_t.mdl"
$surfaceprop "flesh"
$eyeposition -0.000 0.000 73.000
$illumposition -0.019 1.051 37.307
$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00
$ikchain rhand ValveBiped.Bip01_R_Hand knee  0.707 0.707 0.000
$ikchain lhand ValveBiped.Bip01_L_Hand knee  0.707 0.707 0.000
$ikchain rfoot ValveBiped.Bip01_R_Foot knee  0.707 -0.707 0.000
$ikchain lfoot ValveBiped.Bip01_L_Foot knee  0.707 -0.707 0.000
$ikchain ikclip ValveBiped.weapon_bone_Clip knee  0.707 -0.707 0.000
$collisionjoints "phymodel.smd" {

	$mass 100.0
	$inertia 10.00
	$damping 0.05
	$rotdamping 5.00
	$rootbone "valvebiped.bip01_pelvis"
	$jointrotdamping "valvebiped.bip01_pelvis" 3.00

	$jointmassbias "valvebiped.bip01_spine1" 8.00
	$jointconstrain "valvebiped.bip01_spine1" x limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_spine1" y limit -16.00 16.00 0.00
	$jointconstrain "valvebiped.bip01_spine1" z limit -20.00 30.00 0.00

	$jointmassbias "valvebiped.bip01_spine2" 9.00
	$jointconstrain "valvebiped.bip01_spine2" x limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_spine2" y limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_spine2" z limit -20.00 20.00 0.00

	$jointmassbias "valvebiped.bip01_r_clavicle" 4.00
	$jointrotdamping "valvebiped.bip01_r_clavicle" 6.00
	$jointconstrain "valvebiped.bip01_r_clavicle" x limit -15.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_r_clavicle" y limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_r_clavicle" z limit 0.00 45.00 0.00

	$jointmassbias "valvebiped.bip01_l_clavicle" 4.00
	$jointrotdamping "valvebiped.bip01_l_clavicle" 6.00
	$jointconstrain "valvebiped.bip01_l_clavicle" x limit -15.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_l_clavicle" y limit -10.00 10.00 0.00
	$jointconstrain "valvebiped.bip01_l_clavicle" z limit 0.00 45.00 0.00

	$jointmassbias "valvebiped.bip01_l_upperarm" 5.00
	$jointrotdamping "valvebiped.bip01_l_upperarm" 2.00
	$jointconstrain "valvebiped.bip01_l_upperarm" x limit -15.00 20.00 0.00
	$jointconstrain "valvebiped.bip01_l_upperarm" y limit -40.00 32.00 0.00
	$jointconstrain "valvebiped.bip01_l_upperarm" z limit -80.00 25.00 0.00

	$jointmassbias "valvebiped.bip01_l_forearm" 4.00
	$jointrotdamping "valvebiped.bip01_l_forearm" 4.00
	$jointconstrain "valvebiped.bip01_l_forearm" x limit -40.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00
	$jointconstrain "valvebiped.bip01_l_forearm" z limit -120.00 10.00 0.00

	$jointrotdamping "valvebiped.bip01_l_hand" 1.00
	$jointconstrain "valvebiped.bip01_l_hand" x limit -25.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_l_hand" y limit -35.00 35.00 0.00
	$jointconstrain "valvebiped.bip01_l_hand" z limit -50.00 50.00 0.00

	$jointmassbias "valvebiped.bip01_r_upperarm" 5.00
	$jointrotdamping "valvebiped.bip01_r_upperarm" 2.00
	$jointconstrain "valvebiped.bip01_r_upperarm" x limit -15.00 20.00 0.00
	$jointconstrain "valvebiped.bip01_r_upperarm" y limit -40.00 32.00 0.00
	$jointconstrain "valvebiped.bip01_r_upperarm" z limit -80.00 25.00 0.00

	$jointmassbias "valvebiped.bip01_r_forearm" 4.00
	$jointrotdamping "valvebiped.bip01_r_forearm" 4.00
	$jointconstrain "valvebiped.bip01_r_forearm" x limit -40.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.00
	$jointconstrain "valvebiped.bip01_r_forearm" z limit -120.00 10.00 0.00

	$jointrotdamping "valvebiped.bip01_r_hand" 1.00
	$jointconstrain "valvebiped.bip01_r_hand" x limit -25.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_r_hand" y limit -35.00 35.00 0.00
	$jointconstrain "valvebiped.bip01_r_hand" z limit -50.00 50.00 0.00

	$jointmassbias "valvebiped.bip01_r_thigh" 7.00
	$jointrotdamping "valvebiped.bip01_r_thigh" 7.00
	$jointconstrain "valvebiped.bip01_r_thigh" x limit -25.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_r_thigh" y limit -10.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_r_thigh" z limit -55.00 25.00 0.00

	$jointmassbias "valvebiped.bip01_r_calf" 4.00
	$jointconstrain "valvebiped.bip01_r_calf" x limit -10.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_r_calf" y limit -5.00 5.00 0.00
	$jointconstrain "valvebiped.bip01_r_calf" z limit -10.00 115.00 0.00

	$jointmassbias "valvebiped.bip01_l_thigh" 7.00
	$jointrotdamping "valvebiped.bip01_l_thigh" 7.00
	$jointconstrain "valvebiped.bip01_l_thigh" x limit -25.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_l_thigh" y limit -10.00 15.00 0.00
	$jointconstrain "valvebiped.bip01_l_thigh" z limit -55.00 25.00 0.00

	$jointmassbias "valvebiped.bip01_l_calf" 4.00
	$jointconstrain "valvebiped.bip01_l_calf" x limit -10.00 25.00 0.00
	$jointconstrain "valvebiped.bip01_l_calf" y limit -5.00 5.00 0.00
	$jointconstrain "valvebiped.bip01_l_calf" z limit -10.00 115.00 0.00

	$jointmassbias "valvebiped.bip01_head1" 4.00
	$jointrotdamping "valvebiped.bip01_head1" 3.00
	$jointconstrain "valvebiped.bip01_head1" x limit -50.00 50.00 0.00
	$jointconstrain "valvebiped.bip01_head1" y limit -20.00 20.00 0.00
	$jointconstrain "valvebiped.bip01_head1" z limit -26.00 30.00 0.00
}

[Gorden Freeman Phymodel.smd] - Origin

version 1
nodes
  0 "ValveBiped.Bip01_Pelvis" -1
  1 "ValveBiped.Bip01_L_Thigh" 0
  2 "ValveBiped.Bip01_L_Calf" 1
  3 "ValveBiped.Bip01_L_Foot" 2
  4 "ValveBiped.Bip01_L_Toe0" 3
  5 "ValveBiped.Bip01_R_Thigh" 0
  6 "ValveBiped.Bip01_R_Calf" 5
  7 "ValveBiped.Bip01_R_Foot" 6
  8 "ValveBiped.Bip01_R_Toe0" 7
  9 "ValveBiped.Bip01_Spine" 0
  10 "ValveBiped.Bip01_Spine1" 9
  11 "ValveBiped.Bip01_Spine2" 10
  12 "ValveBiped.Bip01_Spine4" 11
  13 "ValveBiped.Bip01_Neck1" 12
  14 "ValveBiped.Bip01_Head1" 13
  15 "ValveBiped.forward" 14
  16 "ValveBiped.Bip01_L_Clavicle" 12
  17 "ValveBiped.Bip01_L_UpperArm" 16
  18 "ValveBiped.Bip01_L_Forearm" 17
  19 "ValveBiped.Bip01_L_Hand" 18
  20 "ValveBiped.Bip01_L_Finger2" 19
  21 "ValveBiped.Bip01_L_Finger21" 20
  22 "ValveBiped.Bip01_L_Finger22" 21
  23 "ValveBiped.Bip01_L_Finger1" 19
  24 "ValveBiped.Bip01_L_Finger11" 23
  25 "ValveBiped.Bip01_L_Finger0" 19
  26 "ValveBiped.Bip01_L_Finger01" 25
  27 "ValveBiped.Bip01_L_Finger02" 26
  28 "ValveBiped.Bip01_L_Wrist" 18
  29 "ValveBiped.Bip01_L_Ulna" 18
  30 "ValveBiped.Bip01_R_Clavicle" 12
  31 "ValveBiped.Bip01_R_UpperArm" 30
  32 "ValveBiped.Bip01_R_Forearm" 31
  33 "ValveBiped.Bip01_R_Hand" 32
  34 "ValveBiped.Bip01_R_Finger2" 33
  35 "ValveBiped.Bip01_R_Finger21" 34
  36 "ValveBiped.Bip01_R_Finger22" 35
  37 "ValveBiped.Bip01_R_Finger1" 33
  38 "ValveBiped.Bip01_R_Finger11" 37
  39 "ValveBiped.Bip01_R_Finger12" 38
  40 "ValveBiped.Bip01_R_Finger0" 33
  41 "ValveBiped.Bip01_R_Finger01" 40
  42 "ValveBiped.Bip01_R_Finger02" 41
  43 "ValveBiped.weapon_bone" 9
  44 "ValveBiped.weapon_bone_RHand" 43
  45 "ValveBiped.weapon_bone_LHand" 44
  46 "ValveBiped.weapon_bone_Clip" 45
  47 "ValveBiped.Bip01_L_Finger12" 23
end

How do I fix it?

Edited by ys24ys

Share this post


Link to post
Share on other sites

I will just do it, and just upload the file and you can put it in your server folder.

Edit: Actually I don't have the necessary files anymore.

Complete GUIstudioMDL problem.

https://developer.valvesoftware.com/wiki/Can't_find_steam_app_user_info this Troubleshooting.

Thanks.

but, I want 'Hacking part' Video or IMG(before, after).

IMG is not clear now uploaded.

ex :

[Custom Model.qc]

You don't need this first line. - It means to delete?

This line is where you model will be compiled to and the name of it. Which you can change. Only change .mdl name. - I do not know what you mean.

I copied these from the other side. - I do not know what you mean.

This is where it is gonna call for textures to put on the model. So make sure to put your materials here or you can edit it. I recommend leaving it. - Says not modify mean?

I got rid of these since I believe ther are mostly CS:S actions. - It means to delete?

[Origin Model.qc] - Does it need to edit????

please Add Video or IMG(before, after).

Sorry. English is not good, I can not understand your meaning.

Yes, delete the first line.

You can leave this line alone, I meant you can change the name of the file.

It means I copied the lines from the example .mdl, ex: bateman.mdl can be changed to mymodel.mdl.

Ya don't modify it, it will call for where the textures files should be. So leave it alone.

Yes, delete these. They are actions that only happen in Counter Strike Source.

Original Model.qc does not need to be edited, it is your guide line.

Weapons are located in the back.

Help me.

http://css.gamebanana.com/skins/130317 This Models. (HL2 Gorden Freeman: Option 2 - Without Helmet)

If you modify the qc, smd can I give to upload files?
(Fix is complete file)

You completed file and the original qc, smd file I would like to compare.

[Gorden Freeman.qc] - origin

$cd "D:\NMRIH_SKIN\질문내용\커스텀"$modelname "player\ct_gign.mdl"$model "studio" "Gordon Freeman 1.smd"$poseparameter move_yaw -180.00 180.00$poseparameter body_pitch -90.00 90.00$poseparameter body_yaw -90.00 90.00$cdmaterials "models\player\Gordon Freeman\"$hboxset "cstrike"$hbox 3 "ValveBiped.Bip01_Pelvis" -8.299  -7.727  -5.429  8.299  2.007  6.583$hbox 6 "ValveBiped.Bip01_L_Thigh" 4.576  -5.377  -3.432  22.880  3.775  4.576$hbox 6 "ValveBiped.Bip01_L_Calf" -0.291  -4.295  -3.432  20.883  3.151  3.432$hbox 6 "ValveBiped.Bip01_L_Foot" -2.288  -1.144  -2.579  5.720  4.576  2.007$hbox 6 "ValveBiped.Bip01_L_Toe0" -2.860  -2.808  -2.860  4.004  1.196  1.716$hbox 7 "ValveBiped.Bip01_R_Thigh" 4.576  -5.377  -3.432  22.880  3.775  4.576$hbox 7 "ValveBiped.Bip01_R_Calf" -0.291  -4.295  -3.432  20.883  3.151  3.432$hbox 7 "ValveBiped.Bip01_R_Foot" -2.288  -1.144  -2.007  5.720  4.576  2.579$hbox 7 "ValveBiped.Bip01_R_Toe0" -2.860  -2.808  -1.716  4.004  1.196  2.860$hbox 3 "ValveBiped.Bip01_Spine1" -9.152  -1.258  -8.008  4.576  11.326  8.008$hbox 2 "ValveBiped.Bip01_Spine2" -3.068  -3.432  -9.693  13.572  10.317  9.693$hbox 1 "ValveBiped.Bip01_Neck1" -0.104  -4.576  -2.860  5.512  2.288  2.860$hbox 1 "ValveBiped.Bip01_Head1" -0.416  -6.240  -3.640  9.360  4.441  3.016$hbox 4 "ValveBiped.Bip01_L_UpperArm" -1.144  -2.579  -2.288  14.872  2.579  2.288$hbox 4 "ValveBiped.Bip01_L_Forearm" -1.716  -2.402  -2.402  13.156  2.402  2.402$hbox 4 "ValveBiped.Bip01_L_Hand" 0.291  -2.465  -1.716  6.583  1.550  2.860$hbox 5 "ValveBiped.Bip01_R_UpperArm" -1.144  -2.579  -2.288  14.872  2.579  2.288$hbox 5 "ValveBiped.Bip01_R_Forearm" -1.716  -2.402  -2.402  13.156  2.402  2.402$hbox 5 "ValveBiped.Bip01_R_Hand" 0.291  -2.465  -2.860  6.583  1.550  1.716// Model uses material "glass.vmt"// Model uses material "frame.vmt"// Model uses material "suit.vmt"// Model uses material "head.vmt"// Model uses material "eye.vmt"$attachment "forward" "ValveBiped.forward" 0.00 0.00 0.00 rotate 0.00 0.00 -0.00$attachment "grenade0" "ValveBiped.Bip01_Pelvis" 7.45 4.24 -3.33 rotate -13.05 173.19 92.40$attachment "grenade1" "ValveBiped.Bip01_Pelvis" 2.13 4.48 -6.15 rotate -81.11 178.93 91.12$attachment "grenade2" "ValveBiped.Bip01_Pelvis" -7.50 3.33 2.16 rotate 22.39 2.47 -86.84$attachment "grenade3" "ValveBiped.Bip01_Pelvis" -7.89 4.44 -4.03 rotate -33.13 -2.70 -87.60$attachment "pistol" "ValveBiped.Bip01_R_Thigh" -0.93 3.33 -5.94 rotate 0.94 -1.57 80.10$attachment "primary" "ValveBiped.Bip01_Spine2" 13.03 -3.98 -7.48 rotate -17.39 177.19 -4.18$attachment "eholster" "ValveBiped.Bip01_L_Thigh" 5.15 -0.56 5.20 rotate 3.68 -91.56 99.67$attachment "c4" "ValveBiped.Bip01_Spine2" 13.67 -7.55 0.95 rotate -29.12 65.25 22.32$attachment "lfoot" "ValveBiped.Bip01_L_Foot" 0.00 5.20 0.00 rotate -0.00 0.00 -0.00$attachment "rfoot" "ValveBiped.Bip01_R_Foot" 0.00 5.20 0.00 rotate 0.00 0.00 0.00$attachment "muzzle_flash" "ValveBiped.Bip01_L_Hand" 0.00 0.00 0.00 rotate -0.00 0.00 0.00$includemodel "player/cs_player_shared.mdl"$includemodel "player/ak_anims_t.mdl"$surfaceprop "flesh"$eyeposition -0.000 0.000 73.000$illumposition -0.019 1.051 37.307$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00$ikchain rhand ValveBiped.Bip01_R_Hand knee  0.707 0.707 0.000$ikchain lhand ValveBiped.Bip01_L_Hand knee  0.707 0.707 0.000$ikchain rfoot ValveBiped.Bip01_R_Foot knee  0.707 -0.707 0.000$ikchain lfoot ValveBiped.Bip01_L_Foot knee  0.707 -0.707 0.000$ikchain ikclip ValveBiped.weapon_bone_Clip knee  0.707 -0.707 0.000$collisionjoints "phymodel.smd" {

Replace: $hboxset "cstrike" with sourcesdk: $hboxset "sourcesdk"
Delete these:$includemodel "player/cs_player_shared.mdl"$includemodel "player/ak_anims_t.mdl" $includemodel "player/sdk_player_shared.mdl'

Add these:

$hboxset "sdk"

$hboxset "sdk_no_arms"

Copy the $attachments from the original.mdl like bateman.mdl from NMRiH (http://img51.imageshack.us/img51/6355/ze5u.png)

Basically copy everything from that pic into custommodel.qc

Edited by MrPolarBearJ

Share this post


Link to post
Share on other sites

I will just do it, and just upload the file and you can put it in your server folder.

Edit: Actually I don't have the necessary files anymore.

Yes, delete the first line.

You can leave this line alone, I meant you can change the name of the file.

It means I copied the lines from the example .mdl, ex: bateman.mdl can be changed to mymodel.mdl.

Ya don't modify it, it will call for where the textures files should be. So leave it alone.

Yes, delete these. They are actions that only happen in Counter Strike Source.

Original Model.qc does not need to be edited, it is your guide line.

Replace: $hboxset "cstrike" with sourcesdk: $hboxset "sourcesdk"
Delete these:$includemodel "player/cs_player_shared.mdl"$includemodel "player/ak_anims_t.mdl" $includemodel "player/sdk_player_shared.mdl'

Add these:

$hboxset "sdk"

$hboxset "sdk_no_arms"

Copy the $attachments from the original.mdl like bateman.mdl from NMRiH (http://img51.imageshack.us/img51/6355/ze5u.png)

Basically copy everything from that pic into custommodel.qc

Thanks.

Qc file until I finished editing. Thank you for your kind explanation.
I want to ask one more thing.
[phymodel.smd] is How do I fix it?
1. If I want to use GF(gordon freeman) if the skin, I need to use the file bateman-all.smd of me?
2. Or, GF-all.smd need to edit it?
If you need to choose 2, then
54 "ValveBiped.weapon_bone" 38

55 "ValveBiped.weapon_bone_left" 19

56 "CoatB6" 1

57 "CoatA6" 1

58 "CoatC6" 1

59 "CoatB3" 6

60 "CoatC3" 6

61 "CoatA3" 6

This was the bateman-phymodel.smd in weapon_bone source.
Does it need to be added to GF-all.smd?
43 "ValveBiped.weapon_bone" 9

44 "ValveBiped.weapon_bone_RHand" 43

45 "ValveBiped.weapon_bone_LHand" 44

46 "ValveBiped.weapon_bone_Clip" 45

47 "ValveBiped.Bip01_L_Finger12" 23

end
This This is part of the nodes in the GF-all.smd.
Line (47) and END lines between add 54~61 lines?
ㄴThis work was just. However, all weapons except for a flashlight attached to the body.
Edited by ys24ys

Share this post


Link to post
Share on other sites

Thanks.

Qc file until I finished editing. Thank you for your kind explanation.
I want to ask one more thing.
[phymodel.smd] is How do I fix it?
1. If I want to use GF(gordon freeman) if the skin, I need to use the file bateman-all.smd of me?
2. Or, GF-all.smd need to edit it?
If you need to choose 2, then
54 "ValveBiped.weapon_bone" 38

55 "ValveBiped.weapon_bone_left" 19

56 "CoatB6" 1

57 "CoatA6" 1

58 "CoatC6" 1

59 "CoatB3" 6

60 "CoatC3" 6

61 "CoatA3" 6

This was the bateman-phymodel.smd in weapon_bone source.
Does it need to be added to GF-all.smd?
43 "ValveBiped.weapon_bone" 9

44 "ValveBiped.weapon_bone_RHand" 43

45 "ValveBiped.weapon_bone_LHand" 44

46 "ValveBiped.weapon_bone_Clip" 45

47 "ValveBiped.Bip01_L_Finger12" 23

end
This This is part of the nodes in the GF-all.smd.
Line (47) and END lines between add 54~61 lines?
ㄴThis work was just. However, all weapons except for a flashlight attached to the body.

Well I have been trying to figure out which bones will make the model hold the weapon properly, one of my skins almost holds the weapon perfectly. I just have to go thru it and change another skin to do the same. I didn't copy the coat bones, but I did copy the weapon_bone_left, since I figured it would be needed. But you may also have to play with the numbers at the end till they are perfect. Just trial and error, I will most likely be doing this until I figure out the perfect bone numbers and everything.

Edit: I just replaced 43-47 with 54-55, but you can try different things as well. Just what I did.

Edited by MrPolarBearJ

Share this post


Link to post
Share on other sites

http://cloud-3.steampowered.com/ugc/723122970158765914/D189BA4D92CD805CE76A5BD3714FBB0DCEBC46FE/

(Success Img)

Custom skins are now holding the weapon properly.

With the help of your success. Smd file had all the answers.

Thanks!

Congrats, I am glad I could help you. I will make a video since it seems the images are breaking. If you could let me know what you all changed, like copy and past the custom model or upload them and give me the links. I can then make sure it works with every model.

Share this post


Link to post
Share on other sites

Im having the problem that ys24ys had with what numbers I should Put In weapon_bone but I didnt really get your answer because im retarded.

I just replaced 43-47 with 54-55, but you can try different things as well. Just what I did - I have no idea what you mean what did you replace can you post a picture?

My phymodel is looking like this:

version 1
nodes
0 "ValveBiped.Bip01_Pelvis" -1
1 "ValveBiped.Bip01_L_Thigh" 0
2 "ValveBiped.Bip01_L_Calf" 1
3 "ValveBiped.Bip01_L_Foot" 2
4 "ValveBiped.Bip01_L_Toe0" 3
5 "ValveBiped.Bip01_R_Thigh" 0
6 "ValveBiped.Bip01_R_Calf" 5
7 "ValveBiped.Bip01_R_Foot" 6
8 "ValveBiped.Bip01_R_Toe0" 7
9 "ValveBiped.Bip01_Spine" 0
10 "ValveBiped.Bip01_Spine1" 9
11 "ValveBiped.Bip01_Spine2" 10
12 "ValveBiped.Bip01_Spine4" 11
13 "ValveBiped.Bip01_Neck1" 12
14 "ValveBiped.Bip01_Head1" 13
15 "ValveBiped.forward" 14
16 "ValveBiped.Bip01_L_Clavicle" 12
17 "ValveBiped.Bip01_L_UpperArm" 16
18 "ValveBiped.Bip01_L_Forearm" 17
19 "ValveBiped.Bip01_L_Hand" 18
20 "ValveBiped.Bip01_L_Finger2" 19
21 "ValveBiped.Bip01_L_Finger21" 20
22 "ValveBiped.Bip01_L_Finger22" 21
23 "ValveBiped.Bip01_L_Finger1" 19
24 "ValveBiped.Bip01_L_Finger11" 23
25 "ValveBiped.Bip01_L_Finger12" 24
26 "ValveBiped.Bip01_L_Finger0" 19
27 "ValveBiped.Bip01_L_Finger01" 26
28 "ValveBiped.Bip01_L_Finger02" 27
29 "ValveBiped.Bip01_L_Wrist" 18
30 "ValveBiped.Bip01_L_Ulna" 18
31 "ValveBiped.Bip01_R_Clavicle" 12
32 "ValveBiped.Bip01_R_UpperArm" 31
33 "ValveBiped.Bip01_R_Forearm" 32
34 "ValveBiped.Bip01_R_Hand" 33
35 "ValveBiped.Bip01_R_Finger2" 34
36 "ValveBiped.Bip01_R_Finger21" 35
37 "ValveBiped.Bip01_R_Finger22" 36
38 "ValveBiped.Bip01_R_Finger1" 34
39 "ValveBiped.Bip01_R_Finger11" 38
40 "ValveBiped.Bip01_R_Finger12" 39
41 "ValveBiped.Bip01_R_Finger0" 34
42 "ValveBiped.Bip01_R_Finger01" 41
43 "ValveBiped.Bip01_R_Finger02" 42
44 "ValveBiped.Bip01_R_Wrist" 33
45 "ValveBiped.Bip01_R_Ulna" 33
46 "ValveBiped.weapon_bone" 38
47 "ValveBiped.weapon_bone_RHand" 46
48 "ValveBiped.weapon_bone_LHand" 47
49 "ValveBiped.weapon_bone_Clip" 48
50 "ValveBiped.weapon_bone_left" 19
51 "CoatB6" 1
52 "CoatA6" 1
53 "CoatC6" 1
54 "CoatB3" 6
55 "CoatC3" 6
56 "CoatA3" 6
end
NOW WHAT EXACTLY WHAT LINE AM I GONNA CHANGE AND WHAT TO? im so confused with this coding shit. MrPolarBear PLS SAVE ME!
Edit: Now I understand that I have to change this but to what, I know there is different settings for different models but what is the best overall? because now the hands are going trough the weapons on my servers.
47 "ValveBiped.weapon_bone_RHand" 46
48 "ValveBiped.weapon_bone_LHand" 47
49 "ValveBiped.weapon_bone_Clip" 48
Edited by TUSK3N1337

Share this post


Link to post
Share on other sites

If I fix this and someone can answer my question I will recompile almost every model on s-low.net to nmrih models and upload them on ww.nmrih.gamebanana.com and make a tutorial using sm_skinchooser_hl2dm. Can someone please explain what Im supposed to do?

Edit: The model is holding the weapon but not properly the hands are going trough the weapon and I dont know what to change/edit!
This is what it looks like:
hH128UT.jpg
xGyVLxE.jpg
Edited by TUSK3N1337

Share this post


Link to post
Share on other sites

everything working, BUT when other players join in server, they have invisible skins, how i can setup default skins for everyone and I want to use skins only for me... sorry for my bad english

Share this post


Link to post
Share on other sites

everything working, BUT when other players join in server, they have invisible skins, how i can setup default skins for everyone and I want to use skins only for me... sorry for my bad english

It's because you don't writing for [Precache] problem.

└addons/sourcemod/configs/sm_skinchooser_hl2dm/skinchooserdownloads.ini

Share this post


Link to post
Share on other sites

Hey,

Is it possible to change the skins of: zombies, and weapons?

zombies = yes (my RPG server in use.)

weapons = i don't know.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now