-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dba0180
commit a68ae85
Showing
24 changed files
with
267 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"frames" : "largehitsparkcrit.png", | ||
"variants" : 1, | ||
"frameNumber" : 5, | ||
"animationCycle" : 0.15, | ||
"offset" : [0, 0] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"frameGrid" : { | ||
"size" : [43, 43], | ||
"dimensions" : [5, 1] | ||
} | ||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
47 changes: 47 additions & 0 deletions
47
stats/effects/fu_weaponeffects/crithit/critReady.animation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"particleEmitters" : { | ||
"smoke" : { | ||
"emissionRate" : 15, | ||
"offsetRegion" : [ 3.0, 1.0, 3.0, 1.0 ], | ||
"particles" : [ | ||
{ "particle" : "smoke" }, | ||
{ "particle" : "smoke" }, | ||
{ "particle" : "smoke" }, | ||
{ "particle" : "smoke" } | ||
] | ||
}, | ||
"critText" : { | ||
"enabled" : true, | ||
"emissionRate" : 1.0, | ||
"particles" : [ | ||
{ | ||
"particle" : { | ||
"type" : "text", | ||
"text" : "Max Crit", | ||
"size" : 0.3, | ||
"color" : [255, 255, 255, 255], | ||
"fade" : 0.4, | ||
"destructionAction" : "shrink", | ||
"destructionTime" : 0.5, | ||
"position" : [0.0, 1.0], | ||
"offsetRegion" : [0, 0, 0, 0], | ||
"initialVelocity" : [0, 6], | ||
"finalVelocity" : [0, 3], | ||
"approach" : [0, 10], | ||
"timeToLive" : 0.5, | ||
"variance" : {} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
|
||
"transformationGroups" : { | ||
"smoke" : { "interpolated" : true } | ||
}, | ||
|
||
|
||
"sounds" : { | ||
"burn" : [ "/sfx/statuseffects/powerup.ogg" ] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
function init() | ||
if status.stat("isCharged") == 1 then | ||
activateVisualEffects() | ||
end | ||
self.timer = 10 | ||
script.setUpdateDelta(10) | ||
end | ||
|
||
|
||
function activateVisualEffects() | ||
if status.stat("isCharged") == 1 then | ||
local statusTextRegion = { 0, 1, 0, 1 } | ||
animator.setParticleEmitterOffsetRegion("critText", statusTextRegion) | ||
animator.burstParticleEmitter("critText") | ||
animator.playSound("burn") | ||
-- animator.burstParticleEmitter("smoke") | ||
effect.setParentDirectives("fade=008800=0.2") | ||
end | ||
|
||
end | ||
|
||
|
||
|
||
function update(dt) | ||
|
||
end | ||
|
||
|
||
function uninit() | ||
|
||
end |
13 changes: 13 additions & 0 deletions
13
stats/effects/fu_weaponeffects/crithit/critReady.statuseffect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name" : "critReady", | ||
"blockingStat" : "critImmunity", | ||
|
||
"effectConfig" : {}, | ||
"defaultDuration" : 0.25, | ||
|
||
"scripts" : [ | ||
"critReady.lua" | ||
], | ||
|
||
"animationConfig" : "critReady.animation" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
stats/effects/fu_weaponeffects/crithit/reloadReady.animation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"particleEmitters" : { | ||
"smoke" : { | ||
"emissionRate" : 15, | ||
"offsetRegion" : [ 0, 2.0, 0, 2.0 ], | ||
"particles" : [ | ||
{ "particle" : "bouncyspark" }, | ||
{ "particle" : "bouncyspark" }, | ||
{ "particle" : "bouncyspark" }, | ||
{ "particle" : "bouncyspark" } | ||
] | ||
}, | ||
"reloadText" : { | ||
"enabled" : true, | ||
"emissionRate" : 1.0, | ||
"particles" : [ | ||
{ | ||
"particle" : { | ||
"type" : "text", | ||
"text" : "Reload", | ||
"size" : 0.3, | ||
"color" : [255, 255, 255, 255], | ||
"fade" : 0.4, | ||
"destructionAction" : "shrink", | ||
"destructionTime" : 0.5, | ||
"position" : [0.0, 2.0], | ||
"offsetRegion" : [0, 0, 0, 0], | ||
"initialVelocity" : [0, 0], | ||
"finalVelocity" : [0, 0], | ||
"approach" : [0, 10], | ||
"timeToLive" : 0.5, | ||
"variance" : {} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
|
||
"transformationGroups" : { | ||
"smoke" : { "interpolated" : true } | ||
}, | ||
|
||
|
||
"sounds" : { | ||
"burn" : [ "/sfx/statuseffects/powerup.ogg" ] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
function init() | ||
activateVisualEffects() | ||
self.timer = 0.5 | ||
script.setUpdateDelta(5) | ||
end | ||
|
||
|
||
function activateVisualEffects() | ||
local statusTextRegion = { 0, 1, 0, 1 } | ||
animator.setParticleEmitterOffsetRegion("reloadText", statusTextRegion) | ||
animator.burstParticleEmitter("reloadText") | ||
effect.setParentDirectives("fade=0055aa=0.2") | ||
--animator.burstParticleEmitter("smoke") | ||
end | ||
|
||
|
||
|
||
function update(dt) | ||
|
||
end | ||
|
||
|
||
function uninit() | ||
|
||
end |
13 changes: 13 additions & 0 deletions
13
stats/effects/fu_weaponeffects/crithit/reloadReady.statuseffect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name" : "reloadReady", | ||
"blockingStat" : "reloadImmunity", | ||
|
||
"effectConfig" : {}, | ||
"defaultDuration" : 0.5, | ||
|
||
"scripts" : [ | ||
"reloadReady.lua" | ||
], | ||
|
||
"animationConfig" : "reloadReady.animation" | ||
} |