|
|
|
|
|
PlaceObj('ParticleSystemPreset', { |
|
distance_bias = -9000, |
|
game_time_animated = true, |
|
group = "Destruction", |
|
id = "Destr_DebrisChunks_GlassWindows", |
|
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', 60, |
|
'max_live_count', 5, |
|
'parts_per_sec', 100000, |
|
'lifetime_min', 2000, |
|
'size_min', 20, |
|
'size_max', 360, |
|
'shader', "Distortion", |
|
'texture', "Textures/Particles/wood_splinters.tga", |
|
'normalmap', "Textures/Particles/wood_splinters.norm.tga", |
|
'frames', point(4, 3), |
|
'mat_metallic', 34, |
|
'normal_to_distortion', true, |
|
'distortion_scale', -1000, |
|
'distortion_scale_max', 1000, |
|
'outlines', {}, |
|
'texture_hash', 5626097955630754890, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorPickFrame', nil, nil, nil), |
|
PlaceObj('ParticleBehaviorFadeInOut', { |
|
'fade_curve', { |
|
range_y = 10, |
|
scale = 1000, |
|
point(0, 1000, 1000), |
|
point(293, 787, 1000), |
|
point(745, 124, 382), |
|
point(1000, 124, 382), |
|
}, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRotate', { |
|
'bins', set( "B" ), |
|
'rpm_curve', { |
|
range_y = 10, |
|
scale = 10, |
|
point(0, -411, 1032), |
|
point(192, -1168, 1715), |
|
point(588, -1895, 2545), |
|
point(1000, -3000, 3000), |
|
}, |
|
'rpm_curve_range', range(-3000, 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('DisplacerLine', { |
|
'position1', point(0, -500, 0), |
|
'position2', point(0, 500, 0), |
|
}, nil, nil), |
|
PlaceObj('DisplacerLine', { |
|
'position1', point(0, 0, -500), |
|
'position2', point(0, 0, 500), |
|
}, 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, 500), |
|
'spread_angle', 9000, |
|
'vel_min', 100, |
|
'vel_max', 5000, |
|
}, nil, nil), |
|
PlaceObj('ParticleBehaviorRandomSpeedSpray', { |
|
'probability', 10, |
|
'direction', point(1000, 0, 200), |
|
'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, |
|
'probability', 10, |
|
'friction', 200, |
|
'clearbins', set( "B" ), |
|
'setbins', set( "C" ), |
|
}, nil, nil), |
|
}) |
|
|
|
|