Changing damage on diffirent weapons?
Changing damage on diffirent weapons?
Alright. So what i want to do is make the damage higher on my weapons but i dont know how the damage system works. Is it like a bullet has a set amount of damage that it does or do diffirent weapons do diffirent amounts of damage.
Just check out some http://inside3d.com/tutorials.php to get into it. It depends on the weapon and ranges from being trivial to being a bit more complicated.
Improve Quaddicted, send me a pull request: https://github.com/Quaddicted/quaddicted-data
What is not precached.
Check the source code for "precache" and see how it is done.
Check the source code for "precache" and see how it is done.
Improve Quaddicted, send me a pull request: https://github.com/Quaddicted/quaddicted-data
The damage system is wierd
Look around in weapons.qc-the logic isn't too hard to follow. The amount of damage a pellet for the shotgun and supershotgun is set in the same place, because they use the same 'fire bullets' function. But you can make your own version of that function that does a different amount of damage, or add a 'damage' parameter.