Sign in to follow this  

bullet formula

Recommended Posts

I suppose most games depend more on where the bullet hits, ie in 1st person shooters, a headshot is worth more than a shot to the leg, and that could consist of a bunch of bounding boxes for example, which each return a different damage value when hit with a bullet, maybe based on the maximum damage dealable by the type of ammunition you're shooting.

Although i'm a beginner too.. thats one simple way you could do it.

Share this post

Link to post
Share on other sites
If you want the real thing you might want to look at

And some others site about it, it's easy to find. Still in a game you might not want it to be 100% realist cause players don't like it when bullets drop due to gravity and don't end up in their crosshair :)

For a more gaming way, you could have settings for each type of weapon like
Standing/Walking/Running base accuracy
Accuracy lost per bullet/Accuracy gain by not firing
Starting force
Force lost per meter traveled
Hit location percentage (head = 100%, arms legs = 50%, chest 75%) of remainning force when hit or something like that.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this