Skip to content

Commit bd0ba69

Browse files
committed
Remove dirt particle effects because they were just ending up wasting particles in large battles
1 parent bda4de6 commit bd0ba69

File tree

62 files changed

+91
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+91
-61
lines changed

Gamedata/explosions/empty.lua

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,36 @@ return {
3030
},
3131
},
3232
},
33+
34+
["emptydirt"] = {
35+
empty = {
36+
air = true,
37+
class = [[CSimpleParticleSystem]],
38+
count = 1,
39+
ground = true,
40+
water = true,
41+
properties = {
42+
airdrag = 0.97,
43+
colormap = [[1 1 1 1 1 1 1 1]],
44+
directional = true,
45+
emitrot = 0,
46+
emitrotspread = 0,
47+
emitvector = [[dir]],
48+
gravity = [[0, -0.5, 0]],
49+
numparticles = 0,
50+
particlelife = 0,
51+
particlelifespread = 0,
52+
particlesize = 0,
53+
particlesizespread = 0,
54+
particlespeed = 0,
55+
particlespeedspread = 0,
56+
pos = [[0, 0, 0]],
57+
sizegrowth = 0,
58+
sizemod = 0,
59+
texture = [[shell]],
60+
},
61+
},
62+
},
3363

3464
}
3565

Units-Configs-Basedefs/basedefs/allterrain/eallterranarchid_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ unitDef = {
7575

7676
explosiongenerators = {
7777
"custom:gdhcannon",
78-
"custom:dirtsmall",
78+
"custom:emptydirt",
7979
"custom:flamethrowerrange750",
8080
"custom:blacksmoke",
8181
},

Units-Configs-Basedefs/basedefs/allterrain/eallterrassault_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ unitDef = {
7272

7373
explosiongenerators = {
7474
"custom:gdhcannon",
75-
"custom:dirtsmall",
75+
"custom:emptydirt",
7676
"custom:blacksmoke",
7777
},
7878
},

Units-Configs-Basedefs/basedefs/allterrain/eallterrheavy_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ unitDef = {
7373

7474
explosiongenerators = {
7575
"custom:gdhcannon",
76-
"custom:dirtsmall",
76+
"custom:emptydirt",
7777
"custom:blacksmoke",
7878
},
7979
},

Units-Configs-Basedefs/basedefs/allterrain/eallterrlight_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ unitDef = {
7070

7171
explosiongenerators = {
7272
"custom:factorysparks",
73-
"custom:dirtsmall",
73+
"custom:emptydirt",
7474
"custom:blacksmoke",
7575
},
7676
},

Units-Configs-Basedefs/basedefs/allterrain/eallterrmed_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ unitDef = {
7171

7272
explosiongenerators = {
7373
"custom:gdhcannon",
74-
"custom:dirtsmall",
74+
"custom:emptydirt",
7575
"custom:blacksmoke",
7676
},
7777
},

Units-Configs-Basedefs/basedefs/allterrain/eallterrriot_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ unitDef = {
7272

7373
explosiongenerators = {
7474
"custom:gdhcannon",
75-
"custom:dirtsmall",
75+
"custom:emptydirt",
7676
"custom:blacksmoke",
7777
},
7878
},

Units-Configs-Basedefs/basedefs/allterrain/eallterrriot_shotgun_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ unitDef = {
7272

7373
explosiongenerators = {
7474
"custom:gdhcannon",
75-
"custom:dirtsmall",
75+
"custom:emptydirt",
7676
"custom:blacksmoke",
7777
},
7878
},

Units-Configs-Basedefs/basedefs/allterrain/eallterrshield_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ unitDef = {
7171

7272
explosiongenerators = {
7373
"custom:gdhcannon",
74-
"custom:dirtsmall",
74+
"custom:emptydirt",
7575
"custom:blacksmoke",
7676
},
7777
},

Units-Configs-Basedefs/basedefs/amphib/eamphibarty_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ unitDef = {
5858

5959
explosiongenerators = {
6060
"custom:factorysparks",
61-
"custom:dirt",
61+
"custom:emptydirt",
6262
"custom:blacksmoke",
6363
},
6464
},

Units-Configs-Basedefs/basedefs/amphib/eamphibbuggy_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ unitDef = {
6060

6161
explosiongenerators = {
6262
"custom:factorysparks",
63-
"custom:dirt",
63+
"custom:emptydirt",
6464
"custom:blacksmoke",
6565
},
6666
},

Units-Configs-Basedefs/basedefs/amphib/eamphibleveler_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ unitDef = {
5656

5757
explosiongenerators = {
5858
"custom:gdhcannon",
59-
"custom:dirt",
59+
"custom:emptydirt",
6060
"custom:blacksmoke",
6161
},
6262
},

Units-Configs-Basedefs/basedefs/amphib/eamphibmedtank_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ unitDef = {
6161

6262
explosiongenerators = {
6363
"custom:factorysparks",
64-
"custom:dirt",
64+
"custom:emptydirt",
6565
"custom:blacksmoke",
6666
},
6767
},

Units-Configs-Basedefs/basedefs/amphib/eamphibneedle_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ unitDef = {
6060

6161
explosiongenerators = {
6262
"custom:gdhcannon",
63-
"custom:dirt",
63+
"custom:emptydirt",
6464
"custom:blacksmoke",
6565
},
6666
},

Units-Configs-Basedefs/basedefs/amphib/eamphibriot_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ unitDef = {
6262

6363
explosiongenerators = {
6464
"custom:gdhcannon",
65-
"custom:dirt",
65+
"custom:emptydirt",
6666
"custom:blacksmoke",
6767
},
6868
},

Units-Configs-Basedefs/basedefs/amphib/eamphibriot_shotgun_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ unitDef = {
6262

6363
explosiongenerators = {
6464
"custom:gdhcannon",
65-
"custom:dirt",
65+
"custom:emptydirt",
6666
"custom:blacksmoke",
6767
},
6868
},

Units-Configs-Basedefs/basedefs/amphib/eamphibrock_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ unitDef = {
5959
},
6060

6161
explosiongenerators = {
62-
"custom:dirt",
62+
"custom:emptydirt",
6363
"custom:blacksmoke",
6464
"custom:jethtrail",
6565
},

Units-Configs-Basedefs/basedefs/eorb_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ unitDef = {
8282

8383
explosiongenerators = {
8484
"custom:nanoorb",
85-
"custom:dirt",
85+
"custom:emptydirt",
8686
"custom:blacksmoke",
8787
},
8888
},

Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotkarganneth_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ unitDef = {
6262
sfxtypes = {
6363
explosiongenerators = {
6464
"custom:gdhcannon",
65-
"custom:dirt",
65+
"custom:emptydirt",
6666
"custom:blacksmoke",
6767
"custom:airfactoryhtrail",
6868
},

Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotpeewee_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ unitDef = {
6262
sfxtypes = {
6363
explosiongenerators = {
6464
"custom:gdhcannon",
65-
"custom:dirt",
65+
"custom:emptydirt",
6666
"custom:blacksmoke",
6767
"custom:airfactoryhtrail",
6868
},

Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotrocko_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ unitDef = {
6363
sfxtypes = {
6464
explosiongenerators = {
6565
"custom:gdhcannon",
66-
"custom:dirt",
66+
"custom:emptydirt",
6767
"custom:blacksmoke",
6868
"custom:airfactoryhtrail",
6969
},

Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotsniper_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ unitDef = {
6363
sfxtypes = {
6464
explosiongenerators = {
6565
"custom:gdhcannon",
66-
"custom:dirt",
66+
"custom:emptydirt",
6767
"custom:blacksmoke",
6868
"custom:airfactoryhtrail",
6969
},

Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotthud_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ unitDef = {
6363
sfxtypes = {
6464
explosiongenerators = {
6565
"custom:gdhcannon",
66-
"custom:dirt",
66+
"custom:emptydirt",
6767
"custom:blacksmoke",
6868
"custom:airfactoryhtrail",
6969
},

Units-Configs-Basedefs/basedefs/hbot/turret/ehbotkarganneth_turret_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ unitDef = {
6363
sfxtypes = {
6464
explosiongenerators = {
6565
"custom:gdhcannon",
66-
"custom:dirt",
66+
"custom:emptydirt",
6767
"custom:blacksmoke",
6868
"custom:airfactoryhtrail",
6969
},

Units-Configs-Basedefs/basedefs/hbot/turret/ehbotpeewee_turret_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ unitDef = {
5959
sfxtypes = {
6060
explosiongenerators = {
6161
"custom:gdhcannon",
62-
"custom:dirt",
62+
"custom:emptydirt",
6363
"custom:blacksmoke",
6464
"custom:airfactoryhtrail",
6565
},

Units-Configs-Basedefs/basedefs/hbot/turret/ehbotrocko_turret_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ unitDef = {
6060
sfxtypes = {
6161
explosiongenerators = {
6262
"custom:gdhcannon",
63-
"custom:dirt",
63+
"custom:emptydirt",
6464
"custom:blacksmoke",
6565
"custom:airfactoryhtrail",
6666
},

Units-Configs-Basedefs/basedefs/hbot/turret/ehbotsniper_turret_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ unitDef = {
6060
sfxtypes = {
6161
explosiongenerators = {
6262
"custom:gdhcannon",
63-
"custom:dirt",
63+
"custom:emptydirt",
6464
"custom:blacksmoke",
6565
"custom:airfactoryhtrail",
6666
},

Units-Configs-Basedefs/basedefs/hbot/turret/ehbotthud_turret_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ unitDef = {
6060
sfxtypes = {
6161
explosiongenerators = {
6262
"custom:gdhcannon",
63-
"custom:dirt",
63+
"custom:emptydirt",
6464
"custom:blacksmoke",
6565
"custom:airfactoryhtrail",
6666
},

Units-Configs-Basedefs/basedefs/hover/eartytank_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ unitDef = {
5858

5959
explosiongenerators = {
6060
"custom:gdhcannon",
61-
"custom:dirt",
61+
"custom:emptydirt",
6262
"custom:blacksmoke",
6363
},
6464
},

Units-Configs-Basedefs/basedefs/hover/eartytanksaturation_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ unitDef = {
5858

5959
explosiongenerators = {
6060
"custom:gdhcannon",
61-
"custom:dirt",
61+
"custom:emptydirt",
6262
"custom:blacksmoke",
6363
},
6464
},

Units-Configs-Basedefs/basedefs/hover/eheavytank3_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ unitDef = {
6060

6161
explosiongenerators = {
6262
"custom:gdhcannon",
63-
"custom:dirt",
63+
"custom:emptydirt",
6464
"custom:blacksmoke",
6565
},
6666
},

Units-Configs-Basedefs/basedefs/hover/elacerator_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ unitDef = {
5858

5959
explosiongenerators = {
6060
"custom:gdhcannon",
61-
"custom:dirt",
61+
"custom:emptydirt",
6262
"custom:blacksmoke",
6363
},
6464
},

Units-Configs-Basedefs/basedefs/hover/elighttank3_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ unitDef = {
5656
sfxtypes = {
5757
explosiongenerators = {
5858
"custom:electricity",
59-
"custom:dirt",
59+
"custom:emptydirt",
6060
"custom:blacksmoke",
6161
},
6262
pieceExplosionGenerators = {

Units-Configs-Basedefs/basedefs/hover/emissiletank_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ unitDef = {
6060

6161
explosiongenerators = {
6262
"custom:factorysparks",
63-
"custom:dirt",
63+
"custom:emptydirt",
6464
"custom:blacksmoke",
6565
},
6666
},

Units-Configs-Basedefs/basedefs/hover/eriottank2_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ unitDef = {
6060

6161
explosiongenerators = {
6262
"custom:gdhcannon",
63-
"custom:dirt",
63+
"custom:emptydirt",
6464
"custom:blacksmoke",
6565
},
6666
},

Units-Configs-Basedefs/basedefs/hover/eriottank2_shotgun_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ unitDef = {
6060

6161
explosiongenerators = {
6262
"custom:gdhcannon",
63-
"custom:dirt",
63+
"custom:emptydirt",
6464
"custom:blacksmoke",
6565
},
6666
},

Units-Configs-Basedefs/basedefs/zaal/zarty_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ unitDef = {
5858

5959
explosiongenerators = {
6060
"custom:gdhcannon",
61-
"custom:dirt",
61+
"custom:emptydirt",
6262
"custom:blacksmoke",
6363
},
6464
},

Units-Configs-Basedefs/basedefs/zaal/zassault_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ unitDef = {
6060
explosiongenerators = {
6161
"custom:blood_spray",
6262
"custom:blood_explode",
63-
"custom:dirt",
63+
"custom:emptydirt",
6464
},
6565
},
6666
sounds = {

Units-Configs-Basedefs/basedefs/zaal/zconstructor_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ unitDef = {
7070
explosiongenerators = {
7171
"custom:blood_spray",
7272
"custom:blood_explode",
73-
"custom:dirt",
73+
"custom:emptydirt",
7474
},
7575
},
7676
buildoptions = Shared.buildListZaalConstructor,

Units-Configs-Basedefs/basedefs/zaal/zkamikaze_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ unitDef = {
6262
explosiongenerators = {
6363
"custom:blood_spray",
6464
"custom:blood_explode",
65-
"custom:dirt",
65+
"custom:emptydirt",
6666
},
6767
},
6868
sounds = {

Units-Configs-Basedefs/basedefs/zaal/zlightswarm_basedef.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ unitDef = {
6060
explosiongenerators = {
6161
"custom:blood_spray",
6262
"custom:blood_explode",
63-
"custom:dirt",
63+
"custom:emptydirt",
6464
},
6565
},
6666
sounds = {

0 commit comments

Comments
 (0)