Counter-Strike: Source blends Counter-Strike's award-winning teamplay action with the advanced technology of Source technology. Featuring state of the art graphics, all new sounds, and introducing physics, Counter-Strike: Source is a must-have for every action gamer. Game updates since mid 2010 are done by Hidden Path Entertainment.

Post tutorial Report RSS Fixing CS:S Worldmodel for HL2 NPCs/HL2MP Players

Fixing Counter-Strike: Source's weapon worldmodels for use with HL2 NPCs/HL2MP Players.

Posted by on - Basic Weapons Modelling

repost of: Source.gamebanana.com

Hi guys!
no one asked for this but I know this will really help aspireing moders. now, as you should know I made this witch is all of CStrike's default worldmodels on HL2 bones. so, this tutorial we will be going over making CSS weapon worldmodels to be on HL2's bones.what you will need:

Now lets get started... also I'm sorry for my bad english. its not that I'm not english, I'm just an idiot.Now first decompile the model into a folder like, say the model is w_pist_deagle.mdl then call the folder "decompiled_deagle" and then you should see something like:
w_pist_deagle_anims (folder)
w_pist_deagle_logs (folder)
w_pist_deagle.qc
w_pist_deagle_reference.smd
and next you will need to open hl2_misc_dir.vpk (Its in a lot of source engine games like HL2, TF2, CSS, Portal, ect) it will be in the hl2 folder.
and when in side of it open "models" then "weapons" and inside of that take W_pistol (take the one for the type of weapon, like a MP5 you would use w_SMG1 or for a rfile you would use "w_irifle", ect) and extract it into a folder.

Then decompile it as "decompiled_pistol" and inside of it you should see:
w_pistol_anims (folder)
w_pistol_logs (folder)
w_pistol.qc
w_pistol_physics.smd
w_pistol_pistol_reference_lod1.smd
w_pistol_reference.smd
now that you have that you should now open your modeling tool (I'm using blender, so it might not be the same for everyone) and delete the camera, light and default cube.
then use the import option under file to import the w_pistol.qc and then import w_pist_deagle_reference.smd and line it up to w_pistol_reference.smd and then delete:
w_pistol_reference.smd
w_pistol_pistol_reference_lod1.smd

now, export it into where you have decompiled the deagle as a .SMD and then open w_pist_deagle.qc and edit the $modelname to be, well, lets say "weapons\w_pist_meagle.mdl" or what ever you want the model to be named.
now compile it in crowbar and test it in the HLMV.
open a NPC model, say alyx.mdl and then load your weapon as a weapon model.
if you like how it came out, your done!
if you don't, try the alining step again.

Images:

Comments
Maggy_

**** gun :D

Reply Good karma Bad karma+5 votes
Gunship_Mark_II
Gunship_Mark_II

Thank you for the tutorial, very helpful.

I spy Ashens videos :3

Reply Good karma Bad karma+4 votes
RaraCerberus Author
RaraCerberus

yeah I like watching his or JonTron's videos while I work on things.

Reply Good karma+3 votes
LastLifeOfficial
LastLifeOfficial

Such a good tutorial dud, thanks :D

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
Counter-Strike: Source
Platforms
Windows
Developer & Publisher
Valve
Engine
Source
Contact
Send Message
Release date
Game watch
Follow
Purchase
Tutorial
Browse
Tutorials
Report
Report
Share
Related Games
Counter-Strike: Source
Counter-Strike: Source First Person Shooter
Half-Life 2
Half-Life 2 First Person Shooter
Half-Life 2: Deathmatch
Half-Life 2: Deathmatch First Person Shooter
Half-Life 2: Episode One
Half-Life 2: Episode One First Person Shooter
Half-Life 2: Episode Two
Half-Life 2: Episode Two First Person Shooter
Half-Life 2: Lost Coast
Half-Life 2: Lost Coast First Person Shooter
Related Engines
Source
Source Commercial
Related Groups
Valve
Valve Developer & Publisher