From be9236979d1f0f6ebb5f4851754a7f674e866d0c Mon Sep 17 00:00:00 2001 From: IceDreamer Date: Wed, 12 Oct 2016 20:53:02 +0100 Subject: [PATCH] Correct file paths to fix some errors --- BlackOpsFAF-ACUs/mod_info.lua | 4 ++-- .../BasiliskNukeEffect05/BasiliskNukeEffect05_script.lua | 4 ++-- .../BasiliskNukeEffectController01_script.lua | 6 +++--- BlackOpsFAF-Unleashed/mod_info.lua | 4 ++-- .../AMTorpedoCluster01/AMTorpedoCluster01_script.lua | 2 +- .../CybranHailfire01/CybranHailfire01_script.lua | 2 +- .../CybranHailfire03/CybranHailfire03_script.lua | 2 +- .../projectiles/SwarmRocket01/SwarmRocket01_script.lua | 2 +- BlackOpsFAF-Unleashed/units/BEL0402/BEL0402_script.lua | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/BlackOpsFAF-ACUs/mod_info.lua b/BlackOpsFAF-ACUs/mod_info.lua index ffb89bfd..b5ffd23a 100644 --- a/BlackOpsFAF-ACUs/mod_info.lua +++ b/BlackOpsFAF-ACUs/mod_info.lua @@ -1,6 +1,6 @@ name = "BlackOps FAF: ACUs" -uid = "9e8ea941-c306-4751-b367-a00000010000" -version = 10 +uid = "9e8ea941-c306-4751-b367-a00000011000" +version = 11 copyright = "2009 Exavier Macbeth, lt_hawkeye, orangeknight, IceDreamer" description = "The ultimate ACU upgrade pack, re-engineered for FAF 3660 or later" author = "Exavier Macbeth, lt_hawkeye, orangeknight - Revamped 2016 by IceDreamer" diff --git a/BlackOpsFAF-Unleashed/effects/entities/BasiliskNukeEffect05/BasiliskNukeEffect05_script.lua b/BlackOpsFAF-Unleashed/effects/entities/BasiliskNukeEffect05/BasiliskNukeEffect05_script.lua index 24c8ef7e..8ad02991 100644 --- a/BlackOpsFAF-Unleashed/effects/entities/BasiliskNukeEffect05/BasiliskNukeEffect05_script.lua +++ b/BlackOpsFAF-Unleashed/effects/entities/BasiliskNukeEffect05/BasiliskNukeEffect05_script.lua @@ -6,10 +6,10 @@ ----------------------------------------------------------------------------------- local EffectTemplate = import('/lua/EffectTemplates.lua') -local BlackOpsFAF-UnleashedEffectTemplate = import('/mods/BlackOpsFAF-Unleashed/lua/BlackOpsEffectTemplates.lua') +local BlackOpsUnleashedEffectTemplate = import('/mods/BlackOpsFAF-Unleashed/lua/BlackOpsEffectTemplates.lua') BasiliskNukeEffect05 = Class(import('/lua/sim/defaultprojectiles.lua').EmitterProjectile) { - FxTrails = BlackOpsFAF-UnleashedEffectTemplate.BasiliskNukePlumeFxTrails01, + FxTrails = BlackOpsUnleashedEffectTemplate.BasiliskNukePlumeFxTrails01, FxTrailScale = 0.5, } diff --git a/BlackOpsFAF-Unleashed/effects/entities/BasiliskNukeEffectController01/BasiliskNukeEffectController01_script.lua b/BlackOpsFAF-Unleashed/effects/entities/BasiliskNukeEffectController01/BasiliskNukeEffectController01_script.lua index 138366f9..d4c0ef41 100644 --- a/BlackOpsFAF-Unleashed/effects/entities/BasiliskNukeEffectController01/BasiliskNukeEffectController01_script.lua +++ b/BlackOpsFAF-Unleashed/effects/entities/BasiliskNukeEffectController01/BasiliskNukeEffectController01_script.lua @@ -11,8 +11,8 @@ local RandomInt = import('/lua/utilities.lua').GetRandomInt local EffectTemplate = import('/lua/EffectTemplates.lua') local BlackOpsEffectTemplate = import('/mods/BlackOpsFAF-Unleashed/lua/BlackOpsEffectTemplates.lua') local Util = import('/lua/utilities.lua') -local BasiliskNukeEffect04 = '/projectiles/MGQAIPlasmaArty01/MGQAIPlasmaArty01_proj.bp' -local BasiliskNukeEffect05 = '/effects/Entities/BasiliskNukeEffect05/CybranNukeEffect05_proj.bp' +local BasiliskNukeEffect04 = '/mods/BlackOpsFAF-Unleashed/projectiles/MGQAIPlasmaArty01/MGQAIPlasmaArty01_proj.bp' +local BasiliskNukeEffect05 = '/mods/BlackOpsFAF-Unleashed/effects/Entities/BasiliskNukeEffect05/CybranNukeEffect05_proj.bp' BasiliskNukeEffectController01 = Class(NullShell) { PassData = function(self, Data) @@ -103,7 +103,7 @@ BasiliskNukeEffectController01 = Class(NullShell) { -- Create initial fireball dome effect local FireballDomeYOffset = -20 - self:CreateProjectile('/effects/entities/BasiliskNukeEffect01/BasiliskNukeEffect01_proj.bp',0,FireballDomeYOffset,0,0,0,1) + self:CreateProjectile('/mods/BlackOpsFAF-Unleashed/effects/entities/BasiliskNukeEffect01/BasiliskNukeEffect01_proj.bp',0,FireballDomeYOffset,0,0,0,1) WaitSeconds(1.1) -- These include waits diff --git a/BlackOpsFAF-Unleashed/mod_info.lua b/BlackOpsFAF-Unleashed/mod_info.lua index bc677653..fea48718 100644 --- a/BlackOpsFAF-Unleashed/mod_info.lua +++ b/BlackOpsFAF-Unleashed/mod_info.lua @@ -1,6 +1,6 @@ name = "BlackOps FAF: Unleashed" -uid = "9e8ea941-c306-aaaf-b367-u00000010000" -version = 10 +uid = "9e8ea941-c306-aaaf-b367-u00000011000" +version = 11 copyright = "2009 Exavier Macbeth, lt_hawkeye, orangeknight" description = "The ultimate unit pack, re-engineered for FAF 3660 or later" author = "Exavier Macbeth, lt_hawkeye, orangeknight - Revamped 2016 by IceDreamer" diff --git a/BlackOpsFAF-Unleashed/projectiles/AMTorpedoCluster01/AMTorpedoCluster01_script.lua b/BlackOpsFAF-Unleashed/projectiles/AMTorpedoCluster01/AMTorpedoCluster01_script.lua index 6ef00481..598803ed 100644 --- a/BlackOpsFAF-Unleashed/projectiles/AMTorpedoCluster01/AMTorpedoCluster01_script.lua +++ b/BlackOpsFAF-Unleashed/projectiles/AMTorpedoCluster01/AMTorpedoCluster01_script.lua @@ -23,7 +23,7 @@ AANTorpedoCluster01 = Class(AMTorpedoCluster) { OnEnterWater = function(self) local Velx, Vely, Velz = self:GetVelocity() local NumberOfChildProjectiles = 1 - local ChildProjectileBP = '/projectiles/AMTorpedoClusterSplit01/AMTorpedoClusterSplit01_proj.bp' + local ChildProjectileBP = '/mods/BlackOpsFAF-Unleashed/projectiles/AMTorpedoClusterSplit01/AMTorpedoClusterSplit01_proj.bp' local angleRange = math.pi * 0.25 local angleInitial = -angleRange / 2 local angleIncrement = angleRange / NumberOfChildProjectiles diff --git a/BlackOpsFAF-Unleashed/projectiles/CybranHailfire01/CybranHailfire01_script.lua b/BlackOpsFAF-Unleashed/projectiles/CybranHailfire01/CybranHailfire01_script.lua index 90b2a2c0..fe23c40b 100644 --- a/BlackOpsFAF-Unleashed/projectiles/CybranHailfire01/CybranHailfire01_script.lua +++ b/BlackOpsFAF-Unleashed/projectiles/CybranHailfire01/CybranHailfire01_script.lua @@ -27,7 +27,7 @@ CAANanoDart02 = Class(CybranHailfire02Projectile) { if dist > 0 and dist <= 15 then WaitSeconds(0.1) local FxFragEffect = EffectTemplate.SThunderStormCannonProjectileSplitFx - local ChildProjectileBP = '/projectiles/CybranHailfire01child/CybranHailfire01child_proj.bp' + local ChildProjectileBP = '/mods/BlackOpsFAF-Unleashed/projectiles/CybranHailfire01child/CybranHailfire01child_proj.bp' -- Split effects for k, v in FxFragEffect do diff --git a/BlackOpsFAF-Unleashed/projectiles/CybranHailfire03/CybranHailfire03_script.lua b/BlackOpsFAF-Unleashed/projectiles/CybranHailfire03/CybranHailfire03_script.lua index 645579db..67c4010e 100644 --- a/BlackOpsFAF-Unleashed/projectiles/CybranHailfire03/CybranHailfire03_script.lua +++ b/BlackOpsFAF-Unleashed/projectiles/CybranHailfire03/CybranHailfire03_script.lua @@ -26,7 +26,7 @@ CAANanoDart02 = Class(CybranHailfire03Projectile) { if dist > 0 and dist <= 15 then WaitSeconds(0.1) local FxFragEffect = EffectTemplate.SThunderStormCannonProjectileSplitFx - local ChildProjectileBP = '/projectiles/CybranHailfire01child/CybranHailfire01child_proj.bp' + local ChildProjectileBP = '/mods/BlackOpsFAF-Unleashed/projectiles/CybranHailfire01child/CybranHailfire01child_proj.bp' for k, v in FxFragEffect do CreateEmitterAtEntity(self, self:GetArmy(), v) diff --git a/BlackOpsFAF-Unleashed/projectiles/SwarmRocket01/SwarmRocket01_script.lua b/BlackOpsFAF-Unleashed/projectiles/SwarmRocket01/SwarmRocket01_script.lua index 8790b059..97316598 100644 --- a/BlackOpsFAF-Unleashed/projectiles/SwarmRocket01/SwarmRocket01_script.lua +++ b/BlackOpsFAF-Unleashed/projectiles/SwarmRocket01/SwarmRocket01_script.lua @@ -39,7 +39,7 @@ CAAMissileNanite02 = Class(CAAMissileNaniteProjectile) { SplitThread = function(self) local FxFragEffect = EffectTemplate.TFragmentationSensorShellFrag - local ChildProjectileBP = '/projectiles/SwarmRocket02/SwarmRocket02_proj.bp' + local ChildProjectileBP = '/mods/BlackOpsFAF-Unleashed/projectiles/SwarmRocket02/SwarmRocket02_proj.bp' -- Split effects for k, v in FxFragEffect do diff --git a/BlackOpsFAF-Unleashed/units/BEL0402/BEL0402_script.lua b/BlackOpsFAF-Unleashed/units/BEL0402/BEL0402_script.lua index b022706d..806c95a7 100644 --- a/BlackOpsFAF-Unleashed/units/BEL0402/BEL0402_script.lua +++ b/BlackOpsFAF-Unleashed/units/BEL0402/BEL0402_script.lua @@ -651,7 +651,7 @@ BEL0402 = Class(BaseTransport, TWalkingLandUnit) { DoTTime = 2.5, DamageType = 'Normal', } - ammocookoff = self:CreateProjectile('/projectiles/NapalmProjectile01/Napalm01_proj.bp', offset.x, offset.y + yBoneOffset, offset.z, velocity.x, velocity.y, velocity.z) + ammocookoff = self:CreateProjectile('/mods/BlackOpsFAF-Unleashed/projectiles/NapalmProjectile01/Napalm01_proj.bp', offset.x, offset.y + yBoneOffset, offset.z, velocity.x, velocity.y, velocity.z) ammocookoff:SetVelocity(Random(2,5)) ammocookoff:SetLifetime(20) ammocookoff:PassDamageData(self.DamageData)