Jump to content


Photo

RoT Cutscene Bug


  • Please log in to reply
13 replies to this topic

#1 Bloodtitan

Bloodtitan
  • Member
  • 406 posts

Posted 12 December 2007 - 08:45 AM

in my current game i decided to betray talavan and help olmar. after i finished the 3 waves of talavan's warriors storming the castle, olmar appeared and said he won the battle. the party then gets transported to talavans castle and olmar obviously wants to say something. however, his dialog never comes up, instead the cutscene starts anew.

i cannot find the areacode of the map this happens on .. it must be one of the rr34XX ones ... not all of them have area scripts but still i don't get it in detail.

EDIT: i suspect the transport script to be:

IF
	Global("DllsDed","LOCALS",0)
THEN
	RESPONSE #100
		CutSceneId(Player1)
		FadeToColor([20.0],0)
		Wait(1)
		ActionOverride("Olmar5",DestroySelf())
		SmallWait(1)
		LeaveAreaLUA("RR3454","",[2060.3178],6)
		ActionOverride(Player2,LeaveAreaLUA("RR3454","",[2110.3181],6))
		ActionOverride(Player3,LeaveAreaLUA("RR3454","",[2047.3205],6))
		ActionOverride(Player4,LeaveAreaLUA("RR3454","",[2125.3191],6))
		ActionOverride(Player5,LeaveAreaLUA("RR3454","",[2080.3230],6))
		ActionOverride(Player6,LeaveAreaLUA("RR3454","",[2159.3233],6))
		Wait(1)
		FadeFromColor([20.0],0)
		Wait(1)
		UnhideGUI()
		EndCutSceneMode()
		SetGlobal("DllsDed","LOCALS",1)
		SetGlobal("Olmtlks","GLOBAL",1)
END

EDIT2: not sure if that one above is the guilty one but this here is definitely the script BEFORE the transport:

IF
	Global("Olmsidthebat","GLOBAL",11)
	Dead("TalWar44") // Commander Tylin
	Dead("TalWar46") // Elite Warrior
	Dead("TalWar47") // Elite Warrior
	Dead("TalWar48") // Elite Warrior
	Dead("TalWar49") // Elite Warrior
	Dead("TalWar50") // Elite Warrior
THEN
	RESPONSE #100
		Wait(30)
		StartCutSceneMode()
		HideGUI()
		SoundActivate("Battl1",FALSE)
		Wait(1)
		FadeToColor([20.0],0)
		Wait(1)
		EndCutSceneMode()
		RestParty()
		SmallWait(1)
		StartCutSceneMode()
		SmallWait(5)
		FadeFromColor([20.0],0)
		Wait(1)
		UnhideGUI()
		EndCutSceneMode()
		CreateCreature("Olmar5",[1587.1279],5) // Chieftain Olmar
		Wait(1)
		ActionOverride("Olmar5",MoveToObject(Player1))
		SetGlobal("Olmsidthebat","GLOBAL",12)
END

Edited by Bloodtitan, 12 December 2007 - 10:21 AM.


#2 Bloodtitan

Bloodtitan
  • Member
  • 406 posts

Posted 13 December 2007 - 01:17 AM

uhm ... noone ? 30 views and no scripting god included ? :(

#3 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 13 December 2007 - 03:37 AM

Is the first script an area script, or is it assigned to a creature? If it is the former, try changing all the "LOCALS" to "GLOBAL" and attempt again.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#4 Bloodtitan

Bloodtitan
  • Member
  • 406 posts

Posted 13 December 2007 - 05:47 AM

just the second script is part of an area script.

the problem is that after the (successful) transportation olmar is not starting his dialog .. this probably indicates that the dialog is either missing or there's a bug in the script part that starts the dialog. could be that the linked file has got a different name or that there's a typo in the commandline ....

i don't understand too much of scripting so i cannot fix this myself though ... just wild guesses.

#5 erebusant

erebusant

    It takes a village...

  • Modder
  • 2109 posts

Posted 13 December 2007 - 06:19 AM

just the second script is part of an area script.

the problem is that after the (successful) transportation olmar is not starting his dialog .. this probably indicates that the dialog is either missing or there's a bug in the script part that starts the dialog. could be that the linked file has got a different name or that there's a typo in the commandline ....

i don't understand too much of scripting so i cannot fix this myself though ... just wild guesses.

You'll probably want to post this thread in the Region of Terror Forum.

It takes a village...


#6 Bloodtitan

Bloodtitan
  • Member
  • 406 posts

Posted 13 December 2007 - 06:51 AM

i'm playing a megamodded game and this error is unreported in that subforum. so i assume it normally does not happen. i did a search for "Olmar" both in "Megamodifications" and "Region of Terror" but nothing matched my problem.

#7 Bloodtitan

Bloodtitan
  • Member
  • 406 posts

Posted 14 December 2007 - 08:07 AM

from my understanding the loop is at this point of the first script:

FadeFromColor([20.0],0)
Wait(1)
UnhideGUI()
EndCutSceneMode()

my GUI never comes back and it flashes back to a black screen, starting anew. i cannot pause, move the party or manually get the GUI back.


EDIT: i managed to access inventory while being stuck in the loop with holding down the i key.. did the same with x and voila, got the area code. it is indeed happening in area rr3454.
also managed to pause the game with holding spacebar ... i could initiate dialogue with olmar and he seems to have a correct dialog ready. he just never starts talking so the bug must be somewhere within the script itself.

Edited by Bloodtitan, 14 December 2007 - 02:23 PM.


#8 -Guest-

-Guest-
  • Guest

Posted 14 December 2007 - 08:01 PM

Try this small change in the end of the script.


IF
Global("DllsDed","LOCALS",0)
THEN
RESPONSE #100
CutSceneId(Player1)
FadeToColor([20.0],0)
Wait(1)
ActionOverride("Olmar5",DestroySelf())
SmallWait(1)
LeaveAreaLUA("RR3454","",[2060.3178],6)
ActionOverride(Player2,LeaveAreaLUA("RR3454","",[2110.3181],6))
ActionOverride(Player3,LeaveAreaLUA("RR3454","",[2047.3205],6))
ActionOverride(Player4,LeaveAreaLUA("RR3454","",[2125.3191],6))
ActionOverride(Player5,LeaveAreaLUA("RR3454","",[2080.3230],6))
ActionOverride(Player6,LeaveAreaLUA("RR3454","",[2159.3233],6))
Wait(1)
FadeFromColor([20.0],0)
Wait(1)
UnhideGUI()
EndCutSceneMode()
SetGlobal("Olmtlks","GLOBAL",1)
SetGlobal("DllsDed","LOCALS",1)
END

#9 Bloodtitan

Bloodtitan
  • Member
  • 406 posts

Posted 14 December 2007 - 10:34 PM

sadly that did not fix it. it's still the very same behavior after i changed the sequence of lines.

#10 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 14 December 2007 - 10:48 PM

Try putting SetGlobal("DllsDed","LOCALS",1) right before FadeToColor([20.0],0) and see what happens.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#11 Bloodtitan

Bloodtitan
  • Member
  • 406 posts

Posted 15 December 2007 - 12:17 AM

still nothing changed... :(

since i can pause the game, should i try to alter some globals with the console ?

EDIT: the olmar in the area i get transported to is olmar3 .. i see no creation of olmar3 in that script, could this be the problem? rr3454 does have olmar listed as actor though ....

Edited by Bloodtitan, 15 December 2007 - 12:27 AM.


#12 Bloodtitan

Bloodtitan
  • Member
  • 406 posts

Posted 15 December 2007 - 12:40 AM

it's a bruteforce approach but whatever... i want to play on and not waste my weekend with solving scripting mysteries.

here's what i have done:

- kill talavans elite soldiers
- have olmar appear and transport you to rr3454
- manually set SetGlobal("Olmtlks","GLOBAL",1) and SetGlobal("DllsDed","LOCALS",1)
- have olmar talk to you (this occasionally happens when you hold down the spacebar to pause the game
- pause the game again and save
- exit BG2 and remove tallsde.bcs from your override folder
- reload your savegame

#13 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 15 December 2007 - 02:48 AM

I don't think cutscenes based on local variables work properly, so that whole segment can be considered broken.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#14 Krohon

Krohon
  • Member
  • 12 posts

Posted 05 January 2008 - 03:46 PM

It worked to me, thank you!

The file "tallsde.bsc" was not present so I did not removed it, of course.

My RoT install is broken, I was forced to join Olmar side and the Arena is not working. Anyway, good fix.


it's a bruteforce approach but whatever... i want to play on and not waste my weekend with solving scripting mysteries.

here's what i have done:

- kill talavans elite soldiers
- have olmar appear and transport you to rr3454
- manually set SetGlobal("Olmtlks","GLOBAL",1) and SetGlobal("DllsDed","LOCALS",1)
- have olmar talk to you (this occasionally happens when you hold down the spacebar to pause the game
- pause the game again and save
- exit BG2 and remove tallsde.bcs from your override folder
- reload your savegame