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
devSin
post Feb 11 2007, 09:22 PM
Post #2





Forum Member
Posts: 53
Joined: 22-March 05




The game assigns scripts when a character joins the party based on the 2DA files. Make sure the 2DA files are correct for your NPC (so that the game can assign the script and dialogue files that your NPC should be running).

Dialogue automatically ends cutscene mode, so it doesn't matter where you put EndCutSceneMode() (or even if you use it at all).

Player1 doesn't really ever have a dialogue file assigned, so your StartDialogueNoSet() isn't going to do anything (as HERD suggests, you want DADROW18 to initiate dialogue with Player1).

Make sure that "bwtouchx" is a valid script name. If it's not a character that's in the party, you need to move it to AR2200 with the party (using MoveBetweenAreas()).

This post has been edited by devSin: Feb 11 2007, 09:23 PM
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