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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 06-28-07, 05:29 PM   #1
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default modding the propeller_wake.txt

to make a brighter and longer lasting wake, what should i change on these stock values?

i don't have a clue what all those numbers are or what they mean.

Tweak file - Propeller_wake.txt

Categories - ParticleGenerator

Names & Values

IsDensityModifierActive = 82
EmissionArea = 7.069602E+28
Lifetime = 6.815916E-42
NoDeleteChildren = 0
RunMode = 218103909
Transparent = 16
DepthBias = 0
LocalWind = 2.610621E+20
GlobalWind = 7.206472E+31
LifeScale = 1.393509E+33
DensityScale = 7.212831E+22
VelocityScale = 6.316688E+29
WeightScale = 1.839165E+25
SizeScale = 9.809089E-45
BitmapParticles = 393319
  Reply With Quote
Old 06-29-07, 05:54 AM   #2
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by WEBSTER
to make a brighter and longer lasting wake, what should i change on these stock values?

i don't have a clue what all those numbers are or what they mean.

Tweak file - Propeller_wake.txt

Categories - ParticleGenerator

Names & Values

IsDensityModifierActive = 82
EmissionArea = 7.069602E+28
Lifetime = 6.815916E-42
NoDeleteChildren = 0
RunMode = 218103909
Transparent = 16
DepthBias = 0
LocalWind = 2.610621E+20
GlobalWind = 7.206472E+31
LifeScale = 1.393509E+33
DensityScale = 7.212831E+22
VelocityScale = 6.316688E+29
WeightScale = 1.839165E+25
SizeScale = 9.809089E-45
BitmapParticles = 393319
What is it?
I see, that values of parameters are incorrect.
__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart is offline   Reply With Quote
Old 06-29-07, 05:57 AM   #3
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Are you using a SH3 tweak file there?
looks like all the values are wrong as Anvart said. I think that tweakfile you are using is not set up properly, basically pointing to the wrong code or offset.
__________________
CaptainCox is offline   Reply With Quote
Old 06-29-07, 09:11 AM   #4
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

yes this is the particles tweak file from sh3

there are none as far as i have found, that are for sh4

i was suspecting it might need fixing when i saw these numbers but like i said i dont know what i was seeing

is it save to assume then that anytime i see numbers like these "7.069602E+28" they are the hex code and not the "value" so the tweak file is needing repair?

all the particles tweak files from sh3 seam to still point to the right files in sh4 so maybe they can all be adjusted to work without being to hard to do.
  Reply With Quote
Old 06-29-07, 10:31 AM   #5
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Well as the offsets will be totally different in SH3 you have to find the right ones again using a hexeditor. Its not that hard but takes a lot of time.

I did a small tut for it here.
http://www.subsim.com/radioroom/show...07&postcount=2

Basically you search for "keywords" like "Lifetime" and look what holds what. Also looking at the old tweaker file text will help here. Even if the offsets are off, you will have a hint as to what they could be.

"7.069602E+28" these are also values but not what we are looking for. Normally you would have a nice steady 1 or 2 digit value here, 3 digits as well of course.
__________________
CaptainCox is offline   Reply With Quote
Old 06-29-07, 10:48 AM   #6
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Can you upload that particle tweak file...can't seem to find it :p
__________________
CaptainCox is offline   Reply With Quote
Old 06-29-07, 11:19 AM   #7
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by CaptainCox
Can you upload that particle tweak file...can't seem to find it :p
it's straight from the sh3 tweak pack timetraveler put together.

http://www.delraydepot.com/tt/sh3sdk.htm

the entire particle foler still has the right paths to the files but like you said, they need to be tweaked to work with sh4 values. i just hope this helps in creating more tweak files.
  Reply With Quote
Old 06-29-07, 11:40 AM   #8
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Ahhhh, Cheers. Did not think to look there. Will have a look in a bit.
__________________
CaptainCox is offline   Reply With Quote
Old 06-29-07, 11:50 AM   #9
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

we are all gratefull to you for all the hard work you do for the community.
  Reply With Quote
Old 06-29-07, 04:05 PM   #10
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

I simply ported this over to SH4 from SH3. ORIGINAL WORK WAS MADE BY Timetraveler! I only figured out the offsets and did some pretty boring mechanical work putting those offsets in to this SH4.

I also did not try to work with this Tweakfile, but all the values seem to stack up. Please try it out and see what you get

DOWNLOAD LINK "SH4 Propeller_wake.txt"
http://www.mediafire.com/?agiaewztnym
__________________
CaptainCox is offline   Reply With Quote
Old 06-29-07, 08:38 PM   #11
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by CaptainCox
I simply ported this over to SH4 from SH3. ORIGINAL WORK WAS MADE BY Timetraveler! I only figured out the offsets and did some pretty boring mechanical work putting those offsets in to this SH4.

I also did not try to work with this Tweakfile, but all the values seem to stack up. Please try it out and see what you get

DOWNLOAD LINK "SH4 Propeller_wake.txt"
http://www.mediafire.com/?agiaewztnym

well i took quick look and all three of the "cloud_w_small" files have a real big number for example "material 2 = B897A0553260B360" isnt this something you need to fix? as i understand it you shouldnt see this many numbers if it is set up right so this value needs fixing correct?

tomorrow i will try to change something in game but i dont know what most of that stuff is so i dont know what i will change lol.
  Reply With Quote
Old 06-29-07, 11:54 PM   #12
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

I think the Material code refers to either a color or a texture map (not at all sure) but you get the same weird values when loading the original tweak file with SH3. So its not a code error, that is a value of some sort.
__________________
CaptainCox is offline   Reply With Quote
Old 06-30-07, 12:49 AM   #13
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by CaptainCox
I think the Material code refers to either a color or a texture map (not at all sure) but you get the same weird values when loading the original tweak file with SH3. So its not a code error, that is a value of some sort.
when encountering such things like that, would it not be better to remove that search line from the tweak to avoid screwing with things you cant understand what is being changed anyway?

something like this is way beyond trial and error changing a few numbers. how would you ever begin to change a number like that?
  Reply With Quote
Old 06-30-07, 02:38 AM   #14
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Good point. I simply ported it so I never really looked in to each individual value. I guess same was done by timetraveller when he did it. He simply looked at the .dat and found the offset that gave "A" reading and put that in. I think there are more parameters that maybe don't need to be in there. But trying is the only way to find out. Anyway the "Material" is the only value that has this problem, all the rest seems to be fine. Some of the values are set to 0, I suspect that's "OFF" setting that to 1 would switch it "ON" but again not sure, only seems logical.

There are such an amount of parameters here, so something like that "Material" anomaly is bound to happen, And I am not sure its needed in order to tweak the "Propeller Wake" anyway.
__________________
CaptainCox 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 06:04 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.