Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Gaming > Development Programming Algorithms > Re: bullet dama...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 622 of 680
Post > Topic >>

Re: bullet damage

by nathan@[EMAIL PROTECTED] (Nathan Mates) Mar 4, 2007 at 05:15 PM

In article <1173025984.052373.212420@[EMAIL PROTECTED]
>,
 <bob@[EMAIL PROTECTED]
> wrote:
>I was just wondering what formula most games use for determining the
>damage a bullet does.  Any help is welcome.

   Well, most games have the concept of health, in some sort of 'hit
points'. (This traces its way back to games like Dungeons & Dragons,
which has influenced a LOT of game simulations; try playing it or some
of the other tabletop world simulators like GRUPS or the like).  A
person might have a max health of 100, and a tank might be 10,000.

   As to damage from a bullet, the simplest way is to say that a
bullet does 5 (or some other number) points of damage. (This is
something that's best NOT specified in code, but in some external file
that the game designers can do). Then, you can get more complicated
depending on how much time you want to spend. You can factor in things
like armor (which reduce off some % of damage). You can do things like
try to figure out where the damage took place (e.g. a headshot is 5x
normal damage, a foot shot is 1/2 normal damage). There's no standard
formula for all this; it all depends on how much those doing the
system want to work with.

   As above, read up on tabletop world simulators like
[A]D&D/GRUPS/etc, and you'll get a better understanding into how
things work.

Nathan Mates
--
<*> Nathan Mates - personal webpage http://www.visi.com/~nathan/
 
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A.
Heinlein
 




 4 Posts in Topic:
bullet damage
bob@[EMAIL PROTECTED]   2007-03-04 08:33:04 
Re: bullet damage
Miss Elaine Eos <Misc@  2007-03-04 16:54:55 
Re: bullet damage
nathan@[EMAIL PROTECTED]   2007-03-04 17:15:17 
Re: bullet damage
"Jim Langston"   2007-03-04 10:39:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 19:24:09 CDT 2008.