Changing damage on diffirent weapons?
Moderator: InsideQC Admins
5 posts
• Page 1 of 1
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.
- Karall
- Posts: 128
- Joined: Thu Jul 15, 2010 5:23 pm
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/SpiritQuaddicted/Quaddicted-reviews
- Spirit
- Posts: 1031
- Joined: Sat Nov 20, 2004 9:00 pm
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/SpiritQuaddicted/Quaddicted-reviews
- Spirit
- Posts: 1031
- Joined: Sat Nov 20, 2004 9:00 pm
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.
- EMR
- Posts: 13
- Joined: Mon Oct 11, 2010 8:08 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest