Jump to content

Coran's Lovetalks - Messed up global variables?


Guest Luna

Recommended Posts

Guest Luna

Hey all,

 

I'd really appreciate it if someone could give me advice on how to fix this. I'm nowhere near being a genius when it comes to switching around variables in game; the most I usually do is an "ExploreArea" every once in a while... but I've been playing Coran's romance and since I'm only on LT5 I wanted to skip ahead to sneak a look at some of the later scenes. So, I used CLUACONSOLE:SetGlobal("CGLOVETALKTIMER", "GLOBAL", "9999999"), rested, and yay! LT5 plays. I kept going until around LT8, I believe, then reloaded my original game (did NOT save after tinkering around) and was going to continue on my merry way and wait for the LT timer to expire naturally. Just to take a look at some of the other variables for the romance, I open ShadowKeeper - and there's a problem. My LT is set 9, the extra "Friendship Path" mod for Coran was randomly set to 7, and I didn't -notice- any other switches, but that was enough to freak me out. I tried to force a LT with the timer again to see if the game was really going to make me start with 9, but it didn't even work. Tried changing the LT# to 5 again, sped up timer, and nothing.

 

I'm going to be really bummed out if I need to restart the game just to play out the romance again. I was enjoying it very much, and I thought there was usually a way around screwing yourself up with variables just by setting them to the proper numbers again. What really ticks me off is that I hadn't even saved over my game! How exactly did the original file get weird when I made sure not to overwrite it? And is there any way to get the global controls working again just so I can make sure the LT's will still work?

Link to comment

Hi, the way the talks are coded, the character waits for the timer to expire on the odd number and speaks on the even. This way, your LT number in the code is always 2x the 'actiual' LT number. So, when the timer expires, coded LT will hit 10, and Coran will give you 'actual' LT5. In other words, you should be fine. If there are any problems on the natural flow (if you didn't save anything, then the flow should be preserved, no pro) just post her e:)

 

Coran's romance has a bunch of globals controlling it because of the # of paths his romance has, so please, try to avoid mixing them up on him in particular.

Link to comment
Guest Luna

Oh! Here I thought I ruined everything - maybe I was looking at the wrong variable when I saw the 5 initially. Either way, I'm glad to know it should still work all right. Thank you so much for the info... and for the romance itself! (I feel like I just got to meet a celebrity, haha.) You did an amazing job keeping Coran's character the same while adding in much more depth to his personality. Not to mention the coding itself is obviously rather complicated. I appreciate all the effort and care you took in making it, and I know I'll have fun playing out the rest of your work.

Link to comment

Thank you; I am thinking that you took LT5 from the Romance Guide (there we just number lovetalks sequentially). I hope the romance works well after that. And huh, I can only explain why I did the romance the way I did it by a temporary insanity. :)

Link to comment

Archived

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

×
×
  • Create New...