OK ive tried fiddling with this, but without some clarification Its mostly hit or miss.. (ok mostly miss)
So my questions are these:
heat = 40; <- What does this do...
maxheat = 40; <- What does this do...
heatFalloff = 1; <- What does this do...
How do these 3 relate to each other..
sizemod = 0; <- what does this do...
sizemodmod = 0; <- what does this do..
how do they effect the size/sizegrowth..
speed = 0 r3, 0 r3, 0 r3; <- what does this do...
I know the 3 values correspond to coordinates, at least I think they do, and that its one number to another number, and the r specifies something is a random value, but how exactly does it affect something and which values correspond to what axis if they do, and what other letters can be inserted such as I? basically how does that line work and how does it affect the particles ?
same for this line
pos = -5 r5, -10 r20, -5 r5; <- what does this do..
See above paragraph.. in addition does this apply to smoke in the same way it applies to heat..?
and finally these taken from the smoke section...
color = 1.5 r1; <- what does this do..
startSize = 1 r2; <- what does this do..
sizeExpansion = 0.5; <- what does that do..
ageSpeed=0.02; <- what does that do..
Color I gather adjusts the value of the smoke color, but what values correspond to darker black, or lighter white, or grey, start size is the starting size of the smoke but what about size.. dont these conflict, and size expansion compared to sizegrowth, what is the difference, finally agespeed, does this make them get darker lighter, or its it just a variable for how long it stays there..
The rest I have some grasp of, anyone who can solidly answer these questions would be my hero..
Custom Explosion Generator Questions..
Moderator: Moderators
Re: Custom Explosion Generator Questions..
I think heat got something to do with alpha blending, the larger the value the more often it will be blend in. maxheat should be self-explanatory, limits the amount of heat. heatFalloff probably means how much blending is reduced each frame or something. Not sure, really.Fanger wrote:heat = 40; <- What does this do...
maxheat = 40; <- What does this do...
heatFalloff = 1; <- What does this do..
Makes the particle move to the x, y and z direction.Fanger wrote:speed = 0 r3, 0 r3, 0 r3; <- what does this do...
0+rand(1,3) for x, y and z, i.e. it will move to +x, +y and +z at a random speed of 1, 2 or 3
Same as above, just that it defines the starting position of the particle and not the speed.Fanger wrote:pos = -5 r5, -10 r20, -5 r5; <- what does this do..
It's -5+rand(1,5) for x, -10+rand(1,20) for y and -5+rand(1,5) for z.
I think it's a multiplier, it means 1+rand(1,2) so it's either twice or three times as big.Fanger wrote:startSize = 1 r2; <- what does this do..
Age gets increased each frame. When age reaches >1 the particle is destroyed. There's 32 frames a second I think so an ageSpeed of 1/32 (0,03125) means it will live a second. I could be wrong though.Fanger wrote:ageSpeed=0.02; <- what does that do..
No clue about the rest of them, Argh may know about them.
There's some explanation in the wiki as well: http://taspring.clan-sy.com/wiki/Custom ... Generators