Skip to content

Commit

Permalink
Remove missed progress bars from testing
Browse files Browse the repository at this point in the history
Turned preloading progress bars on for testing, missed the following macros corrected by this commit. BattleRifle, Missile, MissilePinaka, Plasma_Talons, PPC, Railgun.
  • Loading branch information
Z3nner committed Jun 23, 2024
1 parent 719d575 commit 24bddf2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const {targetsMissed, targetTokens, sourceToken} = game.modules.get("lancer-weapon-fx").api.getMacroVariables(this);

await Sequencer.Preloader.preloadForClients(["modules/lancer-weapon-fx/soundfx/BR_Fire.ogg", "jb2a.bullet.03.blue", "modules/lancer-weapon-fx/soundfx/KineticImpact.ogg", "jb2a.impact.orange.0"], showProgressBar = true)
await Sequencer.Preloader.preloadForClients(["modules/lancer-weapon-fx/soundfx/BR_Fire.ogg", "jb2a.bullet.03.blue", "modules/lancer-weapon-fx/soundfx/KineticImpact.ogg", "jb2a.impact.orange.0"])

let sequence = new Sequence();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const {targetsMissed, targetTokens, sourceToken} = game.modules.get("lancer-weap
// Pinaka wants 2 missiles, so get 2 groups
const targetPoints = game.modules.get("lancer-weapon-fx").api.getTargetLocationsFromTokenGroup(targetTokens, 2);

await Sequencer.Preloader.preloadForClients(["modules/lancer-weapon-fx/soundfx/Missile_Launch.ogg", "modules/lancer-weapon-fx/soundfx/Missile_Travel.ogg", "jb2a.throwable.launch.missile", "modules/lancer-weapon-fx/soundfx/Missile_Impact.ogg", "jb2a.explosion.01.orange", "jb2a.explosion.08.orange"], showProgressBar = true)
await Sequencer.Preloader.preloadForClients(["modules/lancer-weapon-fx/soundfx/Missile_Launch.ogg", "modules/lancer-weapon-fx/soundfx/Missile_Travel.ogg", "jb2a.throwable.launch.missile", "modules/lancer-weapon-fx/soundfx/Missile_Impact.ogg", "jb2a.explosion.01.orange", "jb2a.explosion.08.orange"])

let sequence = new Sequence();

Expand Down
2 changes: 1 addition & 1 deletion packs_source/weaponfx/Effects/Missile_4M655uuaKwHfZJfZ.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const {targetsMissed, targetTokens, sourceToken} = game.modules.get("lancer-weap

const target = game.modules.get("lancer-weapon-fx").api.getTargetLocationsFromTokenGroup(targetTokens, 1)[0];

await Sequencer.Preloader.preloadForClients(["modules/lancer-weapon-fx/soundfx/Missile_Launch.ogg", "modules/lancer-weapon-fx/soundfx/Missile_Travel.ogg", "jb2a.pack_hound_missile", "jb2a.explosion.01.orange", "modules/lancer-weapon-fx/soundfx/Missile_Impact.ogg"], showProgressBar = true)
await Sequencer.Preloader.preloadForClients(["modules/lancer-weapon-fx/soundfx/Missile_Launch.ogg", "modules/lancer-weapon-fx/soundfx/Missile_Travel.ogg", "jb2a.pack_hound_missile", "jb2a.explosion.01.orange", "modules/lancer-weapon-fx/soundfx/Missile_Impact.ogg"])

let sequence = new Sequence()

Expand Down
2 changes: 1 addition & 1 deletion packs_source/weaponfx/Effects/PPC_LxQMeItXellYRt3b.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const {targetsMissed, targetTokens, sourceToken} = game.modules.get("lancer-weapon-fx").api.getMacroVariables(this);

await Sequencer.Preloader.preloadForClients(["modules/lancer-weapon-fx/soundfx/PPC2.ogg", "jb2a.chain_lightning.primary.blue"], showProgressBar = true)
await Sequencer.Preloader.preloadForClients(["modules/lancer-weapon-fx/soundfx/PPC2.ogg", "jb2a.chain_lightning.primary.blue"])

let sequence = new Sequence();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const {targetsMissed, targetTokens, sourceToken} = game.modules.get("lancer-weapon-fx").api.getMacroVariables(this);

await Sequencer.Preloader.preloadForClients(["jb2a.claws.400px.red", "modules/lancer-weapon-fx/soundfx/Melee.ogg", "jb2a.impact.blue.2"], showProgressBar = true)
await Sequencer.Preloader.preloadForClients(["jb2a.claws.400px.red", "modules/lancer-weapon-fx/soundfx/Melee.ogg", "jb2a.impact.blue.2"])

let sequence = new Sequence();

Expand Down
2 changes: 1 addition & 1 deletion packs_source/weaponfx/Effects/Railgun_iOD860W9KokfR3Hy.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const repeatImpactAnimationForEachTarget = function (sequence, targets) {
return sequence;
}

await Sequencer.Preloader.preloadForClients(["jb2a.impact.orange.0", "modules/lancer-weapon-fx/soundfx/Annihilator_Charge.ogg", "jb2a.bullet.Snipe.blue", "modules/lancer-weapon-fx/soundfx/AMR_Fire.ogg", "modules/lancer-weapon-fx/soundfx/AMR_Impact.ogg"], showProgressBar = true)
await Sequencer.Preloader.preloadForClients(["jb2a.impact.orange.0", "modules/lancer-weapon-fx/soundfx/Annihilator_Charge.ogg", "jb2a.bullet.Snipe.blue", "modules/lancer-weapon-fx/soundfx/AMR_Fire.ogg", "modules/lancer-weapon-fx/soundfx/AMR_Impact.ogg"])

let sequence = new Sequence()

Expand Down

0 comments on commit 24bddf2

Please sign in to comment.