How do you do it? I don't know how, I've been looking everywhere for a way to do it.
I'd like to know this too. However I did make a work around in the meantime. You can actually replace the models and animations for the current weapons, without screwing anything up with your source files. (since the mod always checks for content in your mod folder first).
So say you want to replace the mp7 with a m4. You just completely build your new content over the existing weapons content in the directory it would normally be in for the game's folder. Except your building the same content, same directory, same names in your mod's folder. It'll pick up the stuff you added over the old stuff from the half life builds or whatever your using. If you want me to go more in-depth I can, I'm unsure if you even want to do that, considering you said "adding weapons".:)
-However, i feel this way is kinda sloppy. I'd like to know how to direct my own weapons as well.
You have to open source code of your mod and add new weapon using C++.
Also if it's the first time, you can take a look into weapon_pistol code, just to see how it was made.
First Google result:
[url]http://www.moddb.com/games/half-life-2/tutorials/adding-a-new-weapon[/url]
Have fun making some crazy stuff
Sorry, you need to Log In to post a reply to this thread.