Jump to content

missing trigger variable for vampirism-love quest


Recommended Posts

In WARSAGE.dlg, state 0, the PC can ask for advice after Bodhi took his/her love interest:

 

IF ~~ THEN BEGIN 0 // from: 12.0 9.0 8.0 5.0 3.0 2.0
 SAY #56577 /* ~Jetzt beeilt Euch. Unsere Zeit ist kostbar, und Kriegsangelegenheiten müssen Vorrang haben.~ */
 IF ~!Dead("c6bodhi")~ THEN REPLY #56578 /* ~Ich muss einem mächtigen Vampir namens Bodhi gegenübertreten. Was könnte helfen, sie zu besiegen?~ */ GOTO 1
 IF ~!Dead("c6bodhi")
OR(4)
Global("AerieVampire","GLOBAL",2)
Global("AnomenVampire","GLOBAL",2)
Global("ViconiaVampire","GLOBAL",2)
Global("JaheiraVampire","GLOBAL",2)
~ THEN REPLY #56579 /* ~Jemand, den ich liebte, wurde von einem Vampir genommen. Was erwartet mich, wenn ich sie finde?~ */ GOTO 6
 IF ~OR(4)
PartyHasItem("miscbl")
PartyHasItem("miscbm")
PartyHasItem("miscbn")
PartyHasItem("miscbo")~ THEN REPLY #56580 /* ~Jemand, der mir nahe stand, ist einem Vampir zum Opfer gefallen. Gibt es eine Möglichkeit, sie zu retten?~ */ GOTO 5

 

EDIT: To make it more clear, I am referring to this reply option, which is a question of "what do I have to expect now that my beloved was taken by a vampire":

IF ~!Dead("c6bodhi")
OR(4)
Global("AerieVampire","GLOBAL",2)
Global("AnomenVampire","GLOBAL",2)
Global("ViconiaVampire","GLOBAL",2)
Global("JaheiraVampire","GLOBAL",2)
~ THEN REPLY #56579 /* ~Jemand, den ich liebte, wurde von einem Vampir genommen. Was erwartet mich, wenn ich sie finde?~ */ GOTO 6

 

Only thing is: "Global("NPCXXVampire","GLOBAL",2)" is set the instance the PC enters Bodhis hideout, the level where she is waiting with the vampirised love interest (actually it is set the instance the vampirised love interest is created in that room).

 

Meaning the PC has to go down to that level (not facing Bodhi yet), then he can go and ask the elven war priest about advice.

 

I would like to have the "Global("AerieVampire","GLOBAL",1)

Global("AnomenVampire","GLOBAL",1)

Global("ViconiaVampire","GLOBAL",1)

Global("JaheiraVampire","GLOBAL",1)" included into thet check as well, meaning the PC can go and ask for advice directly after Bodhi took away the love interest in the graveyard-scene (making it an "OR(8)", or, adding another reply option for the 4 Global,1 cases. ..)

Link to comment

I just used this in Xan; maybe it will be of help:

 

EXTEND_BOTTOM WARSAGE 0

+ ~Global("O#XanMoonbladeExtinguished","GLOBAL",3)~ + @3222 EXTERN WARSAGE O#XanWarsage1

+ ~Global("O#XanMoonbladeExtinguished","GLOBAL",3)~ + @3223 EXTERN WARSAGE O#XanWarsage1

END

Link to comment

devSin: As far as I see, the oghma-monks will give advice as soon as the PC has the body of the killed vampirised love interest. This is also true for the warsage (reply option "2", counting from zero, in the above posted state). Additionally there is the option to ask him before facing Bodhi ((reply option "1"). Sorry for the German install, but the difference is "what do I have to expect" vs. "what am I going to do to revive my beloved". The response option I am referring to is not meant to be there after killing the vampirised love interest, it is before, so I would say it should be there from the moment the situation occurrs, i.e. after Bodhi took the love interest in the graveyard.

 

(Now I have to go and have a look which "book seller" gives advice, too. :) )

 

EDIT: edited the above post to make it more clear.

Link to comment

You're right. I didn't know the sage had before and after dialogue; this one should be checking GLOBAL,1.

 

The book merchant is in the inn in Imnesvale. He basically tells you where the temple is and what you need to do. The monks should direct you to see him if you ever got the Vampiricus Omnibus and go to see them.

Link to comment

Fixed for v4.

 

// sages should offer counsel immediately after love interest kidnapped
EXTEND_BOTTOM WARSAGE 0
 IF ~!Dead("c6bodhi")
OR(4)
 Global("AerieVampire","GLOBAL",1)
 Global("AnomenVampire","GLOBAL",1)
 Global("ViconiaVampire","GLOBAL",1)
 Global("JaheiraVampire","GLOBAL",1)~ THEN GOTO 6
END

Link to comment
Fixed for v4.

 

// sages should offer counsel immediately after love interest kidnapped
EXTEND_BOTTOM WARSAGE 0
 IF ~!Dead("c6bodhi")
OR(4)
 Global("AerieVampire","GLOBAL",1)
 Global("AnomenVampire","GLOBAL",1)
 Global("ViconiaVampire","GLOBAL",1)
 Global("JaheiraVampire","GLOBAL",1)~ THEN GOTO 6
END

 

I am missing the dialogue option:

 

EXTEND_BOTTOM WARSAGE 0

IF ~!Dead("c6bodhi")

OR(4)

Global("AerieVampire","GLOBAL",1)

Global("AnomenVampire","GLOBAL",1)

Global("ViconiaVampire","GLOBAL",1)

Global("JaheiraVampire","GLOBAL",1)~ THEN REPLY #56580 GOTO 6

END

Link to comment
I am missing the dialogue option:

Yeah, whoops. This can also be addressed in a nicer way anyway with ALTER_TRANS:

 

// sages should offer counsel immediately after love interest kidnapped
ALTER_TRANS WARSAGE // file name
BEGIN 0 END // state number (can be more than one)
BEGIN 1 END // transition number (can be more than one)
BEGIN // list of changes, see below for flags
 TRIGGER ~!Dead("c6bodhi")
OR(4)
 Global("AerieVampire","GLOBAL",1)
 Global("AnomenVampire","GLOBAL",1)
 Global("ViconiaVampire","GLOBAL",1)
 Global("JaheiraVampire","GLOBAL",1)~
END

 

(Can anyone guess why I requested ALTER_TRANS?)

Link to comment

With ALTER_TRANS, the trigger would be changed to the GLOBAL,1 only?

Not to start nitpicking, but now, just in case someone went down to Bodhi's level, but not facing Bodhi yet, he couldn't ask the question any longer.

 

Why not make it (or maybe I didn't understand how ALTER_TRANS works.)

 

// sages should offer counsel immediately after love interest kidnapped

ALTER_TRANS WARSAGE // file name

BEGIN 0 END // state number (can be more than one)

BEGIN 1 END // transition number (can be more than one)

BEGIN // list of changes, see below for flags

TRIGGER ~!Dead("c6bodhi")

OR(8)

Global("AerieVampire","GLOBAL",1)

Global("AnomenVampire","GLOBAL",1)

Global("ViconiaVampire","GLOBAL",1)

Global("JaheiraVampire","GLOBAL",1)

Global("AerieVampire","GLOBAL",2)

Global("AnomenVampire","GLOBAL",2)

Global("ViconiaVampire","GLOBAL",2)

Global("JaheiraVampire","GLOBAL",2)~

END

Link to comment
(Can anyone guess why I requested ALTER_TRANS?)
It seems to be very friendly syntax, and very handy for the fixpack. But for any "normal" mod, I think it's rather dangerous. I surely hope people will work with what is there and stick to A_T_T and EXTEND_BOTTOM to maintain compatibility.
Link to comment

Yeah, we should check for 1 or 2. I think Let's just change those to GT > 0 checks.

 

// sages should offer counsel immediately after love interest kidnapped
ALTER_TRANS WARSAGE // file name
BEGIN 0 END // state number (can be more than one)
BEGIN 1 END // transition number (can be more than one)
BEGIN // list of changes, see below for flags
 TRIGGER ~!Dead("c6bodhi")
OR(4)
 GlobalGT("AerieVampire","GLOBAL",0)
 GlobalGT("AnomenVampire","GLOBAL",0)
 GlobalGT("ViconiaVampire","GLOBAL",0)
 GlobalGT("JaheiraVampire","GLOBAL",0)~
END

Link to comment
Let's just change those to GT > 0 checks.
The globals get increased while the Bodhi plots moves along. GT > 0 check means the question "What do I have to expect now that my love has been turned into a vampire?" could still be asked after his/her restoration. I would suggest using definite 1,2 checks.

 

-jastey

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...