Fair Strides

Fair Strides' Script Shack

Recommended Posts

On 11/19/2018 at 6:45 AM, DarthVarkor said:

 

 

If i want to use add a Class, Post Revelation scene for the Player Character, how Would I do that?  For example, Having Revan required to go to Cargo Hold or the Dorms to collect his thoughts and doing the conversation with himself? Setting alignment and adding a Re-vamped Jedi Sentinel class for the Player to use.


Well I will address the dialogue line that gives the player the Jedi Sentinel by deleting as a option and giving Jedi Guardian and Jedi Counslar the optional to learn and master Force Immunity from the Jedi Sentinel. 

Jedi Shadow: Revamped Jedi Sentinel will have the option to learn Force Jump, Force Focus and Force Immunity if the player wishes. Storyline purposes: Revan accepting whom he is and what he did would work as a Sign as a maturing in the Force. 

Side note: if possible, I would have Korriban as a Last planet and possibly adding more content, improving Dark Side items, and Sith Lord Merchant for Dark items

Share this post


Link to post
Share on other sites

that sucks. Hey Jc, Is there a Class Remove Function? For example, Check Class Script for Scout, Scoundrel or Soldier, then removes them from your character then having using an Add Class Jedi Sentinel in the cut scene within the Self Reflection Scene.  Keep in mind that i am flexible to have my ideas more feasible within the context of the game while respecting player's choice

I am not opposed in the mod to rename Jedi Guardian into Jedi Seeker and the Jedi Seeker would have enough feats to actually choose both Force Jump and Force Immunity while having the player going their favorite Jedi guardian build. Conversely Jedi Consular would become a Jedi Bastion(a functional Jedi Consular/Sentinel Hybrid)

Side note: in addition to my above idea, Would it be Possible to give Canderous, Mandolarian Commando as a class?


 

Share this post


Link to post
Share on other sites

I don't believe there's any way to remove or change a class once it's been applied to the character and they've leveled up.

Multiclassing Canderous or other characters would be fine though. The issue is that the player already multiclasses from their starting class to Jedi, but nobody else does so it's fine.

Share this post


Link to post
Share on other sites

i have look thru Kotortool if there was an option. And what I saw, there is none.

A possible idea that, Having a Jedi Shadow having a bit more flexible in builds options that by giving the players an option to master Either Force Jump, Force Focus or Force Immunity while giving them enough feats and force abilities to do most different builds. 


Lore wise during Kotor era, Jedi Shadow often deviated and recruit from the Jedi Sentinels and during The Old Republic MMO era, Jedi Shadow was a deviated from the Jedi Consular.  Keep in Mind that Even the Jedi Consular aka Master Yoda and Qui Gon had Force Jump as well. One of Many duties of Jedi Shadow is stopping if not elimating Dark Siders of all strips and locating and find solution to the Strength of the Dark Sider's power if possible.

Instead adding a Class at Post Revelation Scene thru a dialogue script. Just pick it up at Dantioone.  Force Jump, Force Focus, and Force Immunity will be eligible to learn at Jedi level 1, 4 and 8. 

The Post Revelation Scene idea can be re-used to give Revan Force Camoflague.

Is my above idea would other player might like?

 

Share this post


Link to post
Share on other sites

that sucks. 

 

is it possible to use the Hide? For example, a Stealth belt that gives Bonus Feat: Force Camoflague in addition several other bonus. For example, Juhani's hide has Eriadu stealth belt.

Share this post


Link to post
Share on other sites

well  in the classes, there is a column named Name and under it, there are numbers that is under the Name Column. I am wondering where within Kotor tool in order to make the names stick

 

Also within feats page, there is  0,1, and 3 tied to feats. I want to give Sneak Attack and Uncanny Dodge automaticly but keeping Force Immunity, Force Focus and Force Jump optional. 

Jedi Shadow would have several Weapons Specializations open up as an options.  for example, giving a Player an option to have a dedicated Gunslinger build for this mod.

 

 

Share this post


Link to post
Share on other sites
On 11/26/2018 at 3:47 PM, DeathScepter said:

is it possible to use the Hide?

For feats and most other stats, yes. I don't recall if Force powers can be granted through items.

9 hours ago, DeathScepter said:

well  in the classes, there is a column named Name and under it, there are numbers that is under the Name Column.

That's a reference to a string in dialog.tlk. The number is the line number in that file.

Though applying a hide item to the player would require editing a global script such as k_hen_heartbt01, which is a bit messy. Other mods have done it, so of course there would be compatibility issues.

9 hours ago, DeathScepter said:

Also within feats page, there is  0,1, and 3 tied to feats.

This has to do with how the feat is displayed - whether it's something you get automatically from your class, whether it's something you have to select when you level up, that sort of thing. I believe 4 is to have it not display at all (for example, the player can't see any droid feats) but honestly every time I look at it, I forget how it works five minutes later.

  • Haha 1

Share this post


Link to post
Share on other sites

while I am working on that,   One thing, I would like to do is port an Sith Assassin NPC(one with the Red googles) and place him on the Endar Spire to fight the player.  The Gear you get from him is a Plot Usable item. So You will be able to pose as him while be on Taris.   In addition to Sith Assassin Garb you will get, Sith Assassin Stealth Belt, Sith Assassin Gloves, Sith Visor and Sith Implant, Pain of Upgradable Sith Tremor Swords.

Share this post


Link to post
Share on other sites
On 11/28/2018 at 5:16 PM, DeathScepter said:

while I am working on that,   One thing, I would like to do is port an Sith Assassin NPC(one with the Red googles) and place him on the Endar Spire to fight the player.  The Gear you get from him is a Plot Usable item. So You will be able to pose as him while be on Taris.   In addition to Sith Assassin Garb you will get, Sith Assassin Stealth Belt, Sith Assassin Gloves, Sith Visor and Sith Implant, Pain of Upgradable Sith Tremor Swords.

All of that is pretty easy. Spawn script, and a .utc edited to include those items for loot drop.

This is an old post, so hopefully you worked that out. If not, in this thread I believe you can find a spawn script, or I can post one. Whereami entered into console will give you coordinates in K1 that you can write down and use.

Share this post


Link to post
Share on other sites

I'm trying to modify a vanilla script. Specifically, the one that provides the crystal in the lightsaber built on Dantooine in K1 so I can replace it with a crystal from a mod.

Share this post


Link to post
Share on other sites

Just curious, it is possible to make a passive force ability that boost certain other abilities. 

Expmple of a Force Passive that appears on the Force Tab:

Jedi BattleMaster Passive:

+4 Strength

+4 Wisdom

+5 Defense

+5 Attack

+5 Damage

+1 Attack per Round

then it unlocks new abilities like Slashing Charge(a Force Speed ability that adds Slashing damage to the Jedi)

I have other Ideas in my idea if curious.

Share this post


Link to post
Share on other sites

Having an issue where the compiler assures me that a script has compiled, but it does not create a .ncs file. Have tried launching KotOR tool with admin permission. Running v1.0.2210.16738. 

Share this post


Link to post
Share on other sites
On 3/11/2019 at 7:31 PM, DeathScepter said:

Just curious, it is possible to make a passive force ability that boost certain other abilities. 

Expmple of a Force Passive that appears on the Force Tab:

[...]

In K2, probably yes. In K1, probably no.

On 4/12/2019 at 9:58 PM, Cinder Skye said:

Having an issue where the compiler assures me that a script has compiled, but it does not create a .ncs file. Have tried launching KotOR tool with admin permission. Running v1.0.2210.16738. 

I suggest using NWNSSComp instead. I've attached some batch scripts that'll compile all scripts in the NWNSSComp folder provided the games are installed or if you copy the corresponding nwnscript.nss file to it too.

compile_K1.bat

compile_K2.bat

  • Like 1

Share this post


Link to post
Share on other sites
On 11/10/2016 at 11:21 AM, Fair Strides said:

...

 

Edited by kernel

Share this post


Link to post
Share on other sites

Is it possible to change creature soundset through script without destroying the creature and create a different creature with the same appearance?

Share this post


Link to post
Share on other sites

A creature's soundset is defined in the UTC. You'd need to manually create a new UTC and make it available in the module (or globally). The creature could then be spawned via script when needed.

You can, however, directly play sound files from sounds.bif (where all the SS files are) using

PlaySound(string sSoundName)

For example:

DelayCommand(10.75, PlaySound("p_plyermw_dead2"));
  • Thanks 1

Share this post


Link to post
Share on other sites

I don't know if this is the right thread to post something like this, but I have a question about scripting that I hope somebody can simplify. I want to understand how I can place a custom lightsaber into Darth Bandon's hand during The Endar Spire and Manaan meetings. I am aware that his tags are the same in both, so you can not just use the utc files from the modules and put it into the Override. The other problem with this is that Darth Bandon's utc. from The Endar Spire doesn't actually have his lightsaber equipped. His lightsaber flourishes from k_pend_cut23.ncs (I think). This means I would have to create a script to put a lightsaber into his hand and edit the previous script to replace g_w_drkjdisbr002 with the custom saber, instead of just editing the utc and putting it into the module (if you do this, he goes to flourish the g_w_drkjdisbr002 that the script tells him to, but becuse the utc is edited it is no longer on inventory, so he just raises his hands unarmed.)

I want to understand how anybody is suppose to understand scripting. I have tried to decompile k_pend_cut23.ncs with dencs but it is only partial. I can not just change the g_w_drkjdisbr002 to a new saber and then recompile it back in (I get errors). I understand that this is because it is trying to read the byte code, instead of the nss script (which I can't get, because it isn't provided). I guess what I am asking is how modders can understand the ncs. files. What parts of the information am I supposed to be looking at from ncs file?

 

Spoiler

00000008 42 000012EC              T 000012EC
0000000D 1E 00 00000008           JSR fn_00000015
00000013 20 00                    RETN
00000015 02 03                    RSADDI
00000017 04 03 00000000           CONSTI 00000000
0000001D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000025 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000002B 02 03                    RSADDI
0000002D 04 03 00000001           CONSTI 00000001
00000033 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000003B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000041 02 03                    RSADDI
00000043 04 03 00000002           CONSTI 00000002
00000049 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000051 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000057 02 03                    RSADDI
00000059 04 03 00000003           CONSTI 00000003
0000005F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000067 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000006D 02 03                    RSADDI
0000006F 04 03 00000004           CONSTI 00000004
00000075 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000007D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000083 02 03                    RSADDI
00000085 04 03 00000005           CONSTI 00000005
0000008B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000093 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000099 02 03                    RSADDI
0000009B 04 03 00000006           CONSTI 00000006
000000A1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000000A9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000AF 02 03                    RSADDI
000000B1 04 03 00000007           CONSTI 00000007
000000B7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000000BF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000C5 02 03                    RSADDI
000000C7 04 03 00000008           CONSTI 00000008
000000CD 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000000D5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000DB 02 03                    RSADDI
000000DD 04 03 00000009           CONSTI 00000009
000000E3 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000000EB 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000F1 02 03                    RSADDI
000000F3 04 03 0000000A           CONSTI 0000000A
000000F9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000101 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000107 02 03                    RSADDI
00000109 04 03 0000000B           CONSTI 0000000B
0000010F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000117 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000011D 02 03                    RSADDI
0000011F 04 03 0000000C           CONSTI 0000000C
00000125 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000012D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000133 02 03                    RSADDI
00000135 04 03 0000000D           CONSTI 0000000D
0000013B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000143 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000149 02 03                    RSADDI
0000014B 04 03 0000000E           CONSTI 0000000E
00000151 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000159 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000015F 02 03                    RSADDI
00000161 04 03 0000000F           CONSTI 0000000F
00000167 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000016F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000175 02 03                    RSADDI
00000177 04 03 00000010           CONSTI 00000010
0000017D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000185 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000018B 02 03                    RSADDI
0000018D 04 03 00000011           CONSTI 00000011
00000193 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000019B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001A1 02 03                    RSADDI
000001A3 04 03 00000012           CONSTI 00000012
000001A9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000001B1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001B7 02 03                    RSADDI
000001B9 04 03 00000013           CONSTI 00000013
000001BF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000001C7 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001CD 02 03                    RSADDI
000001CF 04 03 0000044C           CONSTI 0000044C
000001D5 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000001DD 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001E3 02 03                    RSADDI
000001E5 04 03 00000006           CONSTI 00000006
000001EB 19 03                    NEGI
000001ED 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000001F5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001FB 02 03                    RSADDI
000001FD 04 03 00000005           CONSTI 00000005
00000203 19 03                    NEGI
00000205 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000020D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000213 02 03                    RSADDI
00000215 04 03 00000004           CONSTI 00000004
0000021B 19 03                    NEGI
0000021D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000225 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000022B 02 03                    RSADDI
0000022D 04 03 00000002           CONSTI 00000002
00000233 19 03                    NEGI
00000235 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000023D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000243 02 03                    RSADDI
00000245 04 03 00000001           CONSTI 00000001
0000024B 19 03                    NEGI
0000024D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000255 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000025B 02 03                    RSADDI
0000025D 04 03 00000000           CONSTI 00000000
00000263 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000026B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000271 02 03                    RSADDI
00000273 04 03 00000001           CONSTI 00000001
00000279 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000281 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000287 02 03                    RSADDI
00000289 04 03 00000002           CONSTI 00000002
0000028F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000297 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000029D 02 03                    RSADDI
0000029F 04 03 00000003           CONSTI 00000003
000002A5 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000002AD 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000002B3 02 03                    RSADDI
000002B5 04 03 00000004           CONSTI 00000004
000002BB 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000002C3 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000002C9 02 03                    RSADDI
000002CB 04 03 00000005           CONSTI 00000005
000002D1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000002D9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000002DF 02 03                    RSADDI
000002E1 04 03 00000006           CONSTI 00000006
000002E7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000002EF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000002F5 02 03                    RSADDI
000002F7 04 03 00000003           CONSTI 00000003
000002FD 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000305 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000030B 02 03                    RSADDI
0000030D 04 03 00000004           CONSTI 00000004
00000313 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000031B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000321 02 03                    RSADDI
00000323 04 03 00000005           CONSTI 00000005
00000329 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000331 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000337 02 03                    RSADDI
00000339 04 03 00000006           CONSTI 00000006
0000033F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000347 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000034D 02 03                    RSADDI
0000034F 04 03 00000007           CONSTI 00000007
00000355 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000035D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000363 02 03                    RSADDI
00000365 04 03 00000001           CONSTI 00000001
0000036B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000373 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000379 02 03                    RSADDI
0000037B 04 03 00000002           CONSTI 00000002
00000381 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000389 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000038F 02 03                    RSADDI
00000391 04 03 00000003           CONSTI 00000003
00000397 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000039F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000003A5 02 03                    RSADDI
000003A7 04 03 00000004           CONSTI 00000004
000003AD 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000003B5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000003BB 02 03                    RSADDI
000003BD 04 03 00000005           CONSTI 00000005
000003C3 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000003CB 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000003D1 02 03                    RSADDI
000003D3 04 03 00000006           CONSTI 00000006
000003D9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000003E1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000003E7 02 03                    RSADDI
000003E9 04 03 00000007           CONSTI 00000007
000003EF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000003F7 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000003FD 02 03                    RSADDI
000003FF 04 03 00000008           CONSTI 00000008
00000405 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000040D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000413 02 03                    RSADDI
00000415 04 03 00000009           CONSTI 00000009
0000041B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000423 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000429 02 03                    RSADDI
0000042B 04 03 0000000A           CONSTI 0000000A
00000431 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000439 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000043F 02 03                    RSADDI
00000441 04 03 0000000B           CONSTI 0000000B
00000447 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000044F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000455 02 03                    RSADDI
00000457 04 03 0000000C           CONSTI 0000000C
0000045D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000465 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000046B 02 03                    RSADDI
0000046D 04 03 0000000D           CONSTI 0000000D
00000473 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000047B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000481 02 03                    RSADDI
00000483 04 03 0000000E           CONSTI 0000000E
00000489 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000491 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000497 02 03                    RSADDI
00000499 04 03 0000000F           CONSTI 0000000F
0000049F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000004A7 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000004AD 02 03                    RSADDI
000004AF 04 03 00000010           CONSTI 00000010
000004B5 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000004BD 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000004C3 02 03                    RSADDI
000004C5 04 03 00000011           CONSTI 00000011
000004CB 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000004D3 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000004D9 02 03                    RSADDI
000004DB 04 03 00000012           CONSTI 00000012
000004E1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000004E9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000004EF 02 03                    RSADDI
000004F1 04 03 00000013           CONSTI 00000013
000004F7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000004FF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000505 02 03                    RSADDI
00000507 04 03 00000014           CONSTI 00000014
0000050D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000515 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000051B 02 03                    RSADDI
0000051D 04 03 00000015           CONSTI 00000015
00000523 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000052B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000531 02 03                    RSADDI
00000533 04 03 00000016           CONSTI 00000016
00000539 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000541 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000547 02 03                    RSADDI
00000549 04 03 00000017           CONSTI 00000017
0000054F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000557 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000055D 02 03                    RSADDI
0000055F 04 03 00000018           CONSTI 00000018
00000565 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000056D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000573 02 03                    RSADDI
00000575 04 03 00000019           CONSTI 00000019
0000057B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000583 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000589 02 03                    RSADDI
0000058B 04 03 0000001A           CONSTI 0000001A
00000591 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000599 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000059F 02 03                    RSADDI
000005A1 04 03 0000001B           CONSTI 0000001B
000005A7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000005AF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000005B5 02 03                    RSADDI
000005B7 04 03 0000001C           CONSTI 0000001C
000005BD 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000005C5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000005CB 02 03                    RSADDI
000005CD 04 03 0000001D           CONSTI 0000001D
000005D3 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000005DB 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000005E1 02 03                    RSADDI
000005E3 04 03 0000001E           CONSTI 0000001E
000005E9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000005F1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000005F7 02 03                    RSADDI
000005F9 04 03 0000003B           CONSTI 0000003B
000005FF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000607 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000060D 02 03                    RSADDI
0000060F 04 03 00000000           CONSTI 00000000
00000615 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000061D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000623 02 03                    RSADDI
00000625 04 03 00000001           CONSTI 00000001
0000062B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000633 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000639 02 03                    RSADDI
0000063B 04 03 00000002           CONSTI 00000002
00000641 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000649 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000064F 02 03                    RSADDI
00000651 04 03 0000001D           CONSTI 0000001D
00000657 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000065F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000665 02 03                    RSADDI
00000667 04 03 0000001E           CONSTI 0000001E
0000066D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000675 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000067B 02 03                    RSADDI
0000067D 04 03 00000022           CONSTI 00000022
00000683 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000068B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000691 02 03                    RSADDI
00000693 04 03 00000023           CONSTI 00000023
00000699 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000006A1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000006A7 02 03                    RSADDI
000006A9 04 03 00000024           CONSTI 00000024
000006AF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000006B7 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000006BD 02 03                    RSADDI
000006BF 04 03 00000025           CONSTI 00000025
000006C5 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000006CD 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000006D3 02 03                    RSADDI
000006D5 04 03 00000026           CONSTI 00000026
000006DB 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000006E3 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000006E9 02 03                    RSADDI
000006EB 04 03 00000027           CONSTI 00000027
000006F1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000006F9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000006FF 02 03                    RSADDI
00000701 04 03 00000029           CONSTI 00000029
00000707 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000070F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000715 02 03                    RSADDI
00000717 04 03 0000002A           CONSTI 0000002A
0000071D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000725 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000072B 02 03                    RSADDI
0000072D 04 03 0000002E           CONSTI 0000002E
00000733 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000073B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000741 02 03                    RSADDI
00000743 04 03 0000002F           CONSTI 0000002F
00000749 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000751 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000757 02 03                    RSADDI
00000759 04 03 0000000F           CONSTI 0000000F
0000075F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000767 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000076D 02 03                    RSADDI
0000076F 04 03 0000000A           CONSTI 0000000A
00000775 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000077D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000783 02 03                    RSADDI
00000785 04 03 00000005           CONSTI 00000005
0000078B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000793 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000799 02 03                    RSADDI
0000079B 04 03 00000002           CONSTI 00000002
000007A1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000007A9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000007AF 02 03                    RSADDI
000007B1 02 03                    RSADDI
000007B3 02 03                    RSADDI
000007B5 02 06                    RSADDO
000007B7 02 03                    RSADDI
000007B9 02 03                    RSADDI
000007BB 02 03                    RSADDI
000007BD 02 03                    RSADDI
000007BF 02 03                    RSADDI
000007C1 02 03                    RSADDI
000007C3 02 03                    RSADDI
000007C5 04 03 00000001           CONSTI 00000001
000007CB 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000007D3 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000007D9 02 03                    RSADDI
000007DB 04 03 00000002           CONSTI 00000002
000007E1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000007E9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000007EF 02 03                    RSADDI
000007F1 04 03 00000003           CONSTI 00000003
000007F7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000007FF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000805 02 03                    RSADDI
00000807 04 03 00000014           CONSTI 00000014
0000080D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000815 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000081B 02 03                    RSADDI
0000081D 04 03 00000015           CONSTI 00000015
00000823 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000082B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000831 02 03                    RSADDI
00000833 04 03 00000016           CONSTI 00000016
00000839 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000841 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000847 02 03                    RSADDI
00000849 04 03 00000017           CONSTI 00000017
0000084F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000857 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000085D 02 03                    RSADDI
0000085F 04 03 00000018           CONSTI 00000018
00000865 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000086D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000873 02 03                    RSADDI
00000875 04 03 00000019           CONSTI 00000019
0000087B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000883 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000889 02 03                    RSADDI
0000088B 04 03 0000001A           CONSTI 0000001A
00000891 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000899 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000089F 02 03                    RSADDI
000008A1 04 03 0000001B           CONSTI 0000001B
000008A7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000008AF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000008B5 02 03                    RSADDI
000008B7 04 03 0000001C           CONSTI 0000001C
000008BD 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000008C5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000008CB 02 03                    RSADDI
000008CD 04 03 0000001F           CONSTI 0000001F
000008D3 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000008DB 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000008E1 02 03                    RSADDI
000008E3 04 03 00000020           CONSTI 00000020
000008E9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000008F1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000008F7 02 03                    RSADDI
000008F9 04 03 00000021           CONSTI 00000021
000008FF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000907 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000090D 02 03                    RSADDI
0000090F 04 03 00000028           CONSTI 00000028
00000915 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000091D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000923 02 03                    RSADDI
00000925 04 03 0000002B           CONSTI 0000002B
0000092B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000933 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000939 02 03                    RSADDI
0000093B 04 03 0000002C           CONSTI 0000002C
00000941 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000949 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000094F 02 03                    RSADDI
00000951 04 03 0000002D           CONSTI 0000002D
00000957 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000095F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000965 02 03                    RSADDI
00000967 04 03 00000030           CONSTI 00000030
0000096D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000975 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000097B 02 03                    RSADDI
0000097D 04 03 00000031           CONSTI 00000031
00000983 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000098B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000991 02 03                    RSADDI
00000993 04 03 00000032           CONSTI 00000032
00000999 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000009A1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000009A7 02 03                    RSADDI
000009A9 04 03 00000033           CONSTI 00000033
000009AF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000009B7 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000009BD 02 03                    RSADDI
000009BF 04 03 00000034           CONSTI 00000034
000009C5 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000009CD 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000009D3 02 03                    RSADDI
000009D5 04 03 00000035           CONSTI 00000035
000009DB 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000009E3 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000009E9 02 03                    RSADDI
000009EB 04 03 00000036           CONSTI 00000036
000009F1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000009F9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000009FF 02 03                    RSADDI
00000A01 04 03 00000037           CONSTI 00000037
00000A07 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A0F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A15 02 03                    RSADDI
00000A17 04 03 00000038           CONSTI 00000038
00000A1D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A25 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A2B 02 03                    RSADDI
00000A2D 04 03 00000039           CONSTI 00000039
00000A33 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A3B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A41 02 03                    RSADDI
00000A43 04 03 0000003A           CONSTI 0000003A
00000A49 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A51 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A57 02 03                    RSADDI
00000A59 04 03 0000003C           CONSTI 0000003C
00000A5F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A67 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A6D 02 03                    RSADDI
00000A6F 04 03 0000003D           CONSTI 0000003D
00000A75 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A7D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A83 02 03                    RSADDI
00000A85 04 03 0000003E           CONSTI 0000003E
00000A8B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A93 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A99 02 03                    RSADDI
00000A9B 04 03 0000003F           CONSTI 0000003F
00000AA1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000AA9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000AAF 02 03                    RSADDI
00000AB1 04 03 00000040           CONSTI 00000040
00000AB7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000ABF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000AC5 02 03                    RSADDI
00000AC7 04 03 00000041           CONSTI 00000041
00000ACD 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000AD5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000ADB 02 03                    RSADDI
00000ADD 04 03 00000042           CONSTI 00000042
00000AE3 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000AEB 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000AF1 02 03                    RSADDI
00000AF3 04 03 00000043           CONSTI 00000043
00000AF9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B01 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B07 02 03                    RSADDI
00000B09 04 03 00000044           CONSTI 00000044
00000B0F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B17 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B1D 02 03                    RSADDI
00000B1F 04 03 00000045           CONSTI 00000045
00000B25 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B2D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B33 02 03                    RSADDI
00000B35 04 03 00000046           CONSTI 00000046
00000B3B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B43 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B49 02 03                    RSADDI
00000B4B 04 03 00000047           CONSTI 00000047
00000B51 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B59 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B5F 02 03                    RSADDI
00000B61 04 03 00000048           CONSTI 00000048
00000B67 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B6F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B75 02 03                    RSADDI
00000B77 04 03 00000001           CONSTI 00000001
00000B7D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B85 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B8B 02 03                    RSADDI
00000B8D 04 03 00000002           CONSTI 00000002
00000B93 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B9B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000BA1 02 03                    RSADDI
00000BA3 04 03 00000003           CONSTI 00000003
00000BA9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000BB1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000BB7 02 03                    RSADDI
00000BB9 04 03 00000004           CONSTI 00000004
00000BBF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000BC7 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000BCD 02 05                    RSADDS
00000BCF 04 05 0009 str           CONSTS "end_trask"
00000BDC 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000BE4 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000BEA 02 05                    RSADDS
00000BEC 04 05 000D str           CONSTS "endwp_tarsk01"
00000BFD 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000C05 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000C0B 02 05                    RSADDS
00000C0D 04 05 0005 str           CONSTS "Carth"
00000C16 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000C1E 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000C24 02 05                    RSADDS
00000C26 04 05 000F str           CONSTS "g_w_blstrrfl001"
00000C39 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000C41 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000C47 02 05                    RSADDS
00000C49 04 05 0010 str           CONSTS "g_i_adrnaline003"
00000C5D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000C65 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000C6B 02 05                    RSADDS
00000C6D 04 05 0000 str           CONSTS ""
00000C71 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000C79 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000C7F 02 05                    RSADDS
00000C81 04 05 0010 str           CONSTS "g_w_blstrpstl001"
00000C95 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000C9D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000CA3 02 05                    RSADDS
00000CA5 04 05 0010 str           CONSTS "g_i_adrnaline002"
00000CB9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000CC1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000CC7 02 05                    RSADDS
00000CC9 04 05 000E str           CONSTS "g_i_implant101"
00000CDB 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000CE3 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000CE9 02 05                    RSADDS
00000CEB 04 05 0010 str           CONSTS "g_w_blstrpstl001"
00000CFF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000D07 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000D0D 02 05                    RSADDS
00000D0F 04 05 000E str           CONSTS "g_i_secspike01"
00000D21 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000D29 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000D2F 02 05                    RSADDS
00000D31 04 05 000F str           CONSTS "g_i_progspike01"
00000D44 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000D4C 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000D52 02 03                    RSADDI
00000D54 04 03 00000003           CONSTI 00000003
00000D5A 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000D62 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000D68 02 03                    RSADDI
00000D6A 04 03 00000004           CONSTI 00000004
00000D70 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000D78 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000D7E 02 03                    RSADDI
00000D80 04 03 00000002           CONSTI 00000002
00000D86 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000D8E 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000D94 02 03                    RSADDI
00000D96 04 03 00000001           CONSTI 00000001
00000D9C 19 03                    NEGI
00000D9E 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000DA6 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000DAC 02 03                    RSADDI
00000DAE 04 03 00000000           CONSTI 00000000
00000DB4 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000DBC 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000DC2 02 03                    RSADDI
00000DC4 04 03 00000001           CONSTI 00000001
00000DCA 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000DD2 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000DD8 02 03                    RSADDI
00000DDA 04 03 00000002           CONSTI 00000002
00000DE0 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000DE8 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000DEE 02 03                    RSADDI
00000DF0 04 03 00000003           CONSTI 00000003
00000DF6 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000DFE 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000E04 02 03                    RSADDI
00000E06 04 03 00000004           CONSTI 00000004
00000E0C 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000E14 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000E1A 02 03                    RSADDI
00000E1C 04 03 00000005           CONSTI 00000005
00000E22 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000E2A 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000E30 02 03                    RSADDI
00000E32 04 03 00000006           CONSTI 00000006
00000E38 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000E40 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000E46 02 03                    RSADDI
00000E48 04 03 00000007           CONSTI 00000007
00000E4E 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000E56 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000E5C 02 03                    RSADDI
00000E5E 04 03 00000008           CONSTI 00000008
00000E64 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000E6C 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000E72 02 03                    RSADDI
00000E74 04 03 00000009           CONSTI 00000009
00000E7A 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000E82 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000E88 02 03                    RSADDI
00000E8A 04 03 0000000A           CONSTI 0000000A
00000E90 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000E98 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000E9E 02 03                    RSADDI
00000EA0 04 03 0000000B           CONSTI 0000000B
00000EA6 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000EAE 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000EB4 02 03                    RSADDI
00000EB6 04 03 0000000C           CONSTI 0000000C
00000EBC 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000EC4 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000ECA 02 03                    RSADDI
00000ECC 04 03 0000000D           CONSTI 0000000D
00000ED2 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000EDA 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000EE0 02 03                    RSADDI
00000EE2 04 03 0000000E           CONSTI 0000000E
00000EE8 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000EF0 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000EF6 02 03                    RSADDI
00000EF8 04 03 0000000F           CONSTI 0000000F
00000EFE 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000F06 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000F0C 02 03                    RSADDI
00000F0E 04 03 00000010           CONSTI 00000010
00000F14 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000F1C 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000F22 02 03                    RSADDI
00000F24 04 03 00000011           CONSTI 00000011
00000F2A 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000F32 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000F38 02 03                    RSADDI
00000F3A 04 03 00000012           CONSTI 00000012
00000F40 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000F48 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000F4E 02 03                    RSADDI
00000F50 04 03 00000013           CONSTI 00000013
00000F56 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000F5E 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000F64 02 03                    RSADDI
00000F66 04 03 00000014           CONSTI 00000014
00000F6C 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000F74 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000F7A 02 03                    RSADDI
00000F7C 04 03 00000015           CONSTI 00000015
00000F82 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000F8A 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000F90 02 03                    RSADDI
00000F92 04 03 00000016           CONSTI 00000016
00000F98 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000FA0 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000FA6 02 03                    RSADDI
00000FA8 04 03 0000001C           CONSTI 0000001C
00000FAE 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000FB6 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000FBC 02 03                    RSADDI
00000FBE 04 03 0000001D           CONSTI 0000001D
00000FC4 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000FCC 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000FD2 02 03                    RSADDI
00000FD4 04 03 0000001E           CONSTI 0000001E
00000FDA 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000FE2 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000FE8 02 03                    RSADDI
00000FEA 04 03 0000001F           CONSTI 0000001F
00000FF0 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000FF8 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000FFE 02 05                    RSADDS
00001000 04 05 000C str           CONSTS "end_locker01"
00001010 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00001018 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000101E 02 05                    RSADDS
00001020 04 05 000B str           CONSTS "g_i_belt010"
0000102F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00001037 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000103D 2A 00                    SAVEBP
0000103F 1E 00 00000010           JSR fn_0000104F
00001045 2B 00                    RESTOREBP
00001047 1B 00 FFFFFD08           MOVSP FFFFFD08
0000104D 20 00                    RETN
0000104F 02 03                    RSADDI
00001051 05 00 00F7 00            ACTION GetUserDefinedEventNumber(00F7), 00
00001056 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000105E 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00001064 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
0000106C 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
00001074 04 03 00000005           CONSTI 00000005
0000107A 0B 20                    EQUALII
0000107C 25 00 00000038           JNZ off_000010B4
00001082 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
0000108A 04 03 0000000A           CONSTI 0000000A
00001090 0B 20                    EQUALII
00001092 25 00 000000C7           JNZ off_00001159
00001098 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
000010A0 04 03 00000019           CONSTI 00000019
000010A6 0B 20                    EQUALII
000010A8 25 00 00000159           JNZ off_00001201
000010AE 1D 00 000001B2           JMP off_00001260
000010B4 04 03 00000000           CONSTI 00000000
000010BA 04 03 00000004           CONSTI 00000004
000010C0 04 05 0010 str           CONSTS "g_w_drkjdisbr002"
000010D4 04 06 00000000           CONSTO 00000000
000010DA 05 00 001E 02            ACTION GetItemPossessedBy(001E), 02
000010DF 05 00 0020 03            ACTION ActionEquipItem(0020), 03
000010E4 2C 10 000002F8 00000008  STORE_STATE 10, 000002F8, 00000008
000010EE 1D 00 00000025           JMP off_00001113
000010F4 04 03 00000000           CONSTI 00000000
000010FA 04 03 00000001           CONSTI 00000001
00001100 04 03 00000001           CONSTI 00000001
00001106 04 06 00000000           CONSTO 00000000
0000110C 05 00 01A5 04            ACTION SetLightsaberPowered(01A5), 04
00001111 20 00                    RETN
00001113 04 04 3F000000           CONSTF 0.500000
00001119 05 00 0007 02            ACTION DelayCommand(0007), 02
0000111E 2C 10 000002F8 00000008  STORE_STATE 10, 000002F8, 00000008
00001128 1D 00 00000026           JMP off_0000114E
0000112E 04 03 00000000           CONSTI 00000000
00001134 05 00 0084 01            ACTION EventUserDefined(0084), 01
00001139 02 06                    RSADDO
0000113B 04 03 00000003           CONSTI 00000003
00001141 1E 00 0000012D           JSR fn_0000126E
00001147 05 00 0083 02            ACTION SignalEvent(0083), 02
0000114C 20 00                    RETN
0000114E 05 00 0126 01            ACTION ActionDoCommand(0126), 01
00001153 1D 00 0000010D           JMP off_00001260
00001159 04 04 3F800000           CONSTF 1.000000
0000115F 04 03 00000000           CONSTI 00000000
00001165 04 03 00000000           CONSTI 00000000
0000116B 04 05 000B str           CONSTS "wp_room8_01"
0000117A 05 00 00C8 02            ACTION GetObjectByTag(00C8), 02
0000117F 05 00 0016 03            ACTION ActionMoveToObject(0016), 03
00001184 2C 10 000002F8 00000008  STORE_STATE 10, 000002F8, 00000008
0000118E 1D 00 00000026           JMP off_000011B4
00001194 04 03 00000000           CONSTI 00000000
0000119A 05 00 0084 01            ACTION EventUserDefined(0084), 01
0000119F 02 06                    RSADDO
000011A1 04 03 00000003           CONSTI 00000003
000011A7 1E 00 000000C7           JSR fn_0000126E
000011AD 05 00 0083 02            ACTION SignalEvent(0083), 02
000011B2 20 00                    RETN
000011B4 05 00 0126 01            ACTION ActionDoCommand(0126), 01
000011B9 04 04 3F800000           CONSTF 1.000000
000011BF 04 03 00000000           CONSTI 00000000
000011C5 04 03 00000000           CONSTI 00000000
000011CB 04 05 000B str           CONSTS "wp_room8_02"
000011DA 05 00 00C8 02            ACTION GetObjectByTag(00C8), 02
000011DF 05 00 0016 03            ACTION ActionMoveToObject(0016), 03
000011E4 04 04 41200000           CONSTF 10.000000
000011EA 04 04 3F800000           CONSTF 1.000000
000011F0 04 03 00000013           CONSTI 00000013
000011F6 05 00 0028 03            ACTION ActionPlayAnimation(0028), 03
000011FB 1D 00 00000065           JMP off_00001260
00001201 05 00 0009 00            ACTION ClearAllActions(0009), 00
00001206 04 03 00000000           CONSTI 00000000
0000120C 02 06                    RSADDO
0000120E 1E 00 000000AF           JSR fn_000012BD
00001214 04 03 00000009           CONSTI 00000009
0000121A 05 00 01F5 03            ACTION ActionCastFakeSpellAtObject(01F5), 03
0000121F 2C 10 000002F8 00000008  STORE_STATE 10, 000002F8, 00000008
00001229 1D 00 00000026           JMP off_0000124F
0000122F 04 04 00000000           CONSTF 0.000000
00001235 02 06                    RSADDO
00001237 1E 00 00000086           JSR fn_000012BD
0000123D 05 00 009F 00            ACTION EffectChoke(009F), 00
00001242 04 03 00000002           CONSTI 00000002
00001248 05 00 00DC 04            ACTION ApplyEffectToObject(00DC), 04
0000124D 20 00                    RETN
0000124F 04 04 3E99999A           CONSTF 0.300000
00001255 05 00 0007 02            ACTION DelayCommand(0007), 02
0000125A 1D 00 00000006           JMP off_00001260
00001260 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00001266 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000126C 20 00                    RETN
0000126E 04 03 00000000           CONSTI 00000000
00001274 04 05 000F str           CONSTS "end01_sceneobj0"
00001287 03 01 FFFFFFF4 0004      CPTOPSP FFFFFFF4, 0004
0000128F 05 00 005C 01            ACTION IntToString(005C), 01
00001294 14 23                    ADDSS
00001296 05 00 00C8 02            ACTION GetObjectByTag(00C8), 02
0000129B 01 01 FFFFFFF4 0004      CPDOWNSP FFFFFFF4, 0004
000012A3 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000012A9 1D 00 0000000C           JMP off_000012B5
000012AF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000012B5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000012BB 20 00                    RETN
000012BD 04 03 00000000           CONSTI 00000000
000012C3 27 01 FFFFFF4C 0004      CPTOPBP FFFFFF4C, 0004
000012CB 05 00 00C8 02            ACTION GetObjectByTag(00C8), 02
000012D0 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000012D8 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000012DE 1D 00 0000000C           JMP off_000012EA
000012E4 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000012EA 20 00                    RETN

This is the original ncs file from Kotor Tool. I have no idea how anybody can make out the functions from this.
 

Spoiler

 

// Globals
    int intGLOB_1 = 0;
    int intGLOB_2 = 1;
    int intGLOB_3 = 2;
    int intGLOB_4 = 3;
    int intGLOB_5 = 4;
    int intGLOB_6 = 5;
    int intGLOB_7 = 6;
    int intGLOB_8 = 7;
    int intGLOB_9 = 8;
    int intGLOB_10 = 9;
    int intGLOB_11 = 10;
    int intGLOB_12 = 11;
    int intGLOB_13 = 12;
    int intGLOB_14 = 13;
    int intGLOB_15 = 14;
    int intGLOB_16 = 15;
    int intGLOB_17 = 16;
    int intGLOB_18 = 17;
    int intGLOB_19 = 18;
    int intGLOB_20 = 19;
    int intGLOB_21 = 1100;
    int intGLOB_22 = (-6);
    int intGLOB_23 = (-5);
    int intGLOB_24 = (-4);
    int intGLOB_25 = (-2);
    int intGLOB_26 = (-1);
    int intGLOB_27 = 0;
    int intGLOB_28 = 1;
    int intGLOB_29 = 2;
    int intGLOB_30 = 3;
    int intGLOB_31 = 4;
    int intGLOB_32 = 5;
    int intGLOB_33 = 6;
    int intGLOB_34 = 3;
    int intGLOB_35 = 4;
    int intGLOB_36 = 5;
    int intGLOB_37 = 6;
    int intGLOB_38 = 7;
    int intGLOB_39 = 1;
    int intGLOB_40 = 2;
    int intGLOB_41 = 3;
    int intGLOB_42 = 4;
    int intGLOB_43 = 5;
    int intGLOB_44 = 6;
    int intGLOB_45 = 7;
    int intGLOB_46 = 8;
    int intGLOB_47 = 9;
    int intGLOB_48 = 10;
    int intGLOB_49 = 11;
    int intGLOB_50 = 12;
    int intGLOB_51 = 13;
    int intGLOB_52 = 14;
    int intGLOB_53 = 15;
    int intGLOB_54 = 16;
    int intGLOB_55 = 17;
    int intGLOB_56 = 18;
    int intGLOB_57 = 19;
    int intGLOB_58 = 20;
    int intGLOB_59 = 21;
    int intGLOB_60 = 22;
    int intGLOB_61 = 23;
    int intGLOB_62 = 24;
    int intGLOB_63 = 25;
    int intGLOB_64 = 26;
    int intGLOB_65 = 27;
    int intGLOB_66 = 28;
    int intGLOB_67 = 29;
    int intGLOB_68 = 30;
    int intGLOB_69 = 59;
    int intGLOB_70 = 0;
    int intGLOB_71 = 1;
    int intGLOB_72 = 2;
    int intGLOB_73 = 29;
    int intGLOB_74 = 30;
    int intGLOB_75 = 34;
    int intGLOB_76 = 35;
    int intGLOB_77 = 36;
    int intGLOB_78 = 37;
    int intGLOB_79 = 38;
    int intGLOB_80 = 39;
    int intGLOB_81 = 41;
    int intGLOB_82 = 42;
    int intGLOB_83 = 46;
    int intGLOB_84 = 47;
    int intGLOB_85 = 15;
    int intGLOB_86 = 10;
    int intGLOB_87 = 5;
    int intGLOB_88 = 2;
    int intGLOB_89;
    int intGLOB_90;
    int intGLOB_91;
    object objectGLOB_1;
    int intGLOB_92;
    int intGLOB_93;
    int intGLOB_94;
    int intGLOB_95;
    int intGLOB_96;
    int intGLOB_97;
    int intGLOB_98 = 1;
    int intGLOB_99 = 2;
    int intGLOB_100 = 3;
    int intGLOB_101 = 20;
    int intGLOB_102 = 21;
    int intGLOB_103 = 22;
    int intGLOB_104 = 23;
    int intGLOB_105 = 24;
    int intGLOB_106 = 25;
    int intGLOB_107 = 26;
    int intGLOB_108 = 27;
    int intGLOB_109 = 28;
    int intGLOB_110 = 31;
    int intGLOB_111 = 32;
    int intGLOB_112 = 33;
    int intGLOB_113 = 40;
    int intGLOB_114 = 43;
    int intGLOB_115 = 44;
    int intGLOB_116 = 45;
    int intGLOB_117 = 48;
    int intGLOB_118 = 49;
    int intGLOB_119 = 50;
    int intGLOB_120 = 51;
    int intGLOB_121 = 52;
    int intGLOB_122 = 53;
    int intGLOB_123 = 54;
    int intGLOB_124 = 55;
    int intGLOB_125 = 56;
    int intGLOB_126 = 57;
    int intGLOB_127 = 58;
    int intGLOB_128 = 60;
    int intGLOB_129 = 61;
    int intGLOB_130 = 62;
    int intGLOB_131 = 63;
    int intGLOB_132 = 64;
    int intGLOB_133 = 65;
    int intGLOB_134 = 66;
    int intGLOB_135 = 67;
    int intGLOB_136 = 68;
    int intGLOB_137 = 69;
    int intGLOB_138 = 70;
    int intGLOB_139 = 71;
    int intGLOB_140 = 72;
    int intGLOB_141 = 1;
    int intGLOB_142 = 2;
    int intGLOB_143 = 3;
    int intGLOB_144 = 4;
    string stringGLOB_1 = "end_trask";
    string stringGLOB_2 = "endwp_tarsk01";
    string stringGLOB_3 = "Carth";
    string stringGLOB_4 = "g_w_blstrrfl001";
    string stringGLOB_5 = "g_i_adrnaline003";
    string stringGLOB_6 = "";
    string stringGLOB_7 = "g_w_blstrpstl001";
    string stringGLOB_8 = "g_i_adrnaline002";
    string stringGLOB_9 = "g_i_implant101";
    string stringGLOB_10 = "g_w_blstrpstl001";
    string stringGLOB_11 = "g_i_secspike01";
    string stringGLOB_12 = "g_i_progspike01";
    int intGLOB_145 = 3;
    int intGLOB_146 = 4;
    int intGLOB_147 = 2;
    int intGLOB_148 = (-1);
    int intGLOB_149 = 0;
    int intGLOB_150 = 1;
    int intGLOB_151 = 2;
    int intGLOB_152 = 3;
    int intGLOB_153 = 4;
    int intGLOB_154 = 5;
    int intGLOB_155 = 6;
    int intGLOB_156 = 7;
    int intGLOB_157 = 8;
    int intGLOB_158 = 9;
    int intGLOB_159 = 10;
    int intGLOB_160 = 11;
    int intGLOB_161 = 12;
    int intGLOB_162 = 13;
    int intGLOB_163 = 14;
    int intGLOB_164 = 15;
    int intGLOB_165 = 16;
    int intGLOB_166 = 17;
    int intGLOB_167 = 18;
    int intGLOB_168 = 19;
    int intGLOB_169 = 20;
    int intGLOB_170 = 21;
    int intGLOB_171 = 22;
    int intGLOB_172 = 28;
    int intGLOB_173 = 29;
    int intGLOB_174 = 30;
    int intGLOB_175 = 31;
    string stringGLOB_13 = "end_locker01";
    string stringGLOB_14 = "g_i_belt010";

// Prototypes
object sub2();
object sub1(int intParam1);

object sub2() {
    return GetObjectByTag(stringGLOB_1, 0);
}

object sub1(int intParam1) {
    return GetObjectByTag(("end01_sceneobj0" + IntToString(intParam1)), 0);
}

void main() {
    int int1 = GetUserDefinedEventNumber();
    switch (int1) {
        case 5:
            ActionEquipItem(GetItemPossessedBy(OBJECT_SELF, "g_w_drkjdisbr002"), 4, 0);
            DelayCommand(0.5, SetLightsaberPowered(OBJECT_SELF, 1, 1, 0));
            ActionDoCommand(SignalEvent(sub1(3), EventUserDefined(0)));
            break;
        case 10:
            ActionMoveToObject(GetObjectByTag("wp_room8_01", 0), 0, 1.0);
            ActionDoCommand(SignalEvent(sub1(3), EventUserDefined(0)));
            ActionMoveToObject(GetObjectByTag("wp_room8_02", 0), 0, 1.0);
            ActionPlayAnimation(19, 1.0, 10.0);
            break;
        case 25:
            ClearAllActions();
            ActionCastFakeSpellAtObject(9, sub2(), 0);
            DelayCommand(0.3, ApplyEffectToObject(2, EffectChoke(), sub2(), 0.0));
            break;
    }
}

 

This is how it looks decompiled (partially) in dencs. Neither of these can be recompiled. Can somebody show me what I should be reading from this information?

Share this post


Link to post
Share on other sites

Strange it works for me. Make sure your new lightsaber is in double quotes  e.g. "w_dblsbr_002".

What error do you get when you recompile?

Share this post


Link to post
Share on other sites

Very weird. I posted this topic before trying it again today. I recompiled the script and for (whatever reason) it worked! I haven't done anything differently, but yesterday I was trying to compile from Kotor Tool's text editor and it was telling me that the script compilation was aborted. It's been driving me crazy recently, so this is a huge relief. All of the conditions were the exact same as yesterday (txt editor set to K1, nwscript from k1 in same folder as the stuff from DeNCS, same lightsaber, same everything.) 

Out of curiosity, do the modders who make the complicated scripting mods understand everything that is in a script? For instance in the script example I posted why would things like this be relevant in the scene? This is unrelated to my problem. I am just curious.

string stringGLOB_1 = "end_trask";
    string stringGLOB_2 = "endwp_tarsk01";
    string stringGLOB_3 = "Carth";
    string stringGLOB_4 = "g_w_blstrrfl001";
    string stringGLOB_5 = "g_i_adrnaline003";
    string stringGLOB_6 = "";
    string stringGLOB_7 = "g_w_blstrpstl001";
    string stringGLOB_8 = "g_i_adrnaline002";
    string stringGLOB_9 = "g_i_implant101";
    string stringGLOB_10 = "g_w_blstrpstl001";
    string stringGLOB_11 = "g_i_secspike01";
    string stringGLOB_12 = "g_i_progspike01";

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.