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

Reply
 
Thread Tools Display Modes
Old 05-07-13, 06:42 PM   #61
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
Okay

BTW have you noticed TDW's converter has revers conversion.. I mean - 1000 to HEX is 00 00 7A 44.. FloatConvert did it so - 1000 → 44 7A 00 00
The hex number given by the app is it's actual hex value. When working with hex editor you have to take endian type into account. Almost all PCs are little endian by default thus least significant byte is first when viewed in hex editor. Most hex editors let you choose the endian style viewed.

1000 little endian is thus:
00 00 7A 44

1000 big endian is thus:
44 7A 00 00

The app I gave you a link to displays values in big endian notation.
TheDarkWraith is offline   Reply With Quote
Old 05-07-13, 06:52 PM   #62
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
Okay

BTW have you noticed TDW's converter has revers conversion.. I mean - 1000 to HEX is 00 00 7A 44.. FloatConvert did it so - 1000 → 44 7A 00 00
No, I haven't started messing with it yet. Well spotted anyway: this would have probably been my first mistake

Quote:
Originally Posted by TheDarkWraith View Post
The app I gave you a link to displays values in big endian notation.
Good to know. Thank you again

Last edited by gap; 05-07-13 at 07:04 PM.
gap is offline   Reply With Quote
Old 05-07-13, 06:53 PM   #63
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
The hex number given by the app is it's actual hex value. When working with hex editor you have to take endian type into account. Almost all PCs are little endian by default thus least significant byte is first when viewed in hex editor. Most hex editors let you choose the endian style viewed.

1000 little endian is thus:
00 00 7A 44

1000 big endian is thus:
44 7A 00 00

The app I gave you a link to displays values in big endian notation.
Ah.. I see now
Thanks for the explanation
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-08-13, 09:28 AM   #64
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Okay.. here are a few screens..

TorpExplosionWaterDrops Generator only -

. . .


TorpExplosionR&LInitial Generators only -

. . .


TorpExplosionR&LDelay Generators only -

. . .


TorpExplosionGreat Generator only -

. . .


Any thoughts Gabriele?
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-08-13, 09:56 AM   #65
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
Okay.. here are a few screens..

...

Any thoughts Gabriele?
Well done Volodya!

It is obvious that we got to start from the TorpExplosionGreat generator. Let me have a look into its settings, and I will report back in a few
gap is offline   Reply With Quote
Old 05-08-13, 10:12 AM   #66
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by gap View Post
Well done Volodya!

It is obvious that we got to start from the TorpExplosionGreat generator. Let me have a look into its settings, and I will report back in a few
Don't forget, some settings were changed by me - GlobalScaleFar/Distance and DensityScale (1500 and 0.2) in the TDW_FXU_Torp_Explosion_Particles.DAT and the same changes for all TDW_FXU_Particulas in the TDW_FXU_Torp_Explosion_Materials.DAT
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-08-13, 10:35 AM   #67
SkyBaron
Lieutenant
 
Join Date: Mar 2010
Location: South Atlantic
Posts: 261
Downloads: 673
Uploads: 2
Default

Looking good!
__________________


SkyBaron is offline   Reply With Quote
Old 05-08-13, 10:53 AM   #68
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

I've just looked at the first post of the thread again.. Fifi's shots.. maybe stock 'great explosion' effect more closer to realiyt?

I mean this one -



I'll have a look at the stock particles.dat also
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-08-13, 12:05 PM   #69
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
Don't forget, some settings were changed by me - GlobalScaleFar/Distance and DensityScale (1500 and 0.2) in the TDW_FXU_Torp_Explosion_Particles.DAT and the same changes for all TDW_FXU_Particulas in the TDW_FXU_Torp_Explosion_Materials.DAT
Currently looking at bitmap particle materials used directly or indirectly by TorpExplosionGreat:
  • Bitmap Particle: TDW_FXU_PierreE

  • Object Particle: TDW_FXU_Particula01
    • Bitmap Particle: TDW_FXU_PierreE2

  • Object Particle: TDW_FXU_Particula02
    • Bitmap Particle: TDW_FXU_PierreE

  • Object Particle: TDW_FXU_Particula03
    • Bitmap Particle: TDW_FXU_PierreE2

  • Object Particle: TDW_FXU_Particula04
    • Bitmap Particle: TDW_FXU_PierreE

These materials are set through 2/0 nodes in TDW_FXU_Torp_Explosion_Materials.DAT and they can be customized at wish in S3d. This is how their embedded bitmap textures look like:


TDW_FXU_PierreE TDW_FXU_PierreE2

They are almost identical, but PierreE is a bit darker than PierreE2 (difficult to appreciate it against the grey background). A bit too puffy and too soft to give the impression of an ascending column of water, don't you think? I can deal with them anyway

...but before doing it, I believe it is time to further split TorpExplosionGreat in parts, and see how each of its ObjectParticles/BitmapParticles behaves in game. For doing it, you can set the opacity and opacity variation of each particle to 0 and re-enable them one by one as you already did with the various particle generators.
gap is offline   Reply With Quote
Old 05-08-13, 12:14 PM   #70
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
I've just looked at the first post of the thread again.. Fifi's shots.. maybe stock 'great explosion' effect more closer to realiyt?

I mean this one -



I'll have a look at the stock particles.dat also
Yes, its shape is more similar the one seen in historical pictures. But it is way too small. We can take inspiration from it anyway
gap is offline   Reply With Quote
Old 05-08-13, 02:34 PM   #71
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by gap View Post
...but before doing it, I believe it is time to further split TorpExplosionGreat in parts, and see how each of its ObjectParticles/BitmapParticles behaves in game. For doing it, you can set the opacity and opacity variation of each particle to 0 and re-enable them one by one as you already did with the various particle generators.
OK
I'll check these all and will take shots..
Honestly, I wasn't able to change all the values ​​in the Generators so I just removed them using S3D.. when I changed all the values in Generator to 0 using HEX then I checked my changes in Goblin and saw that all the values were changed but not to 0.. that's strange because in HEX all these values are 0 .. probably there is some global parameter but I can't find it..

Quote:
Originally Posted by gap View Post
Yes, its shape is more similar the one seen in historical pictures. But it is way too small. We can take inspiration from it anyway
There is weird thing too.. when I tried to open up particles.dat in Goblin it opens already changed (red color text).. and I can't find out the real values .. so real values I can get only using HEX..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-08-13, 05:28 PM   #72
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Volodya, your TorpExplosionGreat Generator only is very close to what i saw in my first screenshot
It looks even better to me, meaning the water column seems a bit higher and less wider. Very nice!

On side note, this little effect is important to me, and has to be nice even if it's only a matter of few seconds, because it's often the reward of many hours of hunting!
Fifi is offline   Reply With Quote
Old 05-08-13, 07:57 PM   #73
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
OK
I'll check these all and will take shots..
Honestly, I wasn't able to change all the values ​​in the Generators so I just removed them using S3D.. when I changed all the values in Generator to 0 using HEX then I checked my changes in Goblin and saw that all the values were changed but not to 0.. that's strange because in HEX all these values are 0 .. probably there is some global parameter but I can't find it..

There is weird thing too.. when I tried to open up particles.dat in Goblin it opens already changed (red color text).. and I can't find out the real values .. so real values I can get only using HEX..
Yes, I have noticed it too... strange things happen to these files when opened in Goblin. At least we don't run the risk to save the corrupted settings accidentally

Quote:
Originally Posted by Fifi View Post
Volodya, your TorpExplosionGreat Generator only is very close to what i saw in my first screenshot
It looks even better to me, meaning the water column seems a bit higher and less wider. Very nice!

On side note, this little effect is important to me, and has to be nice even if it's only a matter of few seconds, because it's often the reward of many hours of hunting!
What bothers me more about Fx Update's torpedo splash effect are its eccessive "steamy" effect (I understand that during the impact many particles of water are vapourized, but the base of the column should be composed of bigger water drops), and the long lateral sprinkles, making it to resamble a withered mushroom rather than a sudden and huge column of water rising vertically
gap is offline   Reply With Quote
Old 05-08-13, 09:27 PM   #74
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Quote:
Originally Posted by gap View Post
What bothers me more about Fx Update's torpedo splash effect are its eccessive "steamy" effect (I understand that during the impact many particles of water are vapourized, but the base of the column should be composed of bigger water drops), and the long lateral sprinkles, making it to resamble a withered mushroom rather than a sudden and huge column of water rising vertically
And we could go further: depending the depth impact, water column should differt...surface impact, not that much water splash but rather more fire explosion and debris...deeper impact, just big water column without fire explosion
Fifi is offline   Reply With Quote
Old 05-09-13, 02:33 PM   #75
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Well..

TDW_FXU_Torp_Explosion_Particles.DAT
→ ParticlesGenerator → TorpExplosionGreat (only)

1. → BitmapParticles → Material → TDW_FXU_PierreE

1.1 → ObjectParticles → Object → ALL

. . .

1.2 → ObjectParticles → Object → TDW_FXU_Particula01 (only)

.

1.3 → ObjectParticles → Object → TDW_FXU_Particula02 (only)

.

1.4 → ObjectParticles → Object → TDW_FXU_Particula03 (only)

.

1.5 → ObjectParticles → Object → TDW_FXU_Particula04 (only)

.


to be continued..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 04:44 PM.


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