Wavelength Logo
tl.jpg (2351 bytes) blank.gif (837 bytes) tr.jpg (2446 bytes)
blank.gif (837 bytes)
Changing Damage Amounts Outside the DLL by BigGuy
blank.gif (837 bytes)
In this tutorial I will show you how to change the weapon damages without recompiling the dll. This is actually simpler than going through and hard coding the information in the dll but if you really want to do something like that, possibly to prevent cheating in a single player game, email me.

Ok, lets get to the point. Open up the skill.cfg in notepad. It should be in your Half-Life\valve folder or if this is going to be a single player mod then in Half-Life\YourMod.

Now you should see various lines depicting health and damage inflicted by different monsters and weapons. And the menacing line that says:

// DON'T MESS WITH THIS.

For the ones of you that are still here, scroll down to the line:

// PLAYER WEAPONS

Here you will find all the weapon damages except the snarks, they are placed above that line, and the hornetgun, found under "//Monster Weapons."

Adjust the values you need accordingly and this is also the place you need to add new weapon damages if you are creating new weapons.

This is very simple as you can see but you need to do a lot more than just add a line like "sk_plr_new 50", you would then need to add lines in the dll, which I might go into later.

BigGuy

 

blank.gif (837 bytes)
bl.jpg (2471 bytes) blank.gif (837 bytes) br.jpg (2132 bytes)