Jump to content

Home

K1 source scripts


Canderis

Recommended Posts

There should be one in KTool. Its a bunch of source scripts. (and compiled scripts, if you can get them uncompiled) If K1 'side' is anything like the TSL 'side', it should be in a section in BIFs called Scripts.bif

 

There is but the script I need isn't decompiled.

Link to comment
Share on other sites

There is but the script I need isn't decompiled.

 

Well whats the script you need? Being more specific might help.

 

@Mandalore: nwscript is the list of functions a script can do. And if it isn't in scripts.bif, then it would be in compiled form in a module's info in KTool.

Link to comment
Share on other sites

Out of curiosity, is this for the Jedi Fight Training?

 

I've tried decompiling the code for the arena fights already, got nothing but p-code. I know that some people can make sense out of it, but as far as I'm concerned, it is useless. A shame, as I would like to see how the arena fights are created. Even the ones in TSL would not decompile with DeNCS.

 

As for warping to a specific part of a module, you would need to set waypoints, unless I'm missing some important script function. There are more than enough spawning NPC tutorials already in the tutorials section, so I won't cover it here again.

 

- Star Admiral

Link to comment
Share on other sites

Out of curiosity, is this for the Jedi Fight Training?

 

I've tried decompiling the code for the arena fights already, got nothing but p-code. I know that some people can make sense out of it, but as far as I'm concerned, it is useless. A shame, as I would like to see how the arena fights are created. Even the ones in TSL would not decompile with DeNCS.

 

As for warping to a specific part of a module, you would need to set waypoints, unless I'm missing some important script function. There are more than enough spawning NPC tutorials already in the tutorials section, so I won't cover it here again.

 

- Star Admiral

Nope, its for HK-42's Ryloth mod.

Link to comment
Share on other sites

Sorry about that, the module names happened to be the same, so I jumped to conclusions.

 

I tried decompiling a few. The simplest ones that just set globals work fine, but they don't contain useful stuff. The ones that are interesting don't work.

 

An example of a relatively useless one.

 

int StartingConditional() {
int int1 = ((GetGlobalNumber("Tar_Duel") >= 4) && (!GetGlobalBoolean("TAR_DUELINPROGRESS")));
return int1;
}

 

- Star Admiral

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...