SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-02-06, 01:56 PM   #18
JgzMan
Seaman
 
Join Date: Aug 2006
Posts: 33
Downloads: 8
Uploads: 0
Default

If I were going to randomize damage, I would do it as follows:

1) Reduce damage of each and every weapon in the game by, say, 15%, or 25%, or somthing similar. Call that number X. (the actual number, mind you, not the %)
2) each time a weapon explodes, add to the damage a random number ranging from 0 to 2X.

That seems that it wouldn't require too much editing. Each weapon would need an additional constant assosaited with it (the number 2X, for that particular weapon) and a RAND function. To save time, you might call the RAND function on launch, or even on weapon load. Whenever the CPU load is lowest.
JgzMan is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.