UnknownFear

Registered
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About UnknownFear

  • Rank
    Jedi Initiate
  1. 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";
  2. 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? This is the original ncs file from Kotor Tool. I have no idea how anybody can make out the functions from this. 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?
  3. Hello. I am aware that Darth Bandon's utc files on The Endar Spire and Manaan are the same ref tag (g_bandon001). I want to know how to script a lightsaber onto Darth Bandon during his appearance in both of these settings. My first problem is that if you edit the utc and put it into the module file directly (for The Endar Spire), Darth Bandon will not brandish his lightsaber. I imagine this is a problem with the script telling Darth Bandon to pull out a lightsaber that doesn't actually exist on his utc hand slot (his inventory on his utc does not have one on his hand). On Manaan you can edit it onto his hand directly, which is fine, if I wanted to edit the utc. and put it into the module file. I am trying to understand how scripting works though, and it is very frustrating. I am trying to create a script in Kotor Tool and have it trigger a new script (with the lightsaber command) and the old script (k_pend_cut26), which is the line where Darth Bandon appears (but i'm not sure if it's when he spawns). Simply put, can somebody walk me through how I would write a script that would target Darth Bandon and put a different lightsaber into his hand than the one that he has now. My modding knowledge is very basic because I only remember stuff from 2000s era modding, so please explain it to me as if there are zero presumptions on what I know. There are some things that users on this site speak of that I don't understand because I haven't modded in a long time. I remember basic stuff like 2da editing, utc and uti editing etc. but no complicated stuff like scripting. Also, I hope you can understand my post. French is my first language, so my English may be very bad. Sorry if I say anything that isn't correct.