Jump to content

Purpose of CD_STATE_NOTVALID


Skitia

Recommended Posts

This probably has a really simple answer, but what is the purpose of CD_STATE_NOTVALID? I see it in a lot in interjects in mods, and am primarily wondering why can IsValidForPartyDialogue not be used instead, where it seems to be used commonly in the game itself.

Link to comment

In the old engine, IsValidForPartyDialogue was a very unreliable trigger. Lots of interjections of the NPC crew were missed because it didn't fire although the NPC was standing right there.

CD_STATE_NOTVALID  was a custom state check introduced by CamDawg that basically checks for everything that would prevent a character to be able to talk. It is far more reliable but has to be used in combination with InParty() and some See() trigger.

For the EE, the IsValidForPartyDialogue trigger was revised - as far as I know, to make it far more reliable. I think for the EE it makes no difference which you use, but I might stand corrected.

Link to comment
59 minutes ago, jastey said:

EDIT: And maybe skipable cutscenes.

The cutscenes in non-EE BG2 can be skipped, using the esc -key... they just need to be found in the baldur.ini file, which they are put there when they are first seen. And the BWP/BWS put them there too.

But the only major thing missing in BG2 is the ZOOM, and auto screensize adjustment, which could have been done BETTER.

Edited by Jarno Mikkola
Link to comment

Hmm, to be clear I mean the .mve files... not the in game scripted "cut scenes".

BG1 for example has there's in the Baldur.ini file:

[Movies]
BG4LOGO=1
TSRLOGO=1
BILOGO=1
INFELOGO=1
INTRO=1

Enabling their skipping.

Edited by Jarno Mikkola
Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...