Jump to content

Home

K1 Pazaak Problems


Red Hessian

Recommended Posts

Hey there all ye experienced modders! :D 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

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

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

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

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

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

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

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

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

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

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

Archived

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

×
×
  • Create New...