Page 1 of 1

Anyone know how to set ViconiaRomance timer? Sabre solved my problem

Posted: Wed Aug 29, 2001 7:01 am
by UserUnfriendly
Had a bit of trouble with the happy script 4.4, and Sabre finally tracked it down for me. This was a Peculiar install, BG2, Balderdash patches and Tob installed over everything, however when I installed happy script and tried to romance Viccy it did not work right. Anyway Sabre has been helping me with it, and I got an e-mail saying he finally tracked it down. apparently there is a timer, which I can't even figureout how to see, called Viconiaromance timer that is not being set. I think this is different than the ViconiaRomance timeer that you can see via shadowkeeper global tab.

Anyway, if anyone knows how to set this timer, pls post!

Thanks!

Posted: Wed Aug 29, 2001 12:11 pm
by Sojourner
Hmm, the only romance variable I've seen that isn't a global is LOVETALK, which shows up under the affects tab in Shadowkeeper. However, I don't believe that it's the one Sabre is referring to. I think he's talking about the ViconiaRomanceActive variable, which needs to be set to 1, before you get any of the romance dialogs.

Set by entering the following at the console:

CLUAConsole:SetGlobal("ViconiaRomanceActive","global",1)

[ 08-29-2001: Message edited by: Sojourner ]

Posted: Wed Aug 29, 2001 10:16 pm
by Sabre
No, I did mean the ViconiaRomance global timer. This is the thing that the game uses to figure out the time between romance dialogue. I know that you can set Globals and Locals variables with Shadow Keeper and CLUAConsole; but I have no idea how to set a timer with them. This is the code that the game uses in the script file to set the timer RealSetGlobalTimer("ExpViconiaRomance","GLOBAL",2400), I've tried using CLUAConsole:RealSetGlobalTimer thing but it doesn't work.

Damn, just realised that the game changes this for ToB as well, but for some reason they only changes the timer variable for Viconia while still using AerieRomance and JaheiraRomance for Aerie and Jaheria. It seem they just cannot make up their mind or something, oh well.

[ 08-30-2001: Message edited by: Sabre ]

Posted: Wed Aug 29, 2001 10:44 pm
by Sojourner
Just try the following to force the first dialog:

CLUAConsole:SetGlobal("ViconiaRomance","global",1)

This should cause the first dialog to occur immediately, and once it's finished, the game should automatically reset the timer, unless that line of code was omitted from the happy script.

Posted: Sat Sep 02, 2006 5:56 pm
by Shareazu
but

but is it supposed to be

SetGlobal("ViconiaRomance","global",1)

or

SetGlobal "ViconiaRomance","global",1 ?

Posted: Mon Sep 04, 2006 4:26 pm
by UserUnfriendly
Shareazu wrote: SetGlobal("ViconiaRomance","global",1)

this is the format for setting variables in the game. :)