SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   FX Update torpedo splash back! (https://www.subsim.com/radioroom/showthread.php?t=204097)

gap 05-05-13 06:42 PM

Quote:

Originally Posted by volodya61 (Post 2051927)
Kidding me? :D
I remember he had once advised you to change the height of the chute opening (FX Update).. that's why I was sure that I'm able to edit his files.. at least in this mod..
Any thoughts how can I save them?

EDIT: HEX-Editor?

Two ways:
  1. Hex Editing (the easier one, but you need to know what to look for)

  2. Do it the hard way:

    • Open TDW_FXU_Torp_Explosion_Particles.DAT with S3d.
    • Look for its ParticleGenerators, and replace them with any of the ParticleGenerator found in stock particles.dat (which, dunno why are S3d-friendly... older version of the controller? :hmm2:). The easier way to do it is to copy (shift ctrl c) / paste the new controllers where you want.
    • Give the pasted generators the same settings as TDW's ParticleGenerators (for reference, you might want to open a second instance of the same file in Goblin), exception made for the settings you want to change. This has to be done manually. :doh:
    • Save.
    • If needed, you should repeat the same steps for TDW_FXU_Torp_Explosion_Materials.DAT. :dead:

    Is it worth it? :hmmm:

volodya61 05-05-13 06:54 PM

It's not worth it.. because I don't need any stock ParticlesGenerator.. I only need to change 5-6 numbers in the TDW's ParticleGenerator.. stock ParticleGenerator I can place in torpedoes .sim instead of TDW's without any problems.. but then I couldn't use effects of TDW_FXU_Torp_Exsplosion_Particles.dat :shifty: :nope:

gap 05-05-13 07:13 PM

Quote:

Originally Posted by volodya61 (Post 2051947)
It's not worth it.. because I don't need any stock ParticlesGenerator.. I only need to change 5-6 numbers in the TDW's ParticleGenerator.. stock ParticleGenerator I can place in torpedoes .sim instead of TDW's without any problems.. but then I couldn't use effects of TDW_FXU_Torp_Exsplosion_Particles.dat :shifty: :nope:

no, you didn't get me. I didn't suggest you to use the stock torpedo splash particle generator. I suggested you to use a version of the particle generator controller that can be handled by S3d "plus" (:03:), and to set it according to TDW's settings. Copying/pasting it, is just a way to make sure that you are using the right type of controller, but you could have added it (the SH3/SH4, lesser detailed, version of it) through S3d's "append new child chunk" menu, if you know what I mean.

Anyway, I agree with you that it is not worth the time you would spend in it :)

volodya61 05-06-13 04:55 AM

Quote:

Originally Posted by gap (Post 2051956)
Anyway, I agree with you that it is not worth the time you would spend in it :)

Anyway, I keep trying.. I am a stubborn guy.. :har:

Fifi 05-06-13 05:34 AM

Stubborn can be a quality sometime :)

gap 05-06-13 07:07 AM

Quote:

Originally Posted by volodya61 (Post 2052052)
Anyway, I keep trying.. I am a stubborn guy.. :har:

Quote:

Originally Posted by Fifi (Post 2052062)
Stubborn can be a quality sometime :)

I am not saying that improving the torpedo splash is not worth it; it is of course :yep:
I just meant that the second method suggested by me is too long if you think that TDW could do the same in 10 minuts and probably with better results :03: :salute:

volodya61 05-06-13 07:34 AM

Quote:

Originally Posted by gap (Post 2052088)
I just meant that the second method suggested by me is too long if you think that TDW could do the same in 10 minuts and probably with better results :03: :salute:

I know.. he could.. and why he didn't do it so far? I noticed this bug (not visible torpedo splash on far distance) more than a year ago..

PS: am learning OllyDbg now :har:

EDIT: :oops: I thought it works with any file as a regular HEX-Editor..

gap 05-06-13 08:54 AM

Quote:

Originally Posted by volodya61 (Post 2052100)
I know.. he could.. and why he didn't do it so far? I noticed this bug (not visible torpedo splash on far distance) more than a year ago..

I see, missing the basics of SH hex editing, I would go for S3d and my long, boring method then :hmmm:

Quote:

Originally Posted by volodya61 (Post 2052100)
PS: am learning OllyDbg now :har:

EDIT: :oops: I thought it works with any file as a regular HEX-Editor..

If you want to hex edit those settings, I suggest you to download XVI32. There is much information on SH binaries hex editing sparse in the forum, mostly on SHIII and IV (SH5's file structure should be pretty the same anyway), but not an all-embracing tutorial. Learnig hex editing "secrets" without the help of someone who knows them, could take quite a long time (probably longer than doing the changes in S3d, they way I suggested), but on the long therm it will be more fruitful :up:

volodya61 05-06-13 10:42 AM

Quote:

Originally Posted by gap (Post 2052117)
I see, missing the basics of SH hex editing, I would go for S3d and my long, boring method then :hmmm:
..
If you want to hex edit those settings, I suggest you to download XVI32. There is much information on SH binaries hex editing sparse in the forum, mostly on SHIII and IV (SH5's file structure should be pretty the same anyway), but not an all-embracing tutorial. Learnig hex editing "secrets" without the help of someone who knows them, could take quite a long time (probably longer than doing the changes in S3d, they way I suggested), but on the long therm it will be more fruitful :up:

I finally did it using UltraEdit.. but for some mystical reason I still can't see water columns after explosion through the scope :hmmm:.. all others effects I can see now.. :06:

gap 05-06-13 11:52 AM

Quote:

Originally Posted by volodya61 (Post 2052162)
I finally did it using UltraEdit.. but for some mystical reason I still can't see water columns after explosion through the scope :hmmm:.. all others effects I can see now.. :06:

Are you sure you have edited the right addresses? Using XVI32 I looked for the names used by TDW for his particle generators; take "TorpExplosionSplashRDelay" for instance:

http://img585.imageshack.us/img585/1646/hex1j.jpg

A bit below the ParticleGenerator's label that I had looked for (marked in yellow), I have located the relative GlobalScaleFar group, with its properties: Distance, DensityScale and OpacityScale (green highlighted text strings). The settings you should edit are marked in various shades of red/pink. Using XVI32 you move the cursor on the address you want to edit, and you select from the menu bar Edit => Overwrite String.

I have no idea how to convert from decimal settings set in Goblin/S3d to Hex values (it is not something you simply do with the decimal/hex converter), but you can create a dat file with just one particle generator of the old type (editable via s3d), input there the wanted decimal settings, save the file, open it in the HexEditor, and see from there what should be the desired hexadecimal settings :03:

volodya61 05-06-13 01:36 PM

Quote:

Originally Posted by gap (Post 2052184)
Are you sure you have edited the right addresses?

Yep :yep:.. I'm sure..
Let me use the Pics language too :D

before -

http://s19.postimg.org/hu507nlz3/before.jpg

after -

http://s19.postimg.org/jn7wvz75r/after.jpg

Also, after a lot of diggings I came to not acceptable results :-?
Fx Update explosion water splash effect, range 1.5 km -

http://s19.postimg.org/55apnzfun/FX_splash1.jpg . http://s19.postimg.org/dc2pfk5xb/FX_splash2.jpg . http://s19.postimg.org/w5oick45b/FX_splash3.jpg . http://s19.postimg.org/fj6y3hb7j/FX_splash4.jpg

Stock explosion water splash effect, range 1.5 km -

http://s19.postimg.org/irbfgixhb/Stock_splash1.jpg . http://s19.postimg.org/sq0zgqwan/Stock_splash2.jpg . http://s19.postimg.org/8763boidb/Stock_splash3.jpg . http://s19.postimg.org/bfakoq4n3/Stock_splash4.jpg

I mentioned earlier about the missing 'water column' effect of FX Update, here -

http://s19.postimg.org/ga49n02yn/water_column1.jpg . http://s19.postimg.org/73qkdgn3z/water_column2.jpg . http://s19.postimg.org/x0k8q2qrj/water_column3.jpg . http://s19.postimg.org/vzk00y9rz/water_column4.jpg

This effect I'm able to see only within range 100-800 meters..

What do you think, guys?

PS:
Quote:

Originally Posted by gap (Post 2052184)
I have no idea how to convert from decimal settings set in Goblin/S3d to Hex values (it is not something you simply do with the decimal/hex converter)..

You forgot something :D.. Google is our best friend.. :O:

TheDarkWraith 05-06-13 02:34 PM

I set the effects to be less at greater distances to minimize the impact on the end-users system. If you are up close usually not many items are being rendered in the game and thus the effect is at full effect.

If you want the effects to be less reduced at greater ranges try this: http://www.mediafire.com/?r150o3mpn849udy

:|\\

volodya61 05-06-13 02:48 PM

Quote:

Originally Posted by TheDarkWraith (Post 2052246)
I set the effects to be less at greater distances to minimize the impact on the end-users system. If you are up close usually not many items are being rendered in the game and thus the effect is at full effect.

I see :yep:

Quote:

Originally Posted by TheDarkWraith (Post 2052246)
If you want the effects to be less reduced at greater ranges try this: http://www.mediafire.com/?r150o3mpn849udy

:|\\

Thanks a lot TDW, because my first steps in hex-editing were terrible for me :D..

volodya61 05-06-13 03:47 PM

Quote:

Originally Posted by TheDarkWraith (Post 2052246)
If you want the effects to be less reduced at greater ranges try this:

Quote:

Originally Posted by volodya61 (Post 2052255)
Thanks a lot TDW, because my first steps in hex-editing were terrible for me :D..

Still no luck :-?..
I just have tried even such settings -

http://s19.postimg.org/j5qjlclq7/EDIT.jpg

'Water column' effect is visible at the ranges not further than 700-800 meters.. :nope:

TheDarkWraith 05-06-13 04:09 PM

Quote:

Originally Posted by volodya61 (Post 2052315)
'Water column' effect is visible at the ranges not further than 700-800 meters.. :nope:

That's because I have them set to max distance of 700m in that file I posted. How far out you want to see them :06:

Fifi 05-06-13 04:46 PM

Quote:

Originally Posted by TheDarkWraith (Post 2052331)
That's because I have them set to max distance of 700m in that file I posted. How far out you want to see them :06:

2000m :yep:...or like stock game splash distance...if my rig can handle it :salute:

volodya61 05-06-13 05:19 PM

Quote:

Originally Posted by TheDarkWraith (Post 2052331)
That's because I have them set to max distance of 700m in that file I posted. How far out you want to see them :06:

TDW, I have tried different settings.. 400 (my edition), 700 (your file) and even 1500 - my last edition, as you can see on the screen in my previous post.. 'water columns' effect is not visible further than 700 meters with any settings which I tried.. :shifty:

Quote:

Originally Posted by Fifi (Post 2052349)
2000m :yep:...or like stock game splash distance...if my rig can handle it :salute:

Stock game range is 400.. my screens with this range for both files (stock and TDW's) you can see earlier in the thread..

EDIT: I'm not even sure that these values (400, 700 etc.) are in meters.. rather seems like some kind of game's units..

gap 05-06-13 05:39 PM

Quote:

Originally Posted by volodya61 (Post 2052374)
TDW, I have tried different settings.. 400m (my edition), 700m (your file) and even 1500m - my last edition, as you can see on the screen in my previous post.. 'water columns' effect is not visible further than 700 meters with any settings which I tried.. :shifty:



Stock game range is 400 meters.. my screens with this range for both files (stock and TDW's) you can see earlier in the thread..

Volodya, have you tried further increasing the far density scale? Try setting it to 1 or more and see what happens :hmm2:

volodya61 05-06-13 05:43 PM

Quote:

Originally Posted by gap (Post 2052381)
Volodya, have you tried further increasing the far density scale? Try setting it to 1 or more and see what happens :hmm2:

No, not yet.. do you think it worth to try? I'll try a little later :)..

EDIT: on the other hand - 1 is a stock setting :hmm2:
EDIT2: oops.. I messed up.. I thought you said about opacity scale.. OK.. will try density

gap 05-06-13 05:51 PM

Quote:

Originally Posted by volodya61 (Post 2052383)
No, not yet.. do you think it worth to try? I'll try a little later :)..

close density scale is 1. Maybe using 0.05 as far density is pretending too much: particles get so small and so sparse that they are hardly rendered on our monitors :hmmm:


All times are GMT -5. The time now is 01:07 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.