Jump to content

Home

Extending force power time?


stinkymonz

Recommended Posts

  • Replies 73
  • Created
  • Last Reply
Originally posted by Darth Khasei

Is there a direct tool to directly view just a complied NCS file?

You can decompile scripts (.ncs files) with HazardX's script compiler/ decompiler :

http://www.megamods.de/_data/parts/dl.php?file=37

 

However, the available information is limited to the main functions. You won't be able to see the syntax.

 

hmmm...i thought that after 400 posts my status would be something else than a Gungan :rolleyes:

Link to comment
Share on other sites

Originally posted by Darth333

What have you edited in k_inc_force? Only master valor by changing the duration from 20secs to 60secs? Can you post you modifications?

 

I don't know how to post the file, but I can email to you. Please PM your email address to me if you're willing to look at it.

 

Thanks!

Link to comment
Share on other sites

Originally posted by Darth Khasei

That compiler appears to be dos and there are zero instructions on how to use it. I have tried everything to get it to work. Is there a simple explanation for taking a file like dk_kill.ncs and opening it up?

 

I'm by no means qualified to answer this, but I'm going to take a stab at it anyway. The program will compile a script but not decompile. You will need a decompiler to open the script. Unfortuately I cannot recommend one, but perhaps one of the other modders can. I hope that helps.

 

Achilles

Link to comment
Share on other sites

Guest bneezy21

Is that how those little titles are generated? Hmm..now I'm a little insulted at being "Bantha Fodder".

Link to comment
Share on other sites

Originally posted by Achillies

I'm by no means qualified to answer this, but I'm going to take a stab at it anyway. The program will compile a script but not decompile. You will need a decompiler to open the script. Unfortuately I cannot recommend one, but perhaps one of the other modders can. I hope that helps.

 

Achilles

You can decompile a scrit with HazardX script compiler/decompiler (see link above). I do this all the time. The only thing, as I mentionned above is that once the script is decompiled the available information will be limited to the main functions tht are called. For instructions on how to do it, you can refer to this thread: http://www.lucasforums.com/showthread.php?s=&threadid=127713

Hope that helps :)

Link to comment
Share on other sites

Originally posted by Darth Khasei

Darth333 Thank you sir for all of your help with the script decompile questions. I was able to decompile the script for the first time. The only problem I have and it is "my" problem, I have not idea wtf I am seeing when the script is decompiled. :D

What script did you decompiled?

Link to comment
Share on other sites

The tk_choke.ncs gave me this(warning long)

 

00000008 42 0000084D T 0000084D

0000000D 1E 00 00000008 JSR fn_00000015

00000013 20 00 RETN

00000015 02 03 RSADDI

00000017 02 03 RSADDI

00000019 02 03 RSADDI

0000001B 02 03 RSADDI

0000001D 02 03 RSADDI

0000001F 02 03 RSADDI

00000021 2A 00 SAVEBP

00000023 1E 00 00000010 JSR fn_00000033

00000029 2B 00 RESTOREBP

0000002B 1B 00 FFFFFFE8 MOVSP FFFFFFE8

00000031 20 00 RETN

00000033 04 03 00000001 CONSTI 00000001

00000039 26 01 FFFFFFE8 0004 CPDOWNBP FFFFFFE8, 0004

00000041 1B 00 FFFFFFFC MOVSP FFFFFFFC

00000047 04 03 00000001 CONSTI 00000001

0000004D 26 01 FFFFFFEC 0004 CPDOWNBP FFFFFFEC, 0004

00000055 1B 00 FFFFFFFC MOVSP FFFFFFFC

0000005B 04 06 00000000 CONSTO 00000000

00000061 05 00 00A6 01 ACTION GetHitDice(00A6), 01

00000066 04 03 00000002 CONSTI 00000002

0000006C 16 20 MULII

0000006E 04 03 00000003 CONSTI 00000003

00000074 17 20 DIVII

00000076 26 01 FFFFFFF0 0004 CPDOWNBP FFFFFFF0, 0004

0000007E 1B 00 FFFFFFFC MOVSP FFFFFFFC

00000084 04 03 00000001 CONSTI 00000001

0000008A 26 01 FFFFFFF4 0004 CPDOWNBP FFFFFFF4, 0004

00000092 1B 00 FFFFFFFC MOVSP FFFFFFFC

00000098 04 03 000003EC CONSTI 000003EC

0000009E 26 01 FFFFFFF8 0004 CPDOWNBP FFFFFFF8, 0004

000000A6 1B 00 FFFFFFFC MOVSP FFFFFFFC

000000AC 02 10 RSADDEFF

000000AE 04 03 00000004 CONSTI 00000004

000000B4 04 03 00000002 CONSTI 00000002

000000BA 05 00 01BE 02 ACTION EffectAbilityDecrease(01BE), 02

000000BF 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

000000C7 1B 00 FFFFFFFC MOVSP FFFFFFFC

000000CD 04 03 00000004 CONSTI 00000004

000000D3 04 03 00000000 CONSTI 00000000

000000D9 05 00 01BE 02 ACTION EffectAbilityDecrease(01BE), 02

000000DE 03 01 FFFFFFF8 0004 CPTOPSP FFFFFFF8, 0004

000000E6 05 00 00C7 02 ACTION EffectLinkEffects(00C7), 02

000000EB 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

000000F3 1B 00 FFFFFFFC MOVSP FFFFFFFC

000000F9 04 03 00000004 CONSTI 00000004

000000FF 04 03 00000001 CONSTI 00000001

00000105 05 00 01BE 02 ACTION EffectAbilityDecrease(01BE), 02

0000010A 03 01 FFFFFFF8 0004 CPTOPSP FFFFFFF8, 0004

00000112 05 00 00C7 02 ACTION EffectLinkEffects(00C7), 02

00000117 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

0000011F 1B 00 FFFFFFFC MOVSP FFFFFFFC

00000125 04 03 00000003 CONSTI 00000003

0000012B 03 01 FFFFFFF8 0004 CPTOPSP FFFFFFF8, 0004

00000133 05 00 0228 02 ACTION SetEffectIcon(0228), 02

00000138 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

00000140 1B 00 FFFFFFFC MOVSP FFFFFFFC

00000146 02 10 RSADDEFF

00000148 05 00 009F 00 ACTION EffectChoke(009F), 00

0000014D 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

00000155 1B 00 FFFFFFFC MOVSP FFFFFFFC

0000015B 02 10 RSADDEFF

0000015D 04 03 00000000 CONSTI 00000000

00000163 27 01 FFFFFFF4 0004 CPTOPBP FFFFFFF4, 0004

0000016B 27 01 FFFFFFF0 0004 CPTOPBP FFFFFFF0, 0004

00000173 05 00 004F 03 ACTION EffectDamage(004F), 03

00000178 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

00000180 1B 00 FFFFFFFC MOVSP FFFFFFFC

00000186 02 10 RSADDEFF

00000188 02 06 RSADDO

0000018A 04 04 00000000 CONSTF 0.000000

00000190 04 04 00000000 CONSTF 0.000000

00000196 04 04 00000000 CONSTF 0.000000

0000019C 04 03 00000001 CONSTI 00000001

000001A2 04 03 00000001 CONSTI 00000001

000001A8 04 06 00000000 CONSTO 00000000

000001AE 05 00 00D5 01 ACTION GetLocation(00D5), 01

000001B3 04 04 41880000 CONSTF 17.000000

000001B9 04 03 00000004 CONSTI 00000004

000001BF 05 00 0080 06 ACTION GetFirstObjectInShape(0080), 06

000001C4 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

000001CC 1B 00 FFFFFFFC MOVSP FFFFFFFC

000001D2 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

000001DA 05 00 002A 01 ACTION GetIsObjectValid(002A), 01

000001DF 1F 00 0000009A JZ off_00000279

000001E5 04 06 00000000 CONSTO 00000000

000001EB 03 01 FFFFFFF8 0004 CPTOPSP FFFFFFF8, 0004

000001F3 05 00 00EC 02 ACTION GetIsFriend(00EC), 02

000001F8 22 03 NOTI

000001FA 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

00000202 1F 00 00000017 JZ off_00000219

00000208 03 01 FFFFFFF8 0004 CPTOPSP FFFFFFF8, 0004

00000210 05 00 008C 01 ACTION GetIsDead(008C), 01

00000215 22 03 NOTI

00000217 06 20 LOGANDII

00000219 1F 00 00000012 JZ off_0000022B

0000021F 1D 00 0000005A JMP off_00000279

00000225 1D 00 00000006 JMP off_0000022B

0000022B 04 04 00000000 CONSTF 0.000000

00000231 04 04 00000000 CONSTF 0.000000

00000237 04 04 00000000 CONSTF 0.000000

0000023D 04 03 00000001 CONSTI 00000001

00000243 04 03 00000001 CONSTI 00000001

00000249 04 06 00000000 CONSTO 00000000

0000024F 05 00 00D5 01 ACTION GetLocation(00D5), 01

00000254 04 04 41880000 CONSTF 17.000000

0000025A 04 03 00000004 CONSTI 00000004

00000260 05 00 0081 06 ACTION GetNextObjectInShape(0081), 06

00000265 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

0000026D 1B 00 FFFFFFFC MOVSP FFFFFFFC

00000273 1D 00 FFFFFF5F JMP off_000001D2

00000279 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

00000281 05 00 002A 01 ACTION GetIsObjectValid(002A), 01

00000286 1F 00 000001AE JZ off_00000434

0000028C 02 03 RSADDI

0000028E 02 03 RSADDI

00000290 03 01 FFFFFFF0 0004 CPTOPSP FFFFFFF0, 0004

00000298 03 01 FFFFFFE8 0004 CPTOPSP FFFFFFE8, 0004

000002A0 03 01 FFFFFFE0 0004 CPTOPSP FFFFFFE0, 0004

000002A8 03 01 FFFFFFE8 0004 CPTOPSP FFFFFFE8, 0004

000002B0 1E 00 00000198 JSR fn_00000448

000002B6 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

000002BE 1B 00 FFFFFFFC MOVSP FFFFFFFC

000002C4 02 03 RSADDI

000002C6 03 01 FFFFFFF8 0004 CPTOPSP FFFFFFF8, 0004

000002CE 04 03 00000000 CONSTI 00000000

000002D4 0B 20 EQUALII

000002D6 1F 00 000000EC JZ off_000003C2

000002DC 02 03 RSADDI

000002DE 03 01 FFFFFFF0 0004 CPTOPSP FFFFFFF0, 0004

000002E6 1E 00 000002DC JSR fn_000005C2

000002EC 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

000002F4 1B 00 FFFFFFFC MOVSP FFFFFFFC

000002FA 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

00000302 04 03 00000000 CONSTI 00000000

00000308 0B 20 EQUALII

0000030A 1F 00 000000B2 JZ off_000003BC

00000310 04 04 00000000 CONSTF 0.000000

00000316 03 01 FFFFFFF0 0004 CPTOPSP FFFFFFF0, 0004

0000031E 04 03 00000000 CONSTI 00000000

00000324 04 03 000003EC CONSTI 000003EC

0000032A 05 00 00B4 02 ACTION EffectVisualEffect(00B4), 02

0000032F 04 03 00000000 CONSTI 00000000

00000335 05 00 00DC 04 ACTION ApplyEffectToObject(00DC), 04

0000033A 04 04 40C00000 CONSTF 6.000000

00000340 03 01 FFFFFFF0 0004 CPTOPSP FFFFFFF0, 0004

00000348 03 01 FFFFFFE0 0004 CPTOPSP FFFFFFE0, 0004

00000350 04 03 00000001 CONSTI 00000001

00000356 05 00 00DC 04 ACTION ApplyEffectToObject(00DC), 04

0000035B 04 04 41C00000 CONSTF 24.000000

00000361 03 01 FFFFFFF0 0004 CPTOPSP FFFFFFF0, 0004

00000369 03 01 FFFFFFDC 0004 CPTOPSP FFFFFFDC, 0004

00000371 04 03 00000001 CONSTI 00000001

00000377 05 00 00DC 04 ACTION ApplyEffectToObject(00DC), 04

0000037C 02 03 RSADDI

0000037E 04 03 00000001 CONSTI 00000001

00000384 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

0000038C 1B 00 FFFFFFFC MOVSP FFFFFFFC

00000392 02 04 RSADDF

00000394 03 01 FFFFFFEC 0004 CPTOPSP FFFFFFEC, 0004

0000039C 04 03 00000007 CONSTI 00000007

000003A2 03 01 FFFFFFDC 0004 CPTOPSP FFFFFFDC, 0004

000003AA 1E 00 0000037B JSR fn_00000725

000003B0 1B 00 FFFFFFF8 MOVSP FFFFFFF8

000003B6 1D 00 00000006 JMP off_000003BC

000003BC 1D 00 00000006 JMP off_000003C2

000003C2 03 01 FFFFFFF8 0004 CPTOPSP FFFFFFF8, 0004

000003CA 04 03 00000000 CONSTI 00000000

000003D0 0E 20 GTII

000003D2 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

000003DA 1F 00 00000014 JZ off_000003EE

000003E0 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

000003E8 1F 00 00000016 JZ off_000003FE

000003EE 03 01 FFFFFFF8 0004 CPTOPSP FFFFFFF8, 0004

000003F6 04 03 00000000 CONSTI 00000000

000003FC 0E 20 GTII

000003FE 07 20 LOGORII

00000400 1F 00 00000028 JZ off_00000428

00000406 04 04 00000000 CONSTF 0.000000

0000040C 04 06 00000000 CONSTO 00000000

00000412 05 00 01A4 00 ACTION EffectForceFizzle(01A4), 00

00000417 04 03 00000000 CONSTI 00000000

0000041D 05 00 00DC 04 ACTION ApplyEffectToObject(00DC), 04

00000422 1D 00 00000006 JMP off_00000428

00000428 1B 00 FFFFFFF8 MOVSP FFFFFFF8

0000042E 1D 00 00000006 JMP off_00000434

00000434 1B 00 FFFFFFEC MOVSP FFFFFFEC

0000043A 1D 00 0000000C JMP off_00000446

00000440 1B 00 FFFFFFEC MOVSP FFFFFFEC

00000446 20 00 RETN

00000448 02 03 RSADDI

0000044A 04 03 00000000 CONSTI 00000000

00000450 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

00000458 1B 00 FFFFFFFC MOVSP FFFFFFFC

0000045E 03 01 FFFFFFF4 0004 CPTOPSP FFFFFFF4, 0004

00000466 03 01 FFFFFFF4 0004 CPTOPSP FFFFFFF4, 0004

0000046E 05 00 0186 02 ACTION GetIsLinkImmune(0186), 02

00000473 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

0000047B 1F 00 00000014 JZ off_0000048F

00000481 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

00000489 1F 00 0000001B JZ off_000004A4

0000048F 03 01 FFFFFFEC 0004 CPTOPSP FFFFFFEC, 0004

00000497 03 01 FFFFFFF0 0004 CPTOPSP FFFFFFF0, 0004

0000049F 05 00 0186 02 ACTION GetIsLinkImmune(0186), 02

000004A4 07 20 LOGORII

000004A6 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

000004AE 1F 00 00000014 JZ off_000004C2

000004B4 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

000004BC 1F 00 0000001B JZ off_000004D7

000004C2 03 01 FFFFFFE8 0004 CPTOPSP FFFFFFE8, 0004

000004CA 03 01 FFFFFFF0 0004 CPTOPSP FFFFFFF0, 0004

000004D2 05 00 0186 02 ACTION GetIsLinkImmune(0186), 02

000004D7 07 20 LOGORII

000004D9 1F 00 00000033 JZ off_0000050C

000004DF 04 03 00000001 CONSTI 00000001

000004E5 03 01 FFFFFFF4 0004 CPTOPSP FFFFFFF4, 0004

000004ED 05 00 016E 02 ACTION DisplayFeedBackText(016E), 02

000004F2 04 03 00000001 CONSTI 00000001

000004F8 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

00000500 1B 00 FFFFFFFC MOVSP FFFFFFFC

00000506 1D 00 00000006 JMP off_0000050C

0000050C 03 01 FFFFFFF8 0004 CPTOPSP FFFFFFF8, 0004

00000514 04 06 00000000 CONSTO 00000000

0000051A 05 00 00A9 02 ACTION ResistForce(00A9), 02

0000051F 1F 00 00000033 JZ off_00000552

00000525 04 03 00000000 CONSTI 00000000

0000052B 03 01 FFFFFFF4 0004 CPTOPSP FFFFFFF4, 0004

00000533 05 00 016E 02 ACTION DisplayFeedBackText(016E), 02

00000538 04 03 00000001 CONSTI 00000001

0000053E 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

00000546 1B 00 FFFFFFFC MOVSP FFFFFFFC

0000054C 1D 00 00000006 JMP off_00000552

00000552 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

0000055A 04 03 00000001 CONSTI 00000001

00000560 0B 20 EQUALII

00000562 1F 00 00000030 JZ off_00000592

00000568 04 04 00000000 CONSTF 0.000000

0000056E 03 01 FFFFFFF4 0004 CPTOPSP FFFFFFF4, 0004

00000576 04 06 00000000 CONSTO 00000000

0000057C 05 00 0192 01 ACTION EffectForceResisted(0192), 01

00000581 04 03 00000000 CONSTI 00000000

00000587 05 00 00DC 04 ACTION ApplyEffectToObject(00DC), 04

0000058C 1D 00 00000006 JMP off_00000592

00000592 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

0000059A 01 01 FFFFFFE4 0004 CPDOWNSP FFFFFFE4, 0004

000005A2 1B 00 FFFFFFF8 MOVSP FFFFFFF8

000005A8 1D 00 00000012 JMP off_000005BA

000005AE 1B 00 FFFFFFFC MOVSP FFFFFFFC

000005B4 1B 00 FFFFFFFC MOVSP FFFFFFFC

000005BA 1B 00 FFFFFFF0 MOVSP FFFFFFF0

000005C0 20 00 RETN

000005C2 02 03 RSADDI

000005C4 27 01 FFFFFFEC 0004 CPTOPBP FFFFFFEC, 0004

000005CC 04 03 00000001 CONSTI 00000001

000005D2 0B 20 EQUALII

000005D4 1F 00 0000003A JZ off_0000060E

000005DA 04 06 00000000 CONSTO 00000000

000005E0 27 01 FFFFFFFC 0004 CPTOPBP FFFFFFFC, 0004

000005E8 05 00 006F 00 ACTION GetSpellSaveDC(006F), 00

000005ED 03 01 FFFFFFEC 0004 CPTOPSP FFFFFFEC, 0004

000005F5 05 00 006C 04 ACTION FortitudeSave(006C), 04

000005FA 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

00000602 1B 00 FFFFFFFC MOVSP FFFFFFFC

00000608 1D 00 0000009A JMP off_000006A2

0000060E 27 01 FFFFFFEC 0004 CPTOPBP FFFFFFEC, 0004

00000616 04 03 00000002 CONSTI 00000002

0000061C 0B 20 EQUALII

0000061E 1F 00 0000003A JZ off_00000658

00000624 04 06 00000000 CONSTO 00000000

0000062A 27 01 FFFFFFFC 0004 CPTOPBP FFFFFFFC, 0004

00000632 05 00 006F 00 ACTION GetSpellSaveDC(006F), 00

00000637 03 01 FFFFFFEC 0004 CPTOPSP FFFFFFEC, 0004

0000063F 05 00 006D 04 ACTION ReflexSave(006D), 04

00000644 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

0000064C 1B 00 FFFFFFFC MOVSP FFFFFFFC

00000652 1D 00 00000050 JMP off_000006A2

00000658 27 01 FFFFFFEC 0004 CPTOPBP FFFFFFEC, 0004

00000660 04 03 00000003 CONSTI 00000003

00000666 0B 20 EQUALII

00000668 1F 00 0000003A JZ off_000006A2

0000066E 04 06 00000000 CONSTO 00000000

00000674 27 01 FFFFFFFC 0004 CPTOPBP FFFFFFFC, 0004

0000067C 05 00 006F 00 ACTION GetSpellSaveDC(006F), 00

00000681 03 01 FFFFFFEC 0004 CPTOPSP FFFFFFEC, 0004

00000689 05 00 006E 04 ACTION WillSave(006E), 04

0000068E 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004

00000696 1B 00 FFFFFFFC MOVSP FFFFFFFC

0000069C 1D 00 00000006 JMP off_000006A2

000006A2 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

000006AA 04 03 00000000 CONSTI 00000000

000006B0 0E 20 GTII

000006B2 1F 00 00000043 JZ off_000006F5

000006B8 04 04 00000000 CONSTF 0.000000

000006BE 03 01 FFFFFFF4 0004 CPTOPSP FFFFFFF4, 0004

000006C6 04 06 00000000 CONSTO 00000000

000006CC 05 00 0192 01 ACTION EffectForceResisted(0192), 01

000006D1 04 03 00000000 CONSTI 00000000

000006D7 05 00 00DC 04 ACTION ApplyEffectToObject(00DC), 04

000006DC 04 03 00000002 CONSTI 00000002

000006E2 03 01 FFFFFFF4 0004 CPTOPSP FFFFFFF4, 0004

000006EA 05 00 016E 02 ACTION DisplayFeedBackText(016E), 02

000006EF 1D 00 00000006 JMP off_000006F5

000006F5 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

000006FD 01 01 FFFFFFF0 0004 CPDOWNSP FFFFFFF0, 0004

00000705 1B 00 FFFFFFF8 MOVSP FFFFFFF8

0000070B 1D 00 00000012 JMP off_0000071D

00000711 1B 00 FFFFFFFC MOVSP FFFFFFFC

00000717 1B 00 FFFFFFFC MOVSP FFFFFFFC

0000071D 1B 00 FFFFFFFC MOVSP FFFFFFFC

00000723 20 00 RETN

00000725 03 01 FFFFFFF4 0004 CPTOPSP FFFFFFF4, 0004

0000072D 05 00 002A 01 ACTION GetIsObjectValid(002A), 01

00000732 1F 00 00000113 JZ off_00000845

00000738 05 00 02BD 00 ACTION GetIsConversationActive(02BD), 00

0000073D 22 03 NOTI

0000073F 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

00000747 1F 00 00000017 JZ off_0000075E

0000074D 03 01 FFFFFFF0 0004 CPTOPSP FFFFFFF0, 0004

00000755 05 00 008C 01 ACTION GetIsDead(008C), 01

0000075A 22 03 NOTI

0000075C 06 20 LOGANDII

0000075E 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004

00000766 1F 00 0000001D JZ off_00000783

0000076C 04 06 00000000 CONSTO 00000000

00000772 03 01 FFFFFFEC 0004 CPTOPSP FFFFFFEC, 0004

0000077A 05 00 00EC 02 ACTION GetIsFriend(00EC), 02

0000077F 22 03 NOTI

00000781 06 20 LOGANDII

00000783 1F 00 000000BC JZ off_0000083F

00000789 03 01 FFFFFFF8 0004 CPTOPSP FFFFFFF8, 0004

00000791 04 03 00000002 CONSTI 00000002

00000797 18 20 MODII

00000799 04 03 00000000 CONSTI 00000000

0000079F 0B 20 EQUALII

000007A1 1F 00 0000002D JZ off_000007CE

000007A7 04 04 00000000 CONSTF 0.000000

000007AD 03 01 FFFFFFF0 0004 CPTOPSP FFFFFFF0, 0004

000007B5 03 01 FFFFFFF4 0004 CPTOPSP FFFFFFF4, 0004

000007BD 04 03 00000000 CONSTI 00000000

000007C3 05 00 00DC 04 ACTION ApplyEffectToObject(00DC), 04

000007C8 1D 00 00000006 JMP off_000007CE

000007CE 23 03 FFFFFFF8 DECISP FFFFFFF8

000007D4 03 01 FFFFFFF8 0004 CPTOPSP FFFFFFF8, 0004

000007DC 1B 00 FFFFFFFC MOVSP FFFFFFFC

000007E2 03 01 FFFFFFF8 0004 CPTOPSP FFFFFFF8, 0004

000007EA 04 03 00000000 CONSTI 00000000

000007F0 0E 20 GTII

000007F2 1F 00 00000047 JZ off_00000839

000007F8 2C 10 00000018 0000000C STORE_STATE 10, 00000018, 0000000C

00000802 1D 00 00000026 JMP off_00000828

00000808 03 01 FFFFFFF4 0004 CPTOPSP FFFFFFF4, 0004

00000810 03 01 FFFFFFF4 0004 CPTOPSP FFFFFFF4, 0004

00000818 03 01 FFFFFFF4 0004 CPTOPSP FFFFFFF4, 0004

00000820 1E 00 FFFFFF05 JSR fn_00000725

00000826 20 00 RETN

00000828 04 04 3F800000 CONSTF 1.000000

0000082E 05 00 0007 02 ACTION DelayCommand(0007), 02

00000833 1D 00 00000006 JMP off_00000839

00000839 1D 00 00000006 JMP off_0000083F

0000083F 1D 00 00000006 JMP off_00000845

00000845 1B 00 FFFFFFF4 MOVSP FFFFFFF4

0000084B 20 00 RETN

Link to comment
Share on other sites

Look midway into the decompiled script:

you shoudl see functions like:

ACTION EffectAbilityDecrease

GetIsLinkImmune

EffectDamage

 

etc.

 

These are the funtions that are called by the script. Now, on how to use these functions, you'll have to refer to nwscript mostly and to the otther scripts where the source code is available. Unfortunately, the info is limited when you decompiled a script.

Link to comment
Share on other sites

Originally posted by Darth Khasei

Thx, I think I will have to reign in my ambitions in modding:(

 

You and me both. I spent the last hour looking at decompiled (and compiled) scripts trying to figure this all out. Unfortunately, I don't feel any smarter for the experience =(

Link to comment
Share on other sites

Some stuff is fairly easy but frankly the scripting is really programming. Its like playing an instrument. Some people are born to it and others can do it, but it takes ALOT of practice and it is not inate. I have a TON of respect for those that can actually do it having taken programming myself in college.

Link to comment
Share on other sites

  • 2 months later...
Originally posted by tisienpo

ok i resume what i do:

 

i extract with kotor tool the 3 files to override directory (i make no modifs yet)

k_inc_force.nss 99ko

k_inc_debug.nss 4ko

k_sp1_generic.nss 1ko

 

i compile the files with

 

NWNNSSCOMP -c override\k_sp1_generic.nss override\k_sp1_generic.ncs

pause

 

and get k_sp1_generic.ncs 45ko file in override

 

i run game and lwhen i click jedi power like jedi speed nothing happens.....

 

 

i tried to compile with

NWNNSSCOMP -c Override\* Override\

pause

 

i get 2 files then:

k_sp1_generic.ncs 37ko

k_sp1_generic.ndb 45ko

 

i run game and jedi powers still bugged without any modifs made....so i guess force power file was not included like it should be

 

sigh

 

 

 

 

this is exactly whats haping to me

 

i take and throw the nss files into override

 

then his compial all (with the thing i downloaded) it pops up a dos windo compials then tels me to hit any key

it maks 2 new files in my over drive

 

i then load up game load game and hit one of my fp and nothing hapens :/

 

i took the 5 files out and it still dos not work :/

 

i read that dos thingy thread and now im more cun fused then ever

Link to comment
Share on other sites

ok i open up comand promt and do this

 

E:

cd/Program Files

cd/lucasArts

cd/SWKotOR

NWNNSSCOMP -v1.00 -c Override\* Override\pause

 

 

and i get this

 

E:\Program Files\LucasArts\SWKotOR>NWNNSSCOMP -v1.00 -c Override\* Override\paus

e

'Star Wars: Knights of the Old Republic' Script Compiler/Decompiler

based on 'NeverWinter Nights' Script Compiler/Decompiler

Copyright 2002-2003, Edward T. Smith

Modified by Hazard (hazard_x@gmx.net)

 

Compiling: k_inc_debug.nss

File is an include file, ignored

Compiling: k_inc_force.nss

File is an include file, ignored

Compiling: k_sp1_generic.nss

Total Execution time = 234 ms

 

E:\Program Files\LucasArts\SWKotOR>

______________________________________________

 

but now no .ncr file is apering :/

 

what am i doing rong ? am i any were near the right track?

 

i have this weird file now named pause

Link to comment
Share on other sites

Originally posted by maddogsz

Compiling: k_inc_debug.nss

File is an include file, ignored

Compiling: k_inc_force.nss

File is an include file, ignored

Compiling: k_sp1_generic.nss

Total Execution time = 234 ms

 

E:\Program Files\LucasArts\SWKotOR>

______________________________________________

 

i have this weird file now named pause

Err....the compile log looks correct but I don't know what to tell you about the "pause" file.

 

The purpose of that particular string was for creating a batch file. I don't know that you will benefit by using it in the command line.

 

Darth333 can probably address this better than I can :(

Link to comment
Share on other sites

It looks ok: k_inc_debug.nss and k_inc_force.nss are included file so you wont get corresponding .nss files. However, you should have a k_sp_generic.ncs file in your folder now, don't you?.

 

On how to create a batch file, check the "Guide for the Newbie" sticky, there is a link on How to use/troubleshoot the compiler.

Link to comment
Share on other sites

ok after working at it all night i finly figerd it out i think i was abel to chang heal to were it healed 50 more points of life then it was sapous to ( did this just to see if i was actuly doing a thing)

but no mater what i do the forceses that are on a timer wont work enless i dont mess withy them :/

 

and poor jahoni keeps casting valur none stop even tho it dont do a thing lol

Link to comment
Share on other sites

ok i can modify and force and make it work now exept any force that has a timer on it

 

even if i dont make a chang to any of them as soon as i stick my modifyed k_sp1_generic.ncs file in my forcpowers that are on a timer wont work any more at all :/

 

i dont get it iv even tryed makeing no modifacations to k_inc_force.nss and compialing it

with k_inc_debug.nss

k_sp1_generic.nss

to get k_sp1_generic.ncs but as soon as i tick it in overrid folder the force powers with a time on them wont work :/

 

it dont make any sence any light on this would be vere much appriatted

Link to comment
Share on other sites

Originally posted by maddogsz

ok i can modify and force and make it work now exept any force that has a timer on it

 

even if i dont make a chang to any of them as soon as i stick my modifyed k_sp1_generic.ncs file in my forcpowers that are on a timer wont work any more at all :/

 

i dont get it iv even tryed makeing no modifacations to k_inc_force.nss and compialing it

with k_inc_debug.nss

k_sp1_generic.nss

to get k_sp1_generic.ncs but as soon as i tick it in overrid folder the force powers with a time on them wont work :/

 

it dont make any sence any light on this would be vere much appriatted

 

All you should be changing is a couple of numbers. If the force powers have stopped working altogether, it probably means that you pooched something. I would recommend going back and starting over with a fresh instance of the script, being very careful to only change the correct numbers (via the instructions).

 

Diligence will fix 99% of all problems :D

 

Good luck!

Link to comment
Share on other sites

Archived

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


×
×
  • Create New...