|
|
|
|
|
PlaceObj('ParticleSystemPreset', { |
|
game_time_animated = true, |
|
group = "Destruction", |
|
id = "Destr_DebrisChunks_Brick", |
|
particles_scale_with_object = true, |
|
presim_time = 100, |
|
stable_cam_distance = true, |
|
PlaceObj('ParticleEmitter', { |
|
'label', "chunks", |
|
'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', 200, |
|
'texture', "Textures/Particles/debris_chunks_4x4.tga", |
|
'normalmap', "Textures/Particles/debris_chunks_4x4.norm.tga", |
|
'frames', point(4, 4), |
|
'receive_shadow', true, |
|
'outlines', { |
|
{ |
|
point(272, 932), |
|
point(760, 852), |
|
point(760, 256), |
|
point(132, 128), |
|
}, |
|
{ |
|
point(1156, 728), |
|
point(1880, 872), |
|
point(2000, 316), |
|
point(1116, 180), |
|
}, |
|
{ |
|
point(2128, 384), |
|
point(2352, 1020), |
|
point(2952, 604), |
|
point(2624, 56), |
|
}, |
|
{ |
|
point(3292, 220), |
|
point(3356, 884), |
|
point(3896, 884), |
|
point(3828, 16), |
|
}, |
|
{ |
|
point(88, 1232), |
|
point(160, 2024), |
|
point(804, 1656), |
|
point(840, 1148), |
|
}, |
|
{ |
|
point(1308, 1184), |
|
point(1288, 1876), |
|
point(1736, 2004), |
|
point(1800, 1124), |
|
}, |
|
{ |
|
point(2192, 1696), |
|
point(2368, 2044), |
|
point(3068, 1524), |
|
point(2420, 1120), |
|
}, |
|
{ |
|
point(3076, 1516), |
|
point(3844, 2040), |
|
point(4060, 1612), |
|
point(3644, 1196), |
|
}, |
|
{ |
|
point(248, 2676), |
|
point(996, 2856), |
|
point(796, 2244), |
|
point(72, 2144), |
|
}, |
|
{ |
|
point(1232, 2836), |
|
point(1992, 2704), |
|
point(1732, 2320), |
|
point(1268, 2072), |
|
}, |
|
{ |
|
point(2164, 2360), |
|
point(2164, 2928), |
|
point(2972, 2636), |
|
point(2952, 2180), |
|
}, |
|
{ |
|
point(3228, 2640), |
|
point(3956, 3032), |
|
point(4076, 2420), |
|
point(3076, 2092), |
|
}, |
|
{ |
|
point(76, 3712), |
|
point(972, 4068), |
|
point(784, 3372), |
|
point(200, 3156), |
|
}, |
|
{ |
|
point(1268, 3316), |
|
point(1140, 4084), |
|
point(1908, 3964), |
|
point(1568, 3096), |
|
}, |
|
{ |
|
point(2064, 3516), |
|
point(2480, 4048), |
|
point(2952, 4048), |
|
point(2780, 3092), |
|
}, |
|
{ |
|
point(3332, 3432), |
|
point(3252, 4016), |
|
point(3808, 3856), |
|
point(4012, 3096), |
|
}, |
|
}, |
|
'texture_hash', -7170684798002532260, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorPickFrame', nil, nil, nil), |
|
PlaceObj('ParticleBehaviorColorize', { |
|
'start_color_min', RGBA(220, 109, 97, 255), |
|
'start_intensity_min', 1200, |
|
'start_color_max', RGBA(210, 69, 54, 255), |
|
'start_intensity_max', 1200, |
|
'mid_color', RGBA(188, 136, 131, 255), |
|
'mid_intensity', 1200, |
|
'end_color', RGBA(224, 82, 59, 255), |
|
'end_intensity', 1200, |
|
'type', "One of four", |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRotate', { |
|
'bins', set( "B" ), |
|
'probability', 60, |
|
'rpm_curve', { |
|
range_y = 10, |
|
scale = 10, |
|
point(0, 0, 0), |
|
point(150, 176, 546), |
|
point(583, 358, 791), |
|
point(1000, 509, 900), |
|
}, |
|
'rpm_curve_range', range(-90, 900), |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRotate', { |
|
'bins', set( "B" ), |
|
'probability', 40, |
|
'rpm_curve', { |
|
range_y = 10, |
|
scale = 10, |
|
point(0, 0, 0), |
|
point(150, 176, 546), |
|
point(583, 358, 791), |
|
point(1000, 509, 900), |
|
}, |
|
'rpm_curve_range', range(-900, 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('DisplacerCircle', { |
|
'normal', point(1000, 0, 0), |
|
'inner_radius', 100, |
|
'outer_radius', 1000, |
|
}, 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), |
|
}) |
|
|
|
|