|
|
|
|
|
PlaceObj('ParticleSystemPreset', { |
|
game_time_animated = true, |
|
group = "Explosion_Car", |
|
id = "Car_Smoke", |
|
particles_scale_with_object = true, |
|
stable_cam_distance = true, |
|
PlaceObj('ParticleEmitter', { |
|
'label', "Smoke", |
|
'world_space', true, |
|
'emit_detail_level', 60, |
|
'max_live_count', 40, |
|
'parts_per_sec', 300, |
|
'lifetime_min', 2000, |
|
'lifetime_max', 5000, |
|
'texture', "Textures/Particles/mist.tga", |
|
'normalmap', "Textures/Particles/mist.norm.tga", |
|
'frames', point(2, 2), |
|
'softness', 50, |
|
'far_softness', 100, |
|
'outlines', { |
|
{ |
|
point(32, 32), |
|
point(32, 2016), |
|
point(2016, 2016), |
|
point(2016, 32), |
|
}, |
|
{ |
|
point(2080, 2016), |
|
point(3968, 2016), |
|
point(4064, 32), |
|
point(2080, 32), |
|
}, |
|
{ |
|
point(32, 4032), |
|
point(2016, 4032), |
|
point(2016, 2080), |
|
point(32, 2080), |
|
}, |
|
{ |
|
point(2080, 4032), |
|
point(4064, 4032), |
|
point(4064, 2080), |
|
point(2080, 2080), |
|
}, |
|
}, |
|
'texture_hash', 6609993512092536490, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorFadeInOut', { |
|
'fade_curve', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 340, 340), |
|
point(200, 695, 695), |
|
point(686, 414, 414), |
|
point(1000, 0, 0), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorResizeCurve', { |
|
'max_size', 4000, |
|
'size_curve', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 138, 138), |
|
point(322, 236, 236), |
|
point(758, 360, 473), |
|
point(1000, 483, 650), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRandomSpeedSpray', { |
|
'vel_min', 600, |
|
'vel_max', 1000, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorColorize', { |
|
'bins', set( "A", "E" ), |
|
'start_color_min', RGBA(17, 17, 17, 255), |
|
'start_color_max', RGBA(13, 13, 14, 255), |
|
'mid_color', RGBA(22, 21, 20, 255), |
|
'end_color', RGBA(17, 16, 16, 255), |
|
'type', "One of four", |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorPickFrame', { |
|
'bins', set( "A", "E" ), |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRotate', { |
|
'bins', set( "A", "E" ), |
|
'probability', 40, |
|
'rpm_curve', { |
|
range_y = 10, |
|
scale = 10, |
|
point(0, 18, 18), |
|
point(297, 22, 22), |
|
point(667, 26, 26), |
|
point(1000, 53, 53), |
|
}, |
|
'rpm_curve_range', range(-100, 100), |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRotate', { |
|
'bins', set( "A", "E" ), |
|
'probability', 40, |
|
'rpm_curve', { |
|
range_y = 10, |
|
scale = 10, |
|
point(0, -13, -13), |
|
point(316, -13, -13), |
|
point(665, -22, -22), |
|
point(1000, -33, -33), |
|
}, |
|
'rpm_curve_range', range(-100, 100), |
|
}, nil, nil), |
|
PlaceObj('DisplacerCircle', { |
|
'bins', set( "A", "E" ), |
|
'position', point(0, 0, -500), |
|
'inner_radius', 100, |
|
'outer_radius', 180, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorWind', { |
|
'bins', set( "A", "E" ), |
|
'multiplier', 400, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorFriction', { |
|
'bins', set( "A", "E" ), |
|
'friction', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 992, 992), |
|
point(323, 992, 992), |
|
point(672, 992, 992), |
|
point(1000, 995, 995), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleEmitter', { |
|
'label', "Smoke", |
|
'bins', set( "E" ), |
|
'world_space', true, |
|
'emit_detail_level', 100, |
|
'max_live_count', 40, |
|
'parts_per_sec', 300, |
|
'lifetime_min', 3000, |
|
'lifetime_max', 4000, |
|
'position', point(0, 0, 800), |
|
'angle', range(0, 45), |
|
'size_max', 3000, |
|
'texture', "Textures/Particles/Clouds_1024.tga", |
|
'normal_as_flow_map', true, |
|
'normalmap', "Textures/Particles/Clouds_1024.norm.tga", |
|
'frames', point(4, 4), |
|
'light_softness', 1000, |
|
'mat_roughness', 0, |
|
'flow_speed', 103, |
|
'flow_scale', 55, |
|
'softness', 200, |
|
'outlines', { |
|
{ |
|
point(144, 768), |
|
point(620, 1020), |
|
point(1020, 288), |
|
point(284, 12), |
|
}, |
|
{ |
|
point(1072, 324), |
|
point(1072, 792), |
|
point(2008, 964), |
|
point(1844, 68), |
|
}, |
|
{ |
|
point(2064, 800), |
|
point(2912, 944), |
|
point(2932, 328), |
|
point(2256, 24), |
|
}, |
|
{ |
|
point(3300, 936), |
|
point(4060, 936), |
|
point(3848, 124), |
|
point(3088, 124), |
|
}, |
|
{ |
|
point(88, 1232), |
|
point(180, 1904), |
|
point(824, 2032), |
|
point(824, 1164), |
|
}, |
|
{ |
|
point(1072, 1480), |
|
point(1680, 2008), |
|
point(1900, 1468), |
|
point(1596, 1192), |
|
}, |
|
{ |
|
point(2156, 1284), |
|
point(2156, 2044), |
|
point(2980, 2044), |
|
point(2796, 1240), |
|
}, |
|
{ |
|
point(3140, 1872), |
|
point(3852, 2028), |
|
point(3896, 1272), |
|
point(3140, 1180), |
|
}, |
|
{ |
|
point(196, 3064), |
|
point(908, 2828), |
|
point(972, 2264), |
|
point(80, 2100), |
|
}, |
|
{ |
|
point(1228, 2172), |
|
point(1156, 3044), |
|
point(1940, 3008), |
|
point(1940, 2056), |
|
}, |
|
{ |
|
point(2076, 2180), |
|
point(2076, 3004), |
|
point(2948, 3004), |
|
point(2948, 2180), |
|
}, |
|
{ |
|
point(3220, 2896), |
|
point(3972, 3032), |
|
point(3768, 2228), |
|
point(3100, 2204), |
|
}, |
|
{ |
|
point(116, 4004), |
|
point(884, 3908), |
|
point(920, 3208), |
|
point(96, 3208), |
|
}, |
|
{ |
|
point(1036, 3688), |
|
point(1960, 3992), |
|
point(1888, 3216), |
|
point(1432, 3136), |
|
}, |
|
{ |
|
point(2068, 3104), |
|
point(2068, 3908), |
|
point(3068, 3972), |
|
point(3068, 3076), |
|
}, |
|
{ |
|
point(3132, 3936), |
|
point(4052, 3936), |
|
point(4052, 3148), |
|
point(3132, 3148), |
|
}, |
|
}, |
|
'texture_hash', -3185377314160643337, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRandomSpeedSpray', { |
|
'bins', set( "E" ), |
|
'vel_min', 600, |
|
'vel_max', 1000, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorFadeInOut', { |
|
'bins', set( "E" ), |
|
'fade_curve', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 137, 137), |
|
point(360, 589, 589), |
|
point(734, 383, 383), |
|
point(1000, 0, 0), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorResizeCurve', { |
|
'bins', set( "E" ), |
|
'max_size', 4000, |
|
'size_curve', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 206, 206), |
|
point(327, 303, 303), |
|
point(767, 594, 594), |
|
point(1000, 869, 869), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorGravityWind', { |
|
'bins', set( "E" ), |
|
'direction', point(0, 1000, 1000), |
|
'start_vel', 100, |
|
'acceleration', 300, |
|
'max_vel', 500, |
|
}, nil, nil), |
|
PlaceObj('Oscillate', { |
|
'bins', set( "E" ), |
|
'x_period', 10000, |
|
'x_strength', range(1, 5), |
|
'y_period', 10000, |
|
'y_strength', range(1, 5), |
|
}, nil, nil), |
|
}) |
|
|
|
|