[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Changing damage on diffirent weapons?

Changing damage on diffirent weapons?

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Changing damage on diffirent weapons?

Postby Karall » Sat Dec 11, 2010 12:37 pm

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

Postby Spirit » Sat Dec 11, 2010 1:10 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: 1037
Joined: Sat Nov 20, 2004 9:00 pm

Postby Karall » Sat Dec 11, 2010 2:08 pm

Ile borrow my own thread as always. It says in the console when i bring up the weapon that its not precached. How would i precach it?
Karall
 
Posts: 128
Joined: Thu Jul 15, 2010 5:23 pm

Postby Spirit » Sat Dec 11, 2010 5:54 pm

What is not precached.

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: 1037
Joined: Sat Nov 20, 2004 9:00 pm

The damage system is wierd

Postby EMR » Tue Dec 14, 2010 7:47 pm

EMR
 
Posts: 13
Joined: Mon Oct 11, 2010 8:08 pm


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 2 guests