Can someone explain me how is Particle_systems.txt working? I want to achieve cannon smoke that will look like in Blood & Gold :Caribbean!
This is the description of each field from module system, positions of numbers in particles.txt correspond with these
("game_rain", psf_billboard_2d|psf_global_emit_dir|psf_always_emit, "prtcl_rain",
500, 0.5, 0.33, 1.0, 10.0, 0.0, #num_particles, life, damping, gravity_strength, turbulance_size, turbulance_strength
(1.0, 0.3), (1, 0.3), #alpha keys
(1.0, 1.0), (1, 1.0), #red keys
(1.0, 1.0), (1, 1.0), #green keys
(1.0, 1.0), (1, 1.0), #blue keys
(1.0, 1.0), (1.0, 1.0), #scale keys
(8.2, 8.2, 0.2), #emit box size
(0, 0, -10.0), #emit velocity
0.0, #emit dir randomness
0, #rotation speed
0.5 #rotation damping
),
And this is explanation for all fields
# Each particle system contains the following fields:
#
# 1) Particle system id (string): used for referencing particle systems in other files.
# The prefix psys_ is automatically added before each particle system id.
# 2) Particle system flags (int). See header_particle_systems.py for a list of available flags
# 3) mesh-name.
####
# 4) Num particles per second: Number of particles emitted per second.
# 5) Particle Life: Each particle lives this long (in seconds).
# 6) Damping: How much particle's speed is lost due to friction.
# 7) Gravity strength: Effect of gravity. (Negative values make the particles float upwards.)
#
Turbulance size: Size of random turbulance (in meters)
# 9) Turbulance strength: How much a particle is affected by turbulance.
####
# 10,11) Alpha keys : Each attribute is controlled by two keys and
# 12,13) Red keys : each key has two fields: (time, magnitude)
# 14,15) Green keys : For example scale key (0.3,0.6) means
# 16,17) Blue keys : scale of each particle will be 0.6 at the
# 18,19) Scale keys : time 0.3 (where time=0 means creation and time=1 means end of the particle)
#
# The magnitudes are interpolated in between the two keys and remain constant beyond the keys.
# Except the alpha always starts from 0 at time 0.
####
# 20) Emit Box Size : The dimension of the box particles are emitted from.
# 21) Emit velocity : Particles are initially shot with this velocity.
# 22) Emit dir randomness
# 23) Particle rotation speed: Particles start to rotate with this (angular) speed (degrees per second).
# 24) Particle rotation damping: How quickly particles stop their rotation