lfnetwork.com mark read register faq members calendar

Thread: Decompile request
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 05-19-2009, 05:28 PM   #1
Malxados
Rookie
 
Malxados's Avatar
 
Join Date: Feb 2009
Location: Mandalore
Posts: 221
Current Game: Warframe, SC Blacklist, KOTOR1
Question Decompile request

I was wondering if someone could decompile a_kreia_fight.ncs for me.
Thanks


"But God demonstrates His own love toward us, in that while we were still sinners, Christ died for us." (Romans 5:8, NKJV)
"For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord." (Romans 6:23, NKJV)

Ask me about my sig!

Bao-Dur: I'll take the one who was stupid enough to threaten us instead of shoot us when he had the chance.

k_inc_force bothers me.
Malxados is offline   you may: quote & reply,
Old 05-19-2009, 07:20 PM   #2
Canderis
Mercenary
 
Canderis's Avatar
 
Join Date: Jun 2008
Location: Unknown
Posts: 2,503
Current Game: Skyrim
Veteran Modder Helpful! 
You can download them all here(clicky)




Canderis is offline   you may: quote & reply,
Old 05-19-2009, 09:02 PM   #3
Qui-Gon Glenn
Necessary Roughneck
 
Qui-Gon Glenn's Avatar
 
Join Date: May 2007
Location: Thessia
Posts: 1,465
Current Game: ME3MP, Arkham Origins
Folder extraordinaire Helpful! Forum Veteran Veteran Modder 
Quote:
Originally Posted by Canderis View Post
You can download them all here(clicky)
Nope... link is broken, on both... killerbob is no longer hosting anything downloadable to the public over there, and we all know about PCGamemods, which is where JdNoa's homepage links to.

Someone needs to ask permission to upload that archive to FF.
Qui-Gon Glenn is offline   you may: quote & reply,
Old 05-19-2009, 09:43 PM   #4
Exile007
Junior Member
 
Exile007's Avatar
 
Join Date: Dec 2007
Location: Imprisoned by the GenoHaradan
Posts: 498
Current Game: Zelda Majora's Mask
Lucky I downloaded the scripts awhile ago then. Here's the decompiled version of the script, the global stuff looks like B.S., but I'll post it for the hell of it.

Code:
// Globals
	int intGLOB_1 = 1;
	int intGLOB_2 = 2;
	int intGLOB_3 = 3;
	int intGLOB_4 = 4;
	int intGLOB_5 = 5;
	int intGLOB_6 = 6;
	int intGLOB_7 = 3;
	int intGLOB_8 = 4;
	int intGLOB_9 = 5;
	int intGLOB_10 = 6;
	int intGLOB_11 = 7;
	int intGLOB_12 = 8;
	int intGLOB_13 = 9;
	int intGLOB_14 = 10;
	int intGLOB_15 = 11;
	int intGLOB_16 = 1;
	int intGLOB_17 = 2;
	int intGLOB_18 = 3;
	int intGLOB_19 = 4;
	int intGLOB_20 = 5;
	int intGLOB_21 = 6;
	int intGLOB_22 = 7;
	int intGLOB_23 = 8;
	int intGLOB_24 = 9;
	int intGLOB_25 = 10;
	int intGLOB_26 = 11;
	int intGLOB_27 = 12;
	int intGLOB_28 = 13;
	int intGLOB_29 = 14;
	int intGLOB_30 = 15;
	int intGLOB_31 = 16;
	int intGLOB_32 = 17;
	int intGLOB_33 = 18;
	int intGLOB_34 = 19;
	int intGLOB_35 = 20;
	int intGLOB_36 = 21;
	int intGLOB_37 = 22;
	int intGLOB_38 = 23;
	int intGLOB_39 = 24;
	int intGLOB_40 = 25;
	int intGLOB_41 = 26;
	int intGLOB_42 = 27;
	int intGLOB_43 = 28;
	int intGLOB_44 = 29;
	int intGLOB_45 = 30;
	int intGLOB_46 = 31;
	int intGLOB_47 = 32;
	int intGLOB_48 = 84;
	int intGLOB_49 = 0;
	int intGLOB_50 = 1;
	int intGLOB_51 = 2;
	int intGLOB_52 = 29;
	int intGLOB_53 = 65;
	int intGLOB_54 = 98;
	int intGLOB_55 = 99;
	int intGLOB_56 = 100;
	int intGLOB_57 = 101;
	int intGLOB_58 = 103;
	int intGLOB_59 = 104;
	int intGLOB_60 = 105;
	int intGLOB_61 = 106;
	int intGLOB_62 = 102;
	int intGLOB_63 = 107;
	int intGLOB_64 = 108;
	int intGLOB_65 = 102;
	int intGLOB_66 = 107;
	int intGLOB_67 = 108;
	int intGLOB_68 = 109;
	int intGLOB_69 = 15;
	int intGLOB_70 = 10;
	int intGLOB_71 = 5;
	int intGLOB_72 = 2;
	int intGLOB_73;
	int intGLOB_74;
	int intGLOB_75;
	object objectGLOB_1;
	int intGLOB_76;
	int intGLOB_77;
	int intGLOB_78;
	int intGLOB_79;
	int intGLOB_80;
	int intGLOB_81;
	int intGLOB_82 = 1;
	int intGLOB_83 = 2;
	int intGLOB_84 = 3;
	int intGLOB_85 = 20;
	int intGLOB_86 = 21;
	int intGLOB_87 = 22;
	int intGLOB_88 = 23;
	int intGLOB_89 = 24;
	int intGLOB_90 = 25;
	int intGLOB_91 = 26;
	int intGLOB_92 = 27;
	int intGLOB_93 = 28;
	int intGLOB_94 = 66;
	int intGLOB_95 = 67;
	int intGLOB_96 = 68;
	int intGLOB_97 = 69;
	int intGLOB_98 = 70;
	int intGLOB_99 = 71;
	int intGLOB_100 = 72;
	int intGLOB_101 = 73;
	int intGLOB_102 = 74;
	int intGLOB_103 = 75;
	int intGLOB_104 = 76;
	int intGLOB_105 = 77;
	int intGLOB_106 = 78;
	int intGLOB_107 = 79;
	int intGLOB_108 = 80;
	int intGLOB_109 = 81;
	int intGLOB_110 = 82;
	int intGLOB_111 = 83;
	int intGLOB_112 = 85;
	int intGLOB_113 = 86;
	int intGLOB_114 = 87;
	int intGLOB_115 = 88;
	int intGLOB_116 = 89;
	int intGLOB_117 = 90;
	int intGLOB_118 = 91;
	int intGLOB_119 = 92;
	int intGLOB_120 = 94;
	int intGLOB_121 = 95;
	int intGLOB_122 = 96;
	int intGLOB_123 = 97;
	int intGLOB_124 = 1;
	int intGLOB_125 = 2;
	int intGLOB_126 = 3;
	int intGLOB_127 = 4;
	int intGLOB_128 = 5;

// Prototypes
void sub2(int intParam1, int intParam2);
void sub1();

void sub2(int intParam1, int intParam2) {
	SetLocalBoolean(OBJECT_SELF, intParam1, intParam2);
}

void sub1() {
	sub2(intGLOB_114, 1);
	SetCommandable(1, OBJECT_SELF);
	ClearAllEffects();
	ClearAllActions();
	ActionWait(1.0);
	DelayCommand(1.0, SetMinOneHP(OBJECT_SELF, 0));
	AssignCommand(OBJECT_SELF, ActionPlayAnimation(26, 1.0, (-1.0)));
	int int1 = 0;
	int1 = 0;
	while ((int1 < 3)) {
		{
			object oSionDoor = GetObjectByTag("SionDoor", int1);
			SetLocked(oSionDoor, 0);
		}
		(int1++);
	}
}

void main() {
	int nParam1 = GetScriptParameter(1);
	object oKreia = GetObjectByTag("Kreia", 0);
	switch (nParam1) {
		case 0:
			{
				object oC_lightsaber001 = CreateObject(1, "c_lightsaber001", GetLocation(GetObjectByTag("sp_saber1", 0)), 0);
				object oC_lightsaber002 = CreateObject(1, "c_lightsaber002", GetLocation(GetObjectByTag("sp_saber2", 0)), 0);
				object oC_lightsaber003 = CreateObject(1, "c_lightsaber003", GetLocation(GetObjectByTag("sp_saber3", 0)), 0);
				DelayCommand(1.0, SetLightsaberPowered(oC_lightsaber001, 1, 1, 1));
				DelayCommand(1.0, SetLightsaberPowered(oC_lightsaber002, 1, 1, 1));
				DelayCommand(1.0, SetLightsaberPowered(oC_lightsaber003, 1, 1, 1));
			}
			break;
		case 1:
			ApplyEffectToObject(0, EffectHeal((GetMaxHitPoints(oKreia) - GetCurrentHitPoints(oKreia))), oKreia, 0.0);
			break;
		case 2:
			{
				int int5 = 0;
				int5 = 0;
				while ((int5 < 3)) {
					DelayCommand(0.1, DestroyObject(GetObjectByTag("LightsaberFloat", int5), 0.0, 0, 0.0, 0));
					(int5++);
				}
			}
			break;
		case 3:
			DelayCommand(0.2, sub1());
			break;
		case 4:
			DestroyObject(GetItemInSlot(4, oKreia), 0.0, 0, 0.0, 0);
			ChangeObjectAppearance(oKreia, 651);
			break;
		case 5:
	}
}
Exile007 is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Decompile request

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:48 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.