How to change weapons

How to change weapons

Re: How to change weapons Posted by Necromancer on Fri Mar 9th 2012 at 4:42am
Necromancer
392 posts
Posted 2012-03-09 4:42am
392 posts 1499 snarkmarks Registered: May 5th 2008
Does anyone know how to change the clip size of a weapon and how to change the fire rate and accuracy as well? Any ideas as to what file you would need to modify and how to do it?

Thanks.
Re: How to change weapons Posted by Necromancer on Fri Mar 9th 2012 at 5:50am
Necromancer
392 posts
Posted 2012-03-09 5:50am
392 posts 1499 snarkmarks Registered: May 5th 2008
Could this information be within one of the dll files? and if so any ideas which one? Also, if this is the case could anyone recommend a good dll viewer, the easier to use the better. I looked into it already but it seems complicated from the screenshots. Any ideas?
Re: How to change weapons Posted by omegaslayer on Sat Mar 10th 2012 at 2:16am
omegaslayer
2481 posts
Posted 2012-03-10 2:16am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
I think you can find those items in the script directories. I'm not sure I don't think anyone here has really modded a game that heavily and is still around.

But I'm more here to tell you that dll files aren't viewable in the sense of what your talking about. dll itself stands for dynamic-linked-library. I won't go into the details but theres nothing that can view it in the sense of tar, gcf, zip or pak files. If you were to open it in a text editor would contain linkable function names and (what looks like gibberish to us) executable code. You can't edit these files (unless you're a windows hacker), you can only compile and link programs against them.
Posting And You
Re: How to change weapons Posted by Necromancer on Sat Mar 10th 2012 at 5:22am
Necromancer
392 posts
Posted 2012-03-10 5:22am
392 posts 1499 snarkmarks Registered: May 5th 2008
Where would you find these script directories? I did find a script directory in my valve folder but there is only one script in there and has nothing to do with this. (It's voicemodel script) I also did extensive searching in the pak files and did not find anything like this.

Any ideas where to look for it?
Re: How to change weapons Posted by omegaslayer on Sat Mar 10th 2012 at 6:03pm
omegaslayer
2481 posts
Posted 2012-03-10 6:03pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Necromancer said:
Any ideas where to look for it?
No idea. But I think I was wrong. I remembered this last night: in source those weapon values are hard coded in the weapon header files. I don't think you can change the values unless you code your own mod.
Posting And You
Re: How to change weapons Posted by Necromancer on Sat Mar 10th 2012 at 9:26pm
Necromancer
392 posts
Posted 2012-03-10 9:26pm
392 posts 1499 snarkmarks Registered: May 5th 2008
I don't think you can change the values unless you code your own mod.
I assume you wouldn't know how to do this?
Re: How to change weapons Posted by Necromancer on Sat Mar 10th 2012 at 9:38pm
Necromancer
392 posts
Posted 2012-03-10 9:38pm
392 posts 1499 snarkmarks Registered: May 5th 2008
Would the Half-Life SDK allow me to do what I want? Also, what exactly is the HL SDK?