PDA

View Full Version : modding the propeller_wake.txt


Webster
06-28-07, 05:29 PM
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

Anvart
06-29-07, 05:54 AM
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?:o
I see, that values of parameters are incorrect.

CaptainCox
06-29-07, 05:57 AM
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.

Webster
06-29-07, 09:11 AM
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.

CaptainCox
06-29-07, 10:31 AM
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/showpost.php?p=554607&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
06-29-07, 10:48 AM
Can you upload that particle tweak file...can't seem to find it :p

Webster
06-29-07, 11:19 AM
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.

CaptainCox
06-29-07, 11:40 AM
Ahhhh, Cheers. Did not think to look there. Will have a look in a bit.

Webster
06-29-07, 11:50 AM
we are all gratefull to you for all the hard work you do for the community.

CaptainCox
06-29-07, 04:05 PM
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 (http://www.mediafire.com/?agiaewztnym)

Webster
06-29-07, 08:38 PM
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 (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.

CaptainCox
06-29-07, 11:54 PM
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.

Webster
06-30-07, 12:49 AM
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?

CaptainCox
06-30-07, 02:38 AM
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.