Skip to content

Commit

Permalink
Remove dirt particle effects because they were just ending up wasting…
Browse files Browse the repository at this point in the history
… particles in large battles
  • Loading branch information
ForbodingAngel committed Feb 7, 2022
1 parent bda4de6 commit bd0ba69
Show file tree
Hide file tree
Showing 62 changed files with 91 additions and 61 deletions.
30 changes: 30 additions & 0 deletions Gamedata/explosions/empty.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,36 @@ return {
},
},
},

["emptydirt"] = {
empty = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
water = true,
properties = {
airdrag = 0.97,
colormap = [[1 1 1 1 1 1 1 1]],
directional = true,
emitrot = 0,
emitrotspread = 0,
emitvector = [[dir]],
gravity = [[0, -0.5, 0]],
numparticles = 0,
particlelife = 0,
particlelifespread = 0,
particlesize = 0,
particlesizespread = 0,
particlespeed = 0,
particlespeedspread = 0,
pos = [[0, 0, 0]],
sizegrowth = 0,
sizemod = 0,
texture = [[shell]],
},
},
},

}

Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirtsmall",
"custom:emptydirt",
"custom:flamethrowerrange750",
"custom:blacksmoke",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirtsmall",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirtsmall",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ unitDef = {

explosiongenerators = {
"custom:factorysparks",
"custom:dirtsmall",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirtsmall",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirtsmall",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirtsmall",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirtsmall",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ unitDef = {

explosiongenerators = {
"custom:factorysparks",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ unitDef = {

explosiongenerators = {
"custom:factorysparks",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ unitDef = {

explosiongenerators = {
"custom:factorysparks",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ unitDef = {
},

explosiongenerators = {
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
"custom:jethtrail",
},
Expand Down
2 changes: 1 addition & 1 deletion Units-Configs-Basedefs/basedefs/eorb_basedef.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ unitDef = {

explosiongenerators = {
"custom:nanoorb",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ unitDef = {
sfxtypes = {
explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
"custom:airfactoryhtrail",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ unitDef = {
sfxtypes = {
explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
"custom:airfactoryhtrail",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ unitDef = {
sfxtypes = {
explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
"custom:airfactoryhtrail",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ unitDef = {
sfxtypes = {
explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
"custom:airfactoryhtrail",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ unitDef = {
sfxtypes = {
explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
"custom:airfactoryhtrail",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ unitDef = {
sfxtypes = {
explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
"custom:airfactoryhtrail",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ unitDef = {
sfxtypes = {
explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
"custom:airfactoryhtrail",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ unitDef = {
sfxtypes = {
explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
"custom:airfactoryhtrail",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ unitDef = {
sfxtypes = {
explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
"custom:airfactoryhtrail",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ unitDef = {
sfxtypes = {
explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
"custom:airfactoryhtrail",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",
"custom:emptydirt",
"custom:blacksmoke",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ unitDef = {

explosiongenerators = {
"custom:gdhcannon",
"custom:dirt",