PDA

View Full Version : Anyone can decompile me this?


GeorgNihilus
11-09-2009, 05:43 PM
Hey guys-gals :) I need someone in the mood to decompile script k_punk_finale05.ncs from unk_m41aa_s.rim for Kotor.

I don't know how to yet, sorry for bothering ... ah and I hope it's not too long so it can be posted here ... :raise:

I need it cause I'm getting a black screen when this script should run, cause I replaced Jolee with another npc.

thanks for your time and knowledge :yelhelp:

deathdisco
11-09-2009, 07:01 PM
k_punk_finale05.ncs
void main() {
ActionPauseConversation();
SetGlobalFadeIn(0.0, 1.0, 0.0, 0.0, 0.0);
ActionWait(1.5);
DelayCommand(1.5, SetFacingPoint(GetPosition(GetObjectByTag("playerend", 0))));
DelayCommand(1.5, AssignCommand(GetObjectByTag("cand", 0), SetFacingPoint(GetPosition(GetObjectByTag("playerend", 0)))));
DelayCommand(1.5, AssignCommand(GetObjectByTag("mission", 0), SetFacingPoint(GetPosition(GetObjectByTag("playerend", 0)))));
DelayCommand(1.5, AssignCommand(GetObjectByTag("zaalbar", 0), SetFacingPoint(GetPosition(GetObjectByTag("playerend", 0)))));
DelayCommand(1.5, AssignCommand(GetObjectByTag("hk47", 0), SetFacingPoint(GetPosition(GetObjectByTag("playerend", 0)))));
DelayCommand(1.5, AssignCommand(GetObjectByTag("t3m4", 0), SetFacingPoint(GetPosition(GetObjectByTag("playerend", 0)))));
ActionWait(1.0);
ActionResumeConversation();
}

Courtesy of DeNCS.

GeorgNihilus
11-10-2009, 07:24 PM
Thanks for the quick reply :thmbup1: I finally managed to make my DeNCS work, will I ever learn how to copy files to another directory? :lol:

Now, seriously, in the unk41_carth dialog of the Unknown world beach scene, I get a black screen right after the SetGlobalFadeIn(0.0, 1.0, 0.0, 0.0, 0.0); line and the conversation never resumes again, BUT problem remains even deleting the fade-in line!! odd isn't it? :roleyess: could it be that my GeForce 7600GT card has problems to run or identify the playerend tag?? a guess just a guess ... anyone having this issue?

oh and I finally managed to workaround the black screen and re-fire the interrupted dialog, by renaming it as Carth's dialog, temporary ...

thanks and good modding! :)