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

Welcome Guest ( Log In | Register )

> Cutscene not starting
Rabain
post Feb 11 2007, 01:03 AM
Post #1


GOD


Retired team member
Posts: 1728
Joined: 14-July 04
From: Ireland




I have the following problem with a cutscene. It's probably something basic but I'm just not seeing it.

The npc is not in the party when pc starts talking to him but was previously:

In the P dialog:

CODE
IF ~Global("bwtouchnopay","GLOBAL",2)!GlobalTimerExpired("bwtouchnopayt","GLOBAL")~ notearnedindrow
SAY ~Blah blah.~
+ ~PartyGoldGT(9999)~ + ~Yes, I have changed my mind.~ DO ~SetGlobal("bwtouchnopay","GLOBAL",3)SetGlobal("kickout","LOCALS",0) JoinParty()
~ EXIT
+ ~PartyGoldLT(10000)~ + ~I simply do not have the money.~ EXIT
++ ~You will have to make do on your own.~ EXIT
END


Then in the npc's script:

CODE
IF
Global("bwtouchnopay","GLOBAL",3)
THEN
RESPONSE #100
      StartCutSceneMode()
      StartCutScene("bwtoumov")
END


But the cutscene doesn't start, it doesn't even go into cutscene mode. I've tried starting it all in the dialog and not in script but that doesn't work either. The npc does join the party though.

The bwtoumov cutscene is compiled and looks fine.
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
HERD
post Feb 11 2007, 11:14 PM
Post #2


The Islander
Group Icon

Member of Graphics Dept.
Posts: 365
Joined: 31-January 05
From: Queens, NY




QUOTE
I was under the impression that the personal script you assign to the cre when you create it or at install (as some do now) should stay on the npc throughout its life in SoA.

Only if it's its OVERRIDE script. Other scripts may be replaced on joining the party (I'm 100% sure about CLASS and DEFAULT scripts.)

As for your cutscene, I'd try sort of

IF
True()
THEN
RESPONSE #100
CutSceneId(Player1)
Wait(1)
MoveToPoint([1512.1354])
ActionOverride(PLAYER2,MoveToPoint([1450.1352]))
ActionOverride(PLAYER3,MoveToPoint([1473.1294]))
ActionOverride(PLAYER4,MoveToPoint([1416.1313]))
ActionOverride(PLAYER5,MoveToPoint([1443.1254]))
ActionOverride(PLAYER6,MoveToPoint([1391.1271]))
FadeToColor([20.0],0)
ActionOverride(PLAYER2,LeaveAreaLUA("AR2200","",[4430.930],14))
ActionOverride(PLAYER3,LeaveAreaLUA("AR2200","",[4430.930],14))
ActionOverride(PLAYER4,LeaveAreaLUA("AR2200","",[4430.930],14))
ActionOverride(PLAYER5,LeaveAreaLUA("AR2200","",[4430.930],14))
ActionOverride(PLAYER6,LeaveAreaLUA("AR2200","",[4430.930],14))
Wait(1)
LeaveAreaLUA("AR2200","",[4600.1100],14)
Wait(1)
FadeFromColor([20.0],0)
ActionOverride("bwtouchx",MoveToPoint([4640.1080]))
ActionOverride("DADROW18",StartDialogueNoSet(Player1))
EndCutSceneMode()
END

I believe having CutSceneId(Player1) is always safe.
Go to the top of the page
 
Quote Post

Posts in this topic
Rabain   Cutscene not starting   Feb 11 2007, 01:03 AM
Awake   I'm going to go with the simple idea, and mayb...   Feb 11 2007, 01:57 AM
Vlasák   IF Global("bwtouchnopay","GLOBAL...   Feb 11 2007, 08:55 AM
HERD   You can try ClearAllActions() before the cutscene   Feb 11 2007, 09:32 AM
Sikret   Also, try adding a space between the two SetGlob...   Feb 11 2007, 10:15 AM
Rabain   I'll try the DisplayStringHead() thing first I...   Feb 11 2007, 11:50 AM
Rabain   This doesn't seem right...I checked in NI and ...   Feb 11 2007, 12:54 PM
Vlasák   Rabain: has the variable bwtouchnopay really value...   Feb 11 2007, 12:56 PM
Rabain   I've checked in ShadowKeeper and in NI and the...   Feb 11 2007, 01:04 PM
Rabain   Adding ChangeAiScript() to the dialogue fixed it. ...   Feb 11 2007, 01:32 PM
Vlasák   Rabain: mmm... what about pdialog.2da? There is co...   Feb 11 2007, 01:34 PM
Rabain   I thought the 25 files where only used once you...   Feb 11 2007, 01:54 PM
Vlasák   Rabain: yep, prefix 25 is used for ToB scripts and...   Feb 11 2007, 02:34 PM
Rabain   No worries, I've bypassed that problem with Ch...   Feb 11 2007, 03:07 PM
HERD   Shouldn't the last two cutscene actions be Ac...   Feb 11 2007, 05:30 PM
Rabain   I don't think it really matters when you End t...   Feb 11 2007, 08:32 PM
HERD   What I mean is that perhaps DADROW18 must start di...   Feb 11 2007, 09:00 PM
devSin   The game assigns scripts when a character joins th...   Feb 11 2007, 09:22 PM
Rabain   Basically what happens is that the character joins...   Feb 11 2007, 10:39 PM
Rabain   Okay I figured it out, never place an npc's pe...   Feb 11 2007, 10:59 PM
devSin   Yes, the override script is the only one that isn...   Feb 11 2007, 11:08 PM
HERD   Only if it's its OVERRIDE script. Other scrip...   Feb 11 2007, 11:14 PM
Razfallow   IF True() THEN RESPONSE #100 CutSceneId...   Feb 13 2007, 08:48 AM
Rabain   bwtouchx is the DV of the ex-party member who join...   Feb 13 2007, 09:50 AM


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



- Lo-Fi Version Time is now: 6th June 2026 - 02:26 PM