Skip to content

Commit 2519634

Browse files
committed
Updated reference to ME5_CameraManager.lua; fixed soundspaces load order
1 parent e540a04 commit 2519634

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

ME5/EURn_c.lua

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ScriptCB_DoFile("ME5_ObjectiveAssault")
1717
ScriptCB_DoFile("ME5_ObjectiveConquest")
1818
ScriptCB_DoFile("ME5_ObjectiveGoto")
1919
ScriptCB_DoFile("ME5_CinematicContainer")
20-
ScriptCB_DoFile("ME5_CameraFunctions")
20+
ScriptCB_DoFile("ME5_CameraManager")
2121
ScriptCB_DoFile("ME5_CombatManager")
2222
--ScriptCB_DoFile("ME5_CinematicOverlayIFS")
2323
ScriptCB_DoFile("Ambush")
@@ -1981,7 +1981,7 @@ function ScriptPostLoad()
19811981
-- Play spawn menu music
19821982
ScriptCB_PlayInGameMusic("eur_amb_01a_briefing")
19831983

1984-
SetRespawnPointPlayer("ps_start_shuttle4") -- DEBUG
1984+
--SetRespawnPointPlayer("ps_start_shuttle4") -- DEBUG
19851985

19861986
onfirstspawn = OnCharacterSpawn(
19871987
function(character)
@@ -1992,6 +1992,7 @@ function ScriptPostLoad()
19921992
camShakeCharUnit = GetCharacterUnit(character)
19931993

19941994
BeginOpeningCinematic()
1995+
--UnblockCombatZoneExits(0) -- DEBUG
19951996

19961997
ScriptCB_EnableCommandPostVO(0)
19971998

@@ -4227,7 +4228,7 @@ function BeginOpeningCinematic()
42274228

42284229
openingCinematicSequence = CinematicContainer:New{pathName = "ps_start_shuttle"}
42294230
openingCinematicSequence:AddShot(ShotIntro1)
4230-
--[[openingCinematicSequence:AddShot(ShotTransition0)
4231+
openingCinematicSequence:AddShot(ShotTransition0)
42314232
openingCinematicSequence:AddShot(Shot1a)
42324233
openingCinematicSequence:AddShot(Shot1b)
42334234
openingCinematicSequence:AddShot(ShotTransition1)
@@ -4244,7 +4245,7 @@ function BeginOpeningCinematic()
42444245
openingCinematicSequence:AddShot(Shot4a)
42454246
openingCinematicSequence:AddShot(Shot4b)
42464247
openingCinematicSequence:AddShot(ShotTransition4)
4247-
openingCinematicSequence:AddShot(Shot4c)]]
4248+
openingCinematicSequence:AddShot(Shot4c)
42484249
openingCinematicSequence:AddShot(ShotTransition5a)
42494250
openingCinematicSequence:AddShot(ShotShuttles1a)
42504251
openingCinematicSequence:AddShot(ShotTransition5b)
@@ -4600,6 +4601,8 @@ function ScriptInit()
46004601
-- Sides setup end
46014602
--
46024603

4604+
ReadDataFile("..\\..\\addon\\ME5\\data\\_LVL_PC\\sound\\SFL_EUR_Streaming.lvl")
4605+
46034606

46044607
-- Level Stats
46054608
-- ClearWalkers()
@@ -4626,7 +4629,7 @@ function ScriptInit()
46264629
SetMemoryPoolSize("Obstacle", 1024)
46274630
SetMemoryPoolSize("PathNode", 1024)
46284631
SetMemoryPoolSize("SoldierAnimation", 410)
4629-
SetMemoryPoolSize("SoundSpaceRegion", 100)
4632+
SetMemoryPoolSize("SoundSpaceRegion", 24)
46304633
SetMemoryPoolSize("TreeGridStack", 1024)
46314634
SetMemoryPoolSize("UnitAgent", 128)
46324635
SetMemoryPoolSize("UnitController", 128)
@@ -4661,8 +4664,6 @@ function ScriptInit()
46614664

46624665
SoundFX()
46634666

4664-
ReadDataFile("..\\..\\addon\\ME5\\data\\_LVL_PC\\sound\\SFL_EUR_Streaming.lvl")
4665-
46664667

46674668
-- Opening satellite shots
46684669
AddCameraShot(-0.461276, -0.061869, -0.877234, 0.117716, -51.108570, 127.905670, 150.074707);

0 commit comments

Comments
 (0)