Jump to content

Modders wanted! Protagonist can die tweak.


Recommended Posts

I found this inside BDANGATH.BCS:

IF
    Global("BD_ANDRUS_GO","GLOBAL",0)
THEN
    RESPONSE #100
        SetInterrupt(FALSE)
        ForceSpellRES("BDGAMEOV",Player1) // Trap the Soul
        SmallWait(15)
        FadeToColor([10.0],0)
        GameOver(219377) // The main character has been killed. You must restart the game.
        SetGlobal("BD_ANDRUS_GO","GLOBAL",1)
        SetInterrupt(TRUE)
END

Do you know what it is?

 

EDIT: Got an explanation on another forum.

Edited by Blash2
Link to comment
On 8/20/2019 at 6:15 PM, argent77 said:

Game over triggering when the protagonist dies is scripted.

Before installing this mod, open BALDUR.BCS with Near Infinity and search for "GameOver". Either remove the whole block where this script action is included or add "False()" before or after the "!InParty(Player1)"  trigger. Do the same in BDBALDUR.BCS and BALDUR25.BCS.

I found out something curious. After applying the tweak, the BCS files you mentioned will contain this:

IF
    OR(3)
        NumInPartyAlive(0)
        StateCheck(Player1,STATE_EXPLODING_DEATH)
        StateCheck(Player1,STATE_FROZEN_DEATH)
THEN
    RESPONSE #100
        GameOver(19377) // The main character has been killed. You must restart the game.
END

I made some tests, and I found out that upon death by petrification, game ends anyway.

The game doesn't end if I modify the script into this:

IF
        NumInPartyAlive(0)
THEN
    RESPONSE #100
        GameOver(19377) // The main character has been killed. You must restart the game.
END

Sounds right to you?

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...