Skip to content

Commit

Permalink
Move effects files of Lighting Tank (FAForever#3881)
Browse files Browse the repository at this point in the history
Moves the effect files from the unit folder to the usual place where we store emitters, at the effects/emitter folder
  • Loading branch information
MrRowey authored May 25, 2022
1 parent 9d578a7 commit cefbde8
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
18 changes: 9 additions & 9 deletions units/DSLK004/DSLK004_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ local PhasonCollisionBeam = Class(SCCollisionBeam) {
'/Effects/Emitters/seraphim_experimental_phasonproj_muzzle_flash_04_emit.bp',
'/Effects/Emitters/seraphim_experimental_phasonproj_muzzle_flash_05_emit.bp',
'/Effects/Emitters/seraphim_experimental_phasonproj_muzzle_flash_06_emit.bp',
'/units/DSLK004/effects/seraphim_electricity_emit.bp'
'/Effects/Emitters/seraphim_electricity_emit.bp'
},
FxBeam = {
'/units/DSLK004/effects/seraphim_lightning_beam_01_emit.bp',
'/Effects/Emitters/seraphim_lightning_beam_01_emit.bp',
},
FxBeamEndPoint = {
'/units/DSLK004/effects/seraphim_lightning_hit_01_emit.bp',
'/units/DSLK004/effects/seraphim_lightning_hit_02_emit.bp',
'/units/DSLK004/effects/seraphim_lightning_hit_03_emit.bp',
'/units/DSLK004/effects/seraphim_lightning_hit_04_emit.bp',
'/Effects/Emitters/seraphim_lightning_hit_01_emit.bp',
'/Effects/Emitters/seraphim_lightning_hit_02_emit.bp',
'/Effects/Emitters/seraphim_lightning_hit_03_emit.bp',
'/Effects/Emitters/seraphim_lightning_hit_04_emit.bp',
},


Expand Down Expand Up @@ -152,7 +152,7 @@ local PhasonCollisionBeam = Class(SCCollisionBeam) {

local PhasonCollisionBeam2 = Class(PhasonCollisionBeam) {

FxBeam = { '/units/DSLK004/effects/seraphim_lightning_beam_02_emit.bp', },
FxBeam = { '/Effects/Emitters/seraphim_lightning_beam_02_emit.bp', },
TerrainImpactScale = 0.1,

OnImpact = function(self, impactType, targetEntity)
Expand Down Expand Up @@ -232,8 +232,8 @@ DSLK004 = Class(SLandUnit) {
SLandUnit.OnStopBeingBuilt(self,builder,layer)

local EfctTempl = {
'/units/DSLK004/effects/orbeffect_01.bp',
'/units/DSLK004/effects/orbeffect_02.bp',
'/Effects/Emitters/orbeffect_01.bp',
'/Effects/Emitters/orbeffect_02.bp',
}
for k, v in EfctTempl do
CreateAttachedEmitter(self, 'Orb', self.Army, v)
Expand Down

0 comments on commit cefbde8

Please sign in to comment.