Reduce damage over distance

Discuss all aspects related to modding Zandronum here.
Post Reply
Faad3e_
New User
Posts: 18
Joined: Wed Sep 12, 2012 9:32 pm

Reduce damage over distance

#1

Post by Faad3e_ » Wed Dec 18, 2013 11:39 pm

Is there some kind of way to reduce the damage from a hitscan based on distance? (Example: Some kind of thing that at point blank deals 16 damage, then gradually reduces to 4 damage based on the distance the hitscan traveled)

User avatar
Ænima
Addicted to Zandronum
Posts: 3583
Joined: Tue Jun 05, 2012 6:12 pm

RE: Reduce damage over distance

#2

Post by Ænima » Wed Dec 18, 2013 11:43 pm

Not really. You'd have to "stack" multiple A_FireBullets and give them all slightly more range than the last.
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

Faad3e_
New User
Posts: 18
Joined: Wed Sep 12, 2012 9:32 pm

RE: Reduce damage over distance

#3

Post by Faad3e_ » Wed Dec 18, 2013 11:48 pm

Ænima wrote: Not really. You'd have to "stack" multiple A_FireBullets and give them all slightly more range than the last.

Alright, thanks a lot, ill try to make do with that.

User avatar
-Jes-
Frequent Poster Miles card holder
Posts: 975
Joined: Fri Aug 03, 2012 9:55 am
Location: Void Zone

RE: Reduce damage over distance

#4

Post by -Jes- » Thu Dec 19, 2013 1:32 am

Keep in mind, this only works with a perfectly accurate weapon - the second you introduce any form of inaccuracy, you end up with a shotgun pattern up close.

User avatar
Ænima
Addicted to Zandronum
Posts: 3583
Joined: Tue Jun 05, 2012 6:12 pm

RE: Reduce damage over distance

#5

Post by Ænima » Thu Dec 19, 2013 2:02 am

-Jes- wrote: Keep in mind, this only works with a perfectly accurate weapon - the second you introduce any form of inaccuracy, you end up with a shotgun pattern up close.
Oh yeah I forgot to mention that.
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

Post Reply