SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-13-13, 09:23 AM   #14
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
Why not to try both ways?
Okay, wait for my updates

Quote:
Originally Posted by volodya61 View Post
OK, I will try to play around these parameters
About overlife settings. There are two types of the: OverLife is generally calculated over each particle's life (as set with Life and Life Variation parameters), whereas OverGeneratorLife uses total particle generator's life (LifeTime parameter). How they work: they are organized in an array of several entries. Each entry got two properties: LifeTime and Scale. LifeTime is an elapsed-time placer, and it is a percent of particle's of generator's total life; Scale is a multiplier, and it gets multiplied to the general property setting.

Let's make an example:

particula01 in TDW_FXU_Torp_Explosion_Materials.DAT. Its life duration is set to 4 sec (no life variation set). Size setting is 1 x (1 ± 0.5) = 0.5 to 1.5. Overlife settings are:
  • [0] LifeTime 0; Scale 0 => at 0 x 4 sec = 0 sec, particle's size is 1 x (0.5 to 1.5) x 0 = 0
  • [1] LifeTime 0.1; Scale 1 => at 0.1 x 4 sec = 0.4 sec, particle's size is 1 x (0.5 to 1.5) = 0.5 to 1.5
  • [2] LifeTime 0.3; Scale 1.5 => at 0.3 x 4 sec = 1.2 sec, particle's size is 1.5 x (0.5 to 1.5) = 0.75 to 2.25
  • [3] LifeTime 1; Scale 2.5 => at 1 x 4 sec = 4 sec, particle's size is 2.5 x (0.5 to 2.5) = 1.25 to 6.25
  • [4] LifeTime 1; Scale 1 => see below
  • [5] LifeTime 1; Scale 1 => see below

LifeTime settings are ordered in ascending orders from 0 to 1. Particle's size is interpolated linearly between two consecutive overlife settings. Sometimes (like in our example), after the first LifeTime = 1 OverLife entry, there are other entries ([4] and [5] in our case), but I believe tha they are ignored in game. Getting back to the torpedo splash effect, I would try the following settings (settings changed in orange):

[3] LifeTime 0.75; Scale 2.5
[4] LifeTime 1; Scale 0.5

Also, at this stage I suggest to only tweak overlife size of particles using my new water splash texture (i.e. particula01 and 03), as we can expect vapour particles to expand much more in the air.
gap 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 12:07 AM.


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.