Files
Quake_4_Alpha/q4xbase/effects/monsters/tank/rocket_impact.fx
T
2026-08-06 14:45:27 -07:00

440 lines
6.9 KiB
HLSL

effect effects/monsters/tank/rocket_impact
{
size 708
sound "sound"
{
soundShader "tank_missileexp"
}
spawner "fireball"
{
count 5,5
sprite
{
duration 0.4,0.6
blend add
material "gfx/effects/fire/fire1a"
start
{
position { cylinder 0,-25,-25,0,25,25 }
velocity { box 10,-25,-25,65,25,52 }
angle { box 0,0,0,0,0,1 }
size { point 50,50 }
fade { point 0 }
offset { box 0,-10,-10,0,10,10 }
}
motion
{
size { envelope linear }
fade { envelope fastinslowout }
angle { envelope linear }
}
end
{
size { point 85,85 }
fade { line 0.75,1 }
angle { box 0,0,0,0,0,1 }
}
}
}
sound "sound2"
{
soundShader "tank_missileexp"
}
shake "camerashake"
{
duration 0.7,0.7
scale 1
attenuateEmitter
attenuation 200,600
}
decal "scorch"
{
decal
{
duration 0.002,0.002
material "textures/decals/rocketburn"
start
{
size { point 50,50 }
rotate { box 0,1 }
}
}
}
spawner "chunks"
{
count 3,5
model
{
duration 2,2
material "gfx/test/rocket_chunks"
model "models/test/rocket_chunk.lwo"
gravity 0.75,0.75
generatedOriginNormal
trailType chunks_trail
start
{
position { sphere 0.14,-0.2,-0.2,0.14,0.2,0.2 }
velocity { box 300,0,0,500,0,0 }
size { point 0.5,0.5,0.5 }
tint { point 0.501961,0.501961,0.501961 }
rotate { box 0,0,0,0.333333,0.333333,0.333333 }
}
motion
{
fade { envelope linear }
rotate { envelope linear }
}
end
{
rotate { box 0.333333,0.333333,0.333333,0.666667,0.666667,0.666667 relative }
}
impact
{
bounce 0.4
}
}
}
trail "chunks_trail"
{
count 30,30
sprite
{
duration 0.5,0.5
material "gfx/effects/smoke/cloud_alpha3"
start
{
size { point 5,5 }
tint { point 0.74902,0.74902,0.74902 }
fade { point 0.2 }
rotate { box 0,1 }
}
motion
{
size { envelope linear }
tint { envelope linear }
fade { envelope linear }
}
end
{
size { point 30,30 }
}
}
}
spawner "column_smoke"
{
count 8,8
sprite
{
duration 0.5,1
material "gfx/effects/smoke/cloud_alpha2"
gravity -0.02,-0.02
start
{
position { line 0,-10,0,180,10,0 linearSpacing }
velocity { box 0,30,0,0,40,0 }
size { box 50,50,90,90 }
tint { point 0.482353,0.466667,0.419608 }
fade { point 0 }
rotate { box 0,1 }
}
motion
{
tint { envelope linear }
fade { envelope cosine }
rotate { envelope linear }
}
end
{
tint { point 0.168627,0.164706,0.141176 }
fade { point 0.4 }
rotate { box -0.277778,0.277778 relative }
}
}
}
spawner "smoke2"
{
start 0.6,0.6
count 3,3
sprite
{
duration 2,2
material "gfx/effects/smoke/cloud_alpha"
start
{
position { line 10,-30,-30,10,30,30 }
velocity { box 0,0,0,20,0,0 }
size { line 60,60,100,100 }
tint { point 0.501961,0.501961,0.501961 }
fade { point 0 }
rotate { box 0,1 }
}
motion
{
fade { envelope cosine }
rotate { envelope linear }
}
end
{
fade { point 0.01 }
rotate { box -0.111111,0.111111 relative }
}
}
}
spawner "sparks_lines"
{
count 9,12
locked
line
{
duration 0.15,0.15
blend add
generatedLine
material "gfx/effects/energy_sparks/spark_line2"
generatedOriginNormal
flipNormal
start
{
position { cylinder -0.1,-0.1,-0.1,-0.1,0.1,0.1 surface }
velocity { box 200,0,0,400,0,0 }
size { box 1,2 }
tint { line 1,0.921569,0.701961,0.74902,0.521569,0.203922 }
length { box 60,0,0,120,0,0 }
}
motion
{
tint { envelope linear }
fade { envelope exp_x2 }
}
end
{
tint { line 0.956863,0.658824,0.529412,0.956863,0.639216,0.529412 }
}
}
}
spawner "sparks"
{
count 25,25
sprite
{
duration 0.4,1.25
blend add
material "gfx/effects/energy_sparks/spark3"
start
{
velocity { box 100,-125,-125,250,125,125 }
angle { box 0,0,0,0.277778,0.277778,0.277778 }
acceleration { point -100,0,0 }
friction { point 500,500,500 }
size { line 2,2,6,6 }
tint { line 1,0.721569,0.309804,1,1,1 }
offset { box -10,-10,-10,10,10,10 }
}
motion
{
size { envelope linear }
fade { envelope linear_flicker }
offset { envelope linear }
angle { envelope linear }
}
end
{
size { point 2,2 }
offset { point 1,1,1 }
angle { box 0.277778,0.277778,0.277778,0.555556,0.555556,0.555556 relative }
}
}
}
spawner "column_fire"
{
count 4,4
sprite
{
duration 0.16,0.16
material "gfx/effects/fire/fire1a"
start
{
position { line 0,0,0,100,0,0 linearSpacing }
velocity { box 50,0,0,500,0,0 }
angle { box 0,0,0,1,1,1 }
size { box 80,80,100,100 }
offset { box -2,-2,-2,2,2,2 }
rotate { box 0,1 }
}
motion
{
size { envelope linear }
tint { envelope linear }
fade { envelope linear }
angle { envelope linear }
rotate { envelope linear }
}
end
{
size { box 30,30,50,50 }
angle { box -1,-1,-1,1,1,1 relative }
rotate { box -0.277778,0.277778 relative }
}
}
}
spawner "column_fire2"
{
count 4,4
sprite
{
duration 0.16,0.16
material "gfx/effects/fire/fire4a"
start
{
position { line 0,0,0,100,0,0 linearSpacing }
velocity { box 50,0,0,500,0,0 }
angle { box 0,0,0,1,1,1 }
size { box 80,80,100,100 }
offset { box -2,-2,-2,2,2,2 }
rotate { box 0,1 }
}
motion
{
size { envelope linear }
tint { envelope linear }
fade { envelope linear }
angle { envelope linear }
rotate { envelope linear }
}
end
{
size { box 30,30,50,50 }
angle { box -1,-1,-1,1,1,1 relative }
rotate { box -0.277778,0.277778 relative }
}
}
}
spawner "flash"
{
count 1,1
sprite
{
duration 0.2,0.2
material "gfx/effects/weapons/flash"
generatedNormal
start
{
position { point 1,0,0 }
size { line 90,90,120,120 }
rotate { box 0,1 }
}
motion
{
tint { envelope linear }
fade { envelope linear }
}
}
}
emitter "deform_oriented"
{
duration 1,1
count 1,1
oriented
{
duration 0.35,0.35
material "gfx/effects/energy_sparks/explosion_deform3"
start
{
position { point 1,0,0 }
}
motion
{
size { envelope linear }
}
end
{
size { point 500,500 }
}
}
}
sound "unnamed15"
{
soundShader "tank_missileexp"
}
spawner "sparks_trails"
{
count 7,9
sprite
{
duration 0.35,0.5
material "gfx/effects/particles_shapes/blank"
gravity 0.5,1
trailType motion
trailTime 0.1,0.1
trailCount 3,3
start
{
velocity { box 50,-150,-150,300,150,150 }
size { box 1,1,2,2 }
tint { point 0.913726,0.858824,0.729412 }
}
motion
{
size { envelope linear }
tint { envelope linear }
}
end
{
size { point 0.5,0.5 }
tint { line 0.929412,0.796079,0.321569,0.909804,0.501961,0.364706 }
}
}
}
}