Skip to content

Commit

Permalink
Improved Dustclouds / Footsteps and Tank Track Dirt/Dust GFX
Browse files Browse the repository at this point in the history
  • Loading branch information
icexuick committed Mar 9, 2023
1 parent 7653066 commit 4753cca
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 51 deletions.
Binary file added bitmaps/atmos/dirtpuff.tga
Binary file not shown.
143 changes: 95 additions & 48 deletions effects/dust_cloud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,57 @@
properties = {
airdrag = 0.93,
alwaysvisible = false,
colormap = [[0.0 0.0 0.00 0.0 0.19 0.16 0.08 0.3 0 0 0 0.00]],
directional = true,
colormap = [[0.0 0.0 0.0 0.01 0.20 0.19 0.17 0.35 0.14 0.12 0.10 0.17 0 0 0 0.001]],
directional = false,
emitrot = 90,
emitrotspread = 25,
emitvector = [[0, 0, 0]],
gravity = [[r-0.05 r0.05, 0 r0.05, r-0.05 r0.05]],
numparticles = 1,
particlelife = 10,
particlelifespread = 22,
particlesize = 9,
particlesizespread = 1.1,
particlespeed = 3,
particlespeedspread = 10,
gravity = [[-0.025 r0.05, 0 r0.06, -0.025 r0.05]],
numparticles = [[0.8 r0.65]],
particlelife = 14,
particlelifespread = 4,
particlesize = 12,
particlesizespread = 5,
particlespeed = 0,
particlespeedspread = 0,
pos = [[r-3 r3, 1, r-8 r3]],
sizegrowth = [[r0.20 r0.30]],
sizemod = 1.0,
texture = [[smoke_puff]],
rotParams = [[-20 r40, -15 r30, -180 r360]],
sizegrowth = [[r-0.12 r0.38]],
--sizegrowth = 0,
sizemod = 0.94,
texture = [[dirtpuff]],
--castShadow = true,
},
},
dirt = {
class = [[CSimpleParticleSystem]],
count = 0,
ground = true,
properties = {
airdrag = 0.95,
colormap = [[0.04 0.03 0.01 0.55 0.1 0.07 0.033 0.44 0 0 0 0]],
directional = false,
emitrot = 180,
emitrotspread = 10,
emitvector = [[0, -0.15, 0]],
gravity = [[0, -0.07, 0]],
numparticles = [[0.45 r0.62]],
particlelife = 11,
particlelifespread = 24,
particlesize = 5,
particlesizespread = 6,
particlespeed = 2.2,
particlespeedspread = 8,
pos = [[0, 6, 0]],
rotParams = [[-26 r52, -20 r40, -180 r360]],
sizegrowth = [[-0.08 r0.15]],
sizemod = 1,
texture = [[randdots]],
useairlos = false,
alwaysvisible = false,
castShadow = true,
},
},
},
["dust_cloud_dirt_light"] = {
poof01 = {
Expand All @@ -40,23 +72,28 @@
airdrag = 0.93,
alwaysvisible = false,
useairlos = false,
colormap = [[0.0 0.0 0.00 0.0 0.19 0.16 0.08 0.3 0 0 0 0.00]],
directional = true,
colormap = [[0.03 0.02 0.01 0.02 0.19 0.16 0.12 0.32 0.14 0.12 0.09 0.21 0 0 0 0.01]],
directional = false,
emitrot = 90,
emitrotspread = 25,
emitvector = [[0, 0, 0]],
gravity = [[r-0.05 r0.05, 0 r0.05, r-0.05 r0.05]],
numparticles = 1,
particlelife = 6,
particlelifespread = 18,
particlesize = 8,
particlesizespread = 1.1,
particlespeed = 3,
particlespeedspread = 10,
pos = [[r-3 r3, 1, r-8 r3]],
sizegrowth = [[r0.20 r0.30]],
sizemod = 1.0,
texture = [[smoke_puff]],
emitvector = [[0, 1, 0]],
gravity = [[-0.02 r0.04, -0.01 r0.06, r-0.02 r0.04]],
numparticles = [[0.8 r0.65]],
particlelife = 14,
particlelifespread = 17,
particlesize = 15,
particlesizespread = 5.5,
particlespeed = 0,
particlespeedspread = 0,
pos = [[-3 r6, -40 r10, -3 r6]],
rotParams = [[-20 r40, -20 r40, -180 r360]],
--sizegrowth = 0,
sizegrowth = [[r-0.14 r0.28]],
sizemod = 0.965,
texture = [[dirtpuff]],
--texture = [[smoke-anim]],
--animParams = [[8,6,30 r50]],
castShadow = true,
},
},
dirt = {
Expand All @@ -71,19 +108,21 @@
emitrotspread = 10,
emitvector = [[0, -0.15, 0]],
gravity = [[0, -0.08, 0]],
numparticles = [[0.5 r1]],
particlelife = 17,
particlelifespread = 35,
particlesize = 6,
numparticles = [[0.48 r0.65]],
particlelife = 13,
particlelifespread = 28,
particlesize = 7,
particlesizespread = 8,
particlespeed = 2.5,
particlespeedspread = 10,
pos = [[0, 6, 0]],
sizegrowth = [[-0.10 r0.20]],
rotParams = [[-26 r52, -20 r40, -180 r360]],
sizegrowth = [[-0.10 r0.22]],
sizemod = 1,
texture = [[randdots]],
useairlos = false,
alwaysvisible = false,
castShadow = true,
},
},
},
Expand All @@ -98,23 +137,27 @@
airdrag = 0.93,
alwaysvisible = false,
useairlos = false,
colormap = [[0.0 0.0 0.00 0.0 0.19 0.16 0.08 0.3 0 0 0 0.00]],
directional = true,
--colormap = [[0.0 0.0 0.00 0.0 0.19 0.16 0.08 0.3 0 0 0 0.00]],
colormap = [[0.03 0.02 0.01 0.01 0.15 0.13 0.09 0.4 0.13 0.12 0.09 0.24 0 0 0 0.01]],
directional = false,
emitrot = 90,
emitrotspread = 25,
emitvector = [[0, 0, 0]],
gravity = [[r-0.05 r0.05, 0 r0.05, r-0.05 r0.05]],
numparticles = 1,
particlelife = 10,
particlelifespread = 22,
particlesize = 9,
particlesizespread = 1.1,
particlespeed = 3,
particlespeedspread = 10,
gravity = [[-0.03 r0.06, 0.02 r0.05, -0.03 r0.06]],
numparticles = [[0.7 r0.5]],
particlelife = 18,
particlelifespread = 20,
particlesize = 17,
particlesizespread = 13,
particlespeed = 0,
particlespeedspread = 0,
pos = [[r-3 r3, 1, r-8 r3]],
sizegrowth = [[r0.20 r0.30]],
sizemod = 1.0,
texture = [[smoke_puff]],
rotParams = [[-26 r52, -20 r40, -180 r360]],
--sizegrowth = [[r0.24 r0.34]],
sizegrowth = 0,
sizemod = 0.99,
texture = [[dirtpuff]],
--castShadow = true,
},
},
dirt = {
Expand All @@ -129,19 +172,21 @@
emitrotspread = 10,
emitvector = [[0, -0.1, 0]],
gravity = [[0, -0.06, 0]],
numparticles = [[0.8 r0.7]],
numparticles = [[0.5 r0.66]],
particlelife = 22,
particlelifespread = 40,
particlesize = 6.5,
particlesizespread = 8.5,
particlespeed = 2,
particlespeedspread = 10,
pos = [[0, 6, 0]],
sizegrowth = [[-0.10 r0.20]],
rotParams = [[-26 r52, -20 r40, -180 r360]],
sizegrowth = [[-0.10 r0.22]],
sizemod = 1,
texture = [[randdots]],
useairlos = false,
alwaysvisible = false,
castShadow = true,
},
},
},
Expand Down Expand Up @@ -169,6 +214,7 @@
particlespeed = 3,
particlespeedspread = 10,
pos = [[r-3 r3, 1, r-8 r3]],
rotParams = [[-3 r6, -4 r8, -180 r360]],
sizegrowth = [[r0.25 r0.40]],
sizemod = 1.0,
texture = [[smoke_puff]],
Expand Down Expand Up @@ -199,6 +245,7 @@
particlespeed = 3,
particlespeedspread = 10,
pos = [[r-3 r3, 1, r-8 r3]],
rotParams = [[-2 r4, -3 r6, -180 r360]],
sizegrowth = [[r0.20 r0.30]],
sizemod = 1.1,
texture = [[smoke_puff]],
Expand Down
10 changes: 7 additions & 3 deletions effects/footsteps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ return {
texture = [[randdots]],
useairlos = false,
alwaysvisible = false,
castShadow = true,
},
},
dirtg2 = {
Expand Down Expand Up @@ -59,6 +60,7 @@ return {
animParams = [[8,8,60 r45]],
useairlos = false,
alwaysvisible = false,
castShadow = true,
},
},
-- extradebree = {
Expand Down Expand Up @@ -119,14 +121,15 @@ return {
texture = [[randdots]],
useairlos = false,
alwaysvisible = false,
castShadow = true,
},
},
shockwave_fast = {
air = true,
class = [[CBitmapMuzzleFlame]],
count = 1,
ground = true,
underwater = true,
underwater = false,
water = true,
unit = true,
properties = {
Expand Down Expand Up @@ -236,14 +239,15 @@ return {
texture = [[randdots]],
useairlos = false,
alwaysvisible = false,
castShadow = true,
},
},
shockwave_fast = {
air = true,
class = [[CBitmapMuzzleFlame]],
count = 1,
ground = true,
underwater = true,
underwater = false,
water = true,
unit = true,
properties = {
Expand Down Expand Up @@ -293,7 +297,7 @@ return {
animParams = [[8,6,41 r45]],
useairlos = false,
alwaysvisible = false,
castShadow = true,
--castShadow = true,
},
},
extradebree = {
Expand Down
1 change: 1 addition & 0 deletions gamedata/resources.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ local resources = {
smoke_puff2 = 'atmos/smoke_puff2.tga',
smoke_puff_red = 'atmos/smoke_puff_red.tga',
dirtrush = 'atmos/dirtdebrisexplo.tga',
dirtpuff = 'atmos/dirtpuff.tga',
explowater = 'projectiletextures/explowater.tga',
waterrush = 'projectiletextures/waterrush.tga',
waterfoam = 'atmos/waterfoam.tga',
Expand Down

0 comments on commit 4753cca

Please sign in to comment.