Red Hessian Posted July 15, 2013 Share Posted July 15, 2013 Hey there all ye experienced modders! I have some questions about a couple of pazaak players that have been bugging me for some time. The first is Gonto Yas, the pazaak player on Manaan. Every time you initiate a conversation with him and every time you win or lose a pazzak game, he spouts the same lines about how the Sith destroyed the Dantoone enclave. Now, I can see in his dlg file that other options are listed, such as different reactions if you beat him, lose to him, etc. Also you can play pazaak with him indefinitely, but in the dlg file you can see that after you beat him 10 times he's supposed to refuse playing you anymore. A similar thing exists with Toll Apkar on Korriban. You can play with him indefinitely for a small amount of credits, but again the dlg file says that after 10 games he's supposed to offer you some cards and then, when you win, refuse to play anymore pazaak. Now, my questions are: 1) Is this the fault of the scripts or something with the dlg files? 2) Can it be fixed? 3) And if it can, how? Link to comment Share on other sites More sharing options...
milestails Posted July 15, 2013 Share Posted July 15, 2013 Interesting find... Link to comment Share on other sites More sharing options...
Fallen Guardian Posted July 16, 2013 Share Posted July 16, 2013 First off, awesome find. 1. Without looking at the stuff myself - I have no clue. I'll take a look a bit later when I'm on my computer. 2. Should be very fixable. 3. It all depends on what's wrong with it. I should have enough time to fix it within a week or so. Link to comment Share on other sites More sharing options...
Red Hessian Posted July 16, 2013 Author Share Posted July 16, 2013 Thanks, FG! Looking forward to it. Link to comment Share on other sites More sharing options...
Salk Posted July 17, 2013 Share Posted July 17, 2013 I am very much looking forward to it too. When you're ready with it, could you share it with us, Fallen Guardian? Link to comment Share on other sites More sharing options...
Fallen Guardian Posted July 17, 2013 Share Posted July 17, 2013 Yep, that's what I intend to do. Link to comment Share on other sites More sharing options...
Salk Posted July 17, 2013 Share Posted July 17, 2013 Fallen Guardian, I take the opportunity to ask you if it is possible to convert compiled scripts to their source (.ncs files to .nss files) because I would have liked to check many scripts that KotOR reports only as compiled .ncs files under RIMS->Modules->xxxxyyxx_s.rim->Scripts, Compiled. Or are the source files to be found somewhere else? Thanks! Link to comment Share on other sites More sharing options...
supreme kotor Posted July 17, 2013 Share Posted July 17, 2013 Fallen Guardian, I take the opportunity to ask you if it is possible to convert compiled scripts to their source (.ncs files to .nss files) because I would have liked to check many scripts that KotOR reports only as compiled .ncs files under RIMS->Modules->xxxxyyxx_s.rim->Scripts, Compiled. Or are the source files to be found somewhere else? Thanks! Not to steal the limelight from Fallen Gaurdian but I was here so I thought I would help you out. First off in kotor tool if your looking at TSL there are MANY scripts and while not all of them will work with KotOR1 they will at least help you. There is also a program called DeNCS that can decompile alot of scripts to thier original nss form (no it will not work on all scripts but its a start) http://www.lucasforums.com/showthread.php?t=149198 Hope I Helped- Supreme Kotor Link to comment Share on other sites More sharing options...
Salk Posted July 18, 2013 Share Posted July 18, 2013 Thanks for the help, supreme kotor. I am actually working with the first game, not TSL. I tried using that software you recommend and I am happy to see it work well for a number of scripts. It's such a sad thing that it had not been developed further to increase compatibility with KotOR scripts though. The decompiler fails with many unfortunately. But yes, it helped me a lot! Link to comment Share on other sites More sharing options...
Red Hessian Posted July 18, 2013 Author Share Posted July 18, 2013 How about you guys sort this out between yourselves with PM's instead of hijacking my thread which is completely unrelated to Salk's question, hmm? Link to comment Share on other sites More sharing options...
Salk Posted July 18, 2013 Share Posted July 18, 2013 Point taken, Red Hessian. Truth to be told though, it has to do with your OT because if I had the means and help, I might try and contribute something in order to make the two pazaak players no longer play endlessly. Link to comment Share on other sites More sharing options...
Fallen Guardian Posted July 22, 2013 Share Posted July 22, 2013 Well it turns out I didn't have as much free time as I thought I would. I should still be able to get this done, hopefully by July 30-31st at the latest. Link to comment Share on other sites More sharing options...
Red Hessian Posted July 22, 2013 Author Share Posted July 22, 2013 No problem. Take your time, no need to hurry. Link to comment Share on other sites More sharing options...
Salk Posted July 25, 2013 Share Posted July 25, 2013 For Red Hessian's problem with Gonto, I think the issue is in the script k_pman_planet28: int StartingConditional() { int iResult; iResult = ((GetGlobalNumber("DAN_PLANET_PLOT") == 3) && (GetGlobalBoolean("MAN_GONTOD_DONE") == FALSE)); if (iResult) SetGlobalBoolean("MAN_GONTOD_DONE", TRUE); return iResult; } it is missing the {} for the if condition so instead of being fired once it's fired every time. More experienced modders feel free to correct me, please. I can't at the moment test it myself. EDIT: I can correct myself. The missing parenthesis have nothing to do with it! Link to comment Share on other sites More sharing options...
Red Hessian Posted July 25, 2013 Author Share Posted July 25, 2013 Nope, doesn't work. He still says it every time you speak to him and every time you win or lose a pazaak game. Link to comment Share on other sites More sharing options...
Salk Posted July 25, 2013 Share Posted July 25, 2013 Red Hassian, could you please upload your Save Game somewhere so that I can try it myself? Thanks! Link to comment Share on other sites More sharing options...
Red Hessian Posted July 25, 2013 Author Share Posted July 25, 2013 Here: http://www.mediafire.com/download/amuwxu413hw81j4/Save.rar Link to comment Share on other sites More sharing options...
Salk Posted July 26, 2013 Share Posted July 26, 2013 Red Hessian, your problem is solved. Just unzip these files in your Override and it's all done. The problem was a typo in the MAN_GONTOD_DONE variable. Such variable is not declared, stopping the script to ever returning false. It was enough to change GONTOD with GONTOR. I have also restored a part of the dialogue that was unused. Once I am in Korriban, I will see if I can fix the problem with Toll Apkar. EDIT: I talked too soon. Fixed version is two posts under. Link to comment Share on other sites More sharing options...
Red Hessian Posted July 26, 2013 Author Share Posted July 26, 2013 Umm no, it's not. Yes, he now has the Dantooine greeting only once, but now he has his default greeting ("I wasn't expecting guests...") when you win/lose a pazaak game. And, even more critically, now there's no dialogue option to play pazaak with him when you talk to him for the second time. No offence mate, but I'd rather wait and see what Fallen Guardian comes up with. Link to comment Share on other sites More sharing options...
Salk Posted July 26, 2013 Share Posted July 26, 2013 Red Hessian, I reuploaded a new version that should take care of it. Please be so kind as to try one last time and tell me if it's all right. Now you can play pazaak (choosing "I want to ask you some questions") every time and he'll refuse to play after you win 10 times. The greeting line "I wasn't expecting guests..." is said only the first time you talk to him. After that, it speaks the line about Dantooine only if, like in your save game, Dantooine has been destroyed. Otherwise the default one is the usual "I hope you are here...". Here's the link: https://docs.google.com/file/d/0B9_1X7K5KtOcNHhkMW1CMFRUVUU/edit Link to comment Share on other sites More sharing options...
Red Hessian Posted July 26, 2013 Author Share Posted July 26, 2013 Tested it and everything works perfectly: the greetings, the responses and he stops playing after 10 wins. Good job! Link to comment Share on other sites More sharing options...
Salk Posted July 26, 2013 Share Posted July 26, 2013 I am sorry the first attempt was a failure but I am glad that things work fine now. I am particularly happy I could restore a good chunk of unused spoken dialogue even if the "I wasn't expecting guests..." part was supposed to happen in his room. And then there is a big part of dialogue about a Pazaak Tournament that was never included in the final game. Too bad. Link to comment Share on other sites More sharing options...
Fair Strides 2 Posted July 26, 2013 Share Posted July 26, 2013 And then there is a big part of dialogue about a Pazaak Tournament that was never included in the final game. Too bad. Could be a nice mod...K1 or TSL you think? Link to comment Share on other sites More sharing options...
milestails Posted July 26, 2013 Share Posted July 26, 2013 Downloading the Gonto Yas fix! Link to comment Share on other sites More sharing options...
Salk Posted July 27, 2013 Share Posted July 27, 2013 Could be a nice mod...K1 or TSL you think? I actually don't think it'd be such a nice addition. I don't really like Pazaak so the less the better. Furthermore I suspect Bioware originally intended him to be in the locked room in the Hotel and it'd feel strange to have somebody there you can't talk to about the Sunry case. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.