Jump to content
  • 0

About Randomness of Damage


K_Doom

Question

Hi guys, editing weapons I came across something curious, a lot of damage is known in 5*3 (like A_FireBullets), and other damage like rocket launcher is something like 8*20, etc. Could this be changed? Where do I find these codes to change the damage or create a new "ratio" of damage randomness? 🤔

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0
3 minutes ago, sluggard said:

well, u can use random(min,max) for damage parameter of ur a_firdbullets

Does random (min, max) work by selecting just these two values randomly or does it work by selecting the numbers between min and max? For example, numbers between 1 (minimum) and 9 (maximum).

Share this post


Link to post
  • 0
20 minutes ago, ramon.dexter said:

Random always selects the numbers in between the said numbers.

Thanks

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...