The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> Cut Scene Problem
balduran
post Sep 12 2005, 08:41 AM
Post #1


Supremacy of the Metal Kingdom
Group Icon

Mod Developer
Posts: 223
Joined: 1-September 05
From: Bulgaria




I'm having problems getting this cutscene to work. It is supposed to make the NPC Azure kill Trajan, but all that happens is that she receives the 25000 XP.

I rewrote the code several times, but all in vain.
The first time it inserted the code into azure.bcs, which is her script. Next I tried to put it into the dialogue file, but it didn't work again. I tried different actions, neither of which actually did anything. I even tried to make a cutscene.bcs but all it did was to give the XP, just like all the others.
Next I looked into the DLG file of Camitis (one of the guys from the "Find who burried Tirdir" quest) and copied his cutscene, as it gives a working example of what I am trying to achieve. Here's his code as it is in "camitis.dlg":
QUOTE

StartCutSceneMode()
SetInterrupt(FALSE)
DialogueInterrupt(FALSE)
AttackOneRound("amsi")
Kill("amsi")
SetGlobal("CamRetiEscape","GLOBAL",1)
SetGlobalTimer("CamitisRun","LOCALS",5)
EscapeAreaObjectMove("AR0500","TRAN0500",1550,3627,13)
SetInterrupt(TRUE)
EndCutSceneMode()


I pasted this code into my dialogue file and made the cosmetic changes it needed (you can see them in the two examples below. Both of them are used in my *.d file. After compilation, one goes to Trajan.dlg and the other - to Azurej.dlg). But guess what happened when I tested it - only XP again.

QUOTE

StartCutSceneMode()
SetInterrupt(FALSE)
DialogueInterrupt(FALSE)
ActionOverride("Azure",AttackOneRound("trajan"))
ActionOverride("Azure",Kill("trajan"))
SetGlobal("TrajanPlot","GLOBAL",8)
Wait(2)
AddexperienceParty(25000)
SetInterrupt(TRUE)
EndCutSceneMode()




QUOTE

StartCutSceneMode()
SetInterrupt(FALSE)
DialogueInterrupt(FALSE)
AttackOneRound("trajan")
Kill("trajan")
SetGlobal("TrajanPlot","GLOBAL",8)
Wait(2)
AddexperienceParty(25000)
SetInterrupt(TRUE)
EndCutSceneMode()


--------------------
Blessed be the one who has nothing to say, and yet remains silent.

Too many chieftan, too little indian.

http://balduran.blackwyrmlair.net

-- Azure NPC Romance
-- BG2 Improvements
-- IWD Improvements
Go to the top of the page
 
Quote Post

Posts in this topic
balduran   Cut Scene Problem   Sep 12 2005, 08:41 AM
jastey   NULL   Sep 12 2005, 05:25 PM
balduran   NULL   Sep 14 2005, 10:44 AM
jastey   NULL   Sep 14 2005, 11:03 AM
balduran   NULL   Sep 14 2005, 11:06 AM
jastey   NULL   Sep 14 2005, 11:18 AM
balduran   NULL   Sep 14 2005, 11:20 AM
jastey   NULL   Sep 14 2005, 05:15 PM
balduran   NULL   Sep 15 2005, 08:46 AM
jastey   NULL   Sep 15 2005, 09:20 AM
balduran   NULL   Sep 16 2005, 11:07 AM
jastey   NULL   Sep 16 2005, 11:21 AM
balduran   NULL   Sep 16 2005, 11:32 AM
jastey   NULL   Sep 16 2005, 03:54 PM
Baronius   NULL   Sep 16 2005, 08:38 PM
balduran   NULL   Sep 17 2005, 10:33 AM
balduran   NULL   Sep 19 2005, 08:57 AM
jastey   NULL   Sep 19 2005, 11:15 AM
Baronius   NULL   Sep 23 2005, 05:25 PM
balduran   NULL   Sep 24 2005, 10:48 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 11th November 2024 - 09:43 AM