|
|
|
|
|
PlaceObj('ParticleSystemPreset', { |
|
game_time_animated = true, |
|
group = "Destruction", |
|
id = "Destr_DebrisChunks_ElectronicsSplinters", |
|
particles_scale_with_object = true, |
|
presim_time = 100, |
|
stable_cam_distance = true, |
|
PlaceObj('ParticleEmitter', { |
|
'label', "Splinters", |
|
'bins', set( "A", "B" ), |
|
'time_stop', 100, |
|
'world_space', true, |
|
'emit_detail_level', 100, |
|
'max_live_count', 5, |
|
'parts_per_sec', 100000, |
|
'lifetime_min', 2000, |
|
'lifetime_max', 2000, |
|
'size_min', 80, |
|
'size_max', 350, |
|
'texture', "Textures/Particles/wood_splinters.tga", |
|
'normalmap', "Textures/Particles/wood_splinters.norm.tga", |
|
'frames', point(4, 3), |
|
'mat_metallic', 34, |
|
'receive_shadow', true, |
|
'outlines', { |
|
{ |
|
point(4, 1361), |
|
point(1020, 1361), |
|
point(1020, 4), |
|
point(4, 4), |
|
}, |
|
{ |
|
point(1028, 1361), |
|
point(2044, 1361), |
|
point(2044, 4), |
|
point(1028, 4), |
|
}, |
|
{ |
|
point(2052, 1361), |
|
point(3068, 1361), |
|
point(3068, 4), |
|
point(2052, 4), |
|
}, |
|
{ |
|
point(3076, 1361), |
|
point(4092, 1361), |
|
point(4092, 4), |
|
point(3076, 4), |
|
}, |
|
{ |
|
point(4, 2726), |
|
point(1020, 2726), |
|
point(1020, 1369), |
|
point(4, 1369), |
|
}, |
|
{ |
|
point(1028, 2726), |
|
point(2044, 2726), |
|
point(2044, 1369), |
|
point(1028, 1369), |
|
}, |
|
{ |
|
point(2052, 2726), |
|
point(3068, 2726), |
|
point(3068, 1369), |
|
point(2052, 1369), |
|
}, |
|
{ |
|
point(3076, 2726), |
|
point(4092, 2726), |
|
point(4092, 1369), |
|
point(3076, 1369), |
|
}, |
|
{ |
|
point(4, 4092), |
|
point(1020, 4092), |
|
point(1020, 2734), |
|
point(4, 2734), |
|
}, |
|
{ |
|
point(1028, 4092), |
|
point(2044, 4092), |
|
point(2044, 2734), |
|
point(1028, 2734), |
|
}, |
|
{ |
|
point(2052, 4092), |
|
point(3068, 4092), |
|
point(3068, 2734), |
|
point(2052, 2734), |
|
}, |
|
{ |
|
point(3076, 4092), |
|
point(4092, 4092), |
|
point(4092, 2734), |
|
point(3076, 2734), |
|
}, |
|
}, |
|
'texture_hash', 5626097955630754890, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorPickFrame', nil, nil, nil), |
|
PlaceObj('ParticleBehaviorColorize', { |
|
'start_color_min', RGBA(81, 82, 79, 255), |
|
'start_intensity_min', 1200, |
|
'start_color_max', RGBA(21, 22, 21, 255), |
|
'start_intensity_max', 1200, |
|
'mid_color', RGBA(57, 55, 54, 255), |
|
'mid_intensity', 1200, |
|
'end_color', RGBA(18, 17, 17, 255), |
|
'end_intensity', 1200, |
|
'type', "One of four", |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRotate', { |
|
'bins', set( "B" ), |
|
'rpm_curve', { |
|
range_y = 10, |
|
scale = 10, |
|
point(0, 0, 0), |
|
point(185, 176, 1715), |
|
point(601, 358, 2545), |
|
point(1000, 509, 3000), |
|
}, |
|
'rpm_curve_range', range(-90, 3000), |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorFadeInOut', { |
|
'bins', set( "C" ), |
|
'fade_curve', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 1000, 1000), |
|
point(333, 1000, 1000), |
|
point(794, 1000, 1000), |
|
point(1000, 0, 0), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRotate', { |
|
'bins', set( "C" ), |
|
'rpm_curve', { |
|
range_y = 10, |
|
scale = 10, |
|
point(0, 1, 1), |
|
point(226, 1, 1), |
|
point(482, 1, 1), |
|
point(1000, 0, 0), |
|
}, |
|
'rpm_curve_range', range(180, 181), |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRandomSpeedSpray', { |
|
'label', "upward", |
|
'vel_max', 10000, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRandomSpeedSpray', { |
|
'direction', point(1000, 0, 500), |
|
'spread_angle', 9000, |
|
'vel_min', 100, |
|
'vel_max', 5000, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRandomSpeedSpray', { |
|
'probability', 50, |
|
'direction', point(-1000, 0, 1000), |
|
'spread_angle', 9000, |
|
'vel_min', 100, |
|
'vel_max', 5000, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRandomSpeedSpray', { |
|
'probability', 10, |
|
'direction', point(1000, 0, 1000), |
|
'spread_angle_min', 4500, |
|
'spread_angle', 12000, |
|
'vel_min', 2000, |
|
'vel_max', 6000, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRandomSpeedSpray', { |
|
'probability', 10, |
|
'direction', point(-1000, 0, 0), |
|
'spread_angle_min', 4500, |
|
'spread_angle', 12000, |
|
'vel_min', 2000, |
|
'vel_max', 6000, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorGravityWind', { |
|
'direction', point(0, 0, -1000), |
|
'acceleration', 20000, |
|
'max_vel', 90000, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorCollision', { |
|
'time_start', 200, |
|
'friction', 200, |
|
'clearbins', set( "B" ), |
|
'setbins', set( "C" ), |
|
}, nil, nil), |
|
PlaceObj('ParticleEmitter', { |
|
'label', "Spkars", |
|
'bins', set( "D" ), |
|
'time_stop', 100, |
|
'randomize_period', 50, |
|
'emit_detail_level', 100, |
|
'max_live_count', 5, |
|
'parts_per_sec', 10000, |
|
'lifetime_max', 1000, |
|
'texture', "Textures/Particles/white.tga", |
|
'outlines', { |
|
{ |
|
point(248, 3832), |
|
point(3832, 3832), |
|
point(3832, 248), |
|
point(248, 248), |
|
}, |
|
}, |
|
'texture_hash', 2617278910886611064, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorColorize', { |
|
'bins', set( "D" ), |
|
'start_color_min', RGBA(255, 246, 198, 255), |
|
'start_color_max', RGBA(254, 211, 121, 255), |
|
'mid_color', RGBA(245, 125, 45, 255), |
|
'end_color', RGBA(196, 63, 36, 255), |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorEmissive', { |
|
'bins', set( "D" ), |
|
'emissive_curve', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 335, 335), |
|
point(267, 724, 724), |
|
point(757, 403, 403), |
|
point(1000, 90, 90), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorResizeCurve', { |
|
'bins', set( "D" ), |
|
'size_curve', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 17, 17), |
|
point(352, 86, 86), |
|
point(753, 97, 97), |
|
point(1000, 0, 0), |
|
}, |
|
'non_square_size', true, |
|
'size_curve_2', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 131, 131), |
|
point(426, 457, 457), |
|
point(753, 118, 118), |
|
point(1000, 0, 0), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRandomSpeedSpray', { |
|
'bins', set( "D" ), |
|
'spread_angle_min', 4000, |
|
'spread_angle', 12000, |
|
'vel_min', 2000, |
|
'vel_max', 6000, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorGravityWind', { |
|
'bins', set( "D" ), |
|
'direction', point(0, 0, -1000), |
|
'acceleration', 4000, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorFriction', { |
|
'bins', set( "D" ), |
|
'probability', 50, |
|
'friction', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 1059, 1059), |
|
point(358, 888, 888), |
|
point(648, 885, 885), |
|
point(1000, 881, 881), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('FaceAlongMovement', { |
|
'bins', set( "D" ), |
|
}, nil, nil), |
|
}) |
|
|
|
|