|
|
|
|
|
PlaceObj('ParticleSystemPreset', { |
|
game_time_animated = true, |
|
group = "Destruction", |
|
id = "Destr_DebrisDust", |
|
ignore_game_object_age = true, |
|
presim_time = 200, |
|
rand_start_time = 200, |
|
stable_cam_distance = true, |
|
PlaceObj('ParticleEmitter', { |
|
'bins', set( "E" ), |
|
'time_stop', 100, |
|
'emit_detail_level', 100, |
|
'max_live_count', 5, |
|
'parts_per_sec', 10000, |
|
'lifetime_max', 10000, |
|
'angle', range(0, 360), |
|
'size_min', 2000, |
|
'size_max', 4000, |
|
'texture', "Textures/Particles/clouds_2x2.tga", |
|
'normalmap', "Textures/Particles/clouds_2x2.norm.tga", |
|
'frames', point(2, 2), |
|
'light_softness', 1000, |
|
'softness', 100, |
|
'view_dependent_opacity', 304, |
|
'outlines', { |
|
{ |
|
point(2, 2046), |
|
point(2046, 2046), |
|
point(2046, 2), |
|
point(2, 2), |
|
}, |
|
{ |
|
point(2050, 2046), |
|
point(4094, 2046), |
|
point(4094, 2), |
|
point(2050, 2), |
|
}, |
|
{ |
|
point(2, 4094), |
|
point(2046, 4094), |
|
point(2046, 2050), |
|
point(2, 2050), |
|
}, |
|
{ |
|
point(2050, 4094), |
|
point(4094, 4094), |
|
point(4094, 2050), |
|
point(2050, 2050), |
|
}, |
|
}, |
|
'texture_hash', -6207396961789587687, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorPickFrame', { |
|
'bins', set( "E" ), |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRotate', { |
|
'bins', set( "E" ), |
|
'rpm_curve', { |
|
range_y = 10, |
|
scale = 10, |
|
point(0, 0, 0), |
|
point(203, -8, 8), |
|
point(650, -9, 9), |
|
point(1000, -10, 10), |
|
}, |
|
'rpm_curve_range', range(-10, 10), |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorColorize', { |
|
'bins', set( "D", "E" ), |
|
'start_color_min', RGBA(106, 102, 99, 255), |
|
'start_color_max', RGBA(175, 164, 151, 255), |
|
'mid_color', RGBA(63, 58, 53, 255), |
|
'mid_intensity', 2752, |
|
'end_color', RGBA(114, 114, 114, 255), |
|
'type', "Start color only", |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorFadeInOut', { |
|
'bins', set( "E" ), |
|
'fade_curve', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 0, 0), |
|
point(53, 61, 726), |
|
point(533, 26, 395), |
|
point(1000, 0, 0), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorResizeCurve', { |
|
'bins', set( "E" ), |
|
'max_size', 5000, |
|
'size_curve', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 32, 32), |
|
point(30, 571, 881), |
|
point(371, 626, 926), |
|
point(1000, 779, 1000), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRandomSpeedSphere', { |
|
'bins', set( "E" ), |
|
'vel_min', 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), |
|
PlaceObj('ParticleBehaviorWind', { |
|
'bins', set( "E" ), |
|
'wind_mode', "windfield_per_particle", |
|
'multiplier', 250, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorFriction', { |
|
'bins', set( "E" ), |
|
'friction', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 953, 953), |
|
point(71, 974, 974), |
|
point(664, 992, 992), |
|
point(1000, 1004, 1004), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleEmitter', { |
|
'label', "smoke_puff", |
|
'bins', set( "D" ), |
|
'time_stop', 100, |
|
'emit_detail_level', 100, |
|
'max_live_count', 3, |
|
'parts_per_sec', 100000, |
|
'lifetime_min', 2000, |
|
'lifetime_max', 5000, |
|
'angle', range(0, 360), |
|
'size_min', 2000, |
|
'size_max', 4000, |
|
'texture', "Textures/Particles/clouds_2x2.tga", |
|
'normalmap', "Textures/Particles/clouds_2x2.norm.tga", |
|
'frames', point(2, 2), |
|
'light_softness', 1000, |
|
'softness', 100, |
|
'drawing_order', 150, |
|
'outlines', { |
|
{ |
|
point(2, 2046), |
|
point(2046, 2046), |
|
point(2046, 2), |
|
point(2, 2), |
|
}, |
|
{ |
|
point(2050, 2046), |
|
point(4094, 2046), |
|
point(4094, 2), |
|
point(2050, 2), |
|
}, |
|
{ |
|
point(2, 4094), |
|
point(2046, 4094), |
|
point(2046, 2050), |
|
point(2, 2050), |
|
}, |
|
{ |
|
point(2050, 4094), |
|
point(4094, 4094), |
|
point(4094, 2050), |
|
point(2050, 2050), |
|
}, |
|
}, |
|
'texture_hash', -6207396961789587687, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorPickFrame', { |
|
'bins', set( "D" ), |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorFadeInOut', { |
|
'bins', set( "D" ), |
|
'fade_curve', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 0, 0), |
|
point(37, 168, 595), |
|
point(626, 51, 216), |
|
point(1000, 0, 0), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRotate', { |
|
'bins', set( "D" ), |
|
'rpm_curve', { |
|
range_y = 10, |
|
scale = 10, |
|
point(0, 0, 0), |
|
point(192, -5, 6), |
|
point(650, -9, 9), |
|
point(1000, -10, 10), |
|
}, |
|
'rpm_curve_range', range(-10, 10), |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorResizeCurve', { |
|
'bins', set( "D" ), |
|
'max_size', 2000, |
|
'size_curve', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 32, 32), |
|
point(25, 213, 523), |
|
point(437, 345, 645), |
|
point(1000, 779, 1000), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorGravityWind', { |
|
'bins', set( "D" ), |
|
'direction', point(0, 0, -1000), |
|
'acceleration', 100, |
|
'max_vel', 300, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRandomSpeedSphere', { |
|
'bins', set( "D" ), |
|
'vel_min', 500, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorWind', { |
|
'bins', set(), |
|
'wind_mode', "windfield_per_particle", |
|
'multiplier', 250, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorFriction', { |
|
'bins', set( "D" ), |
|
'friction', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 953, 953), |
|
point(71, 974, 974), |
|
point(664, 992, 992), |
|
point(1000, 992, 992), |
|
}, |
|
}, nil, nil), |
|
}) |
|
|
|
|