Jump to content

Home

A bunch of random questions - scripting/dialogue


Xavier2

Recommended Posts

Originally posted by Darth333

I haven't really worked with KT integrated compiler until now (no offense Fred I haven't been doing any mod recently :D ) and I can't check it right now. So until Fred sees this or I get home to check it ( in about 8 hours) or someone else's answer the question, you can extract the two .nss files k_inc_debug and k_inc_generic and put them in the same folder as your custom script and compile with HazardX script compiler.

 

or the other solution you can chose is to:

remove the lines #include "k_inc_debug" and #include "k_inc_generic" from the script.

Copy and paste all the contents of k_inc_debug and k_inc_generic in your script and compile.

For this second advice. Should i change anything to the {} symbols? Or should i keep all 3 codes separated?

Link to comment
Share on other sites

Originally posted by Darth333

Check the Guide for the Newbie at the scripting section : I added a link to a thread that answers all the questions about how to use this compiler and general troubleshooting.

 

Edit: check this post: http://www.lucasforums.com/showthread.php?s=&postid=1555923#post1555923

Again completely lost.

 

I tried the run method wich seemed the most recognizable to my knowledge and it keeps saying "can't find the path".

 

I tried the prompt comand method, but it keeps saying the path to nwnnsscomp is not a valid comand.

Link to comment
Share on other sites

Create a folder called Kotor_compile,

 

Create the .bat file I mention in my other post and put it in the Kotor_compile folder

 

Put nwnnsscomp.exe in the Kotor_compile folder

 

Put the .nss files in the Kotor_compile folder

 

Double click the .bat file and it should compile.

 

...and please post anything in relation with the compiler in the compiler thread. I understand this is convenient to you but the answers should also useful to other people. I can't spend hours with everyone repeating the same answers all the time and looking for the answers in other threads for them....and from now on, make new threads when you have a new topic or post in an existing relevant thread please. I will not answer any further questions unless asked in the appropriate thread. I am sorry but if everyone would have been thinking only about their own mods, this community would not even exist and modding Kotor would be only for a very few.

Link to comment
Share on other sites

Originally posted by Darth333

Create a folder called Kotor_compile,

 

Create the .bat file I mention in my other post and put it in the Kotor_compile folder

 

Put nwnnsscomp.exe in the Kotor_compile folder

 

Put the .nss files in the Kotor_compile folder

 

Double click the .bat file and it should compile.

Failed again. Remember that i gotta have 3 nss in the folder my_script, k_inc_debug.nss and k_inc_generic.nss.

EDIT: Now it compiles. I had the nwnnsscomp version in Fred Tetra web site. Using the original version worked.

 

Back on topic: The script compiles fine, but the boss (dialog owner) is the only one who attacks you the other 3 henchmen, although becoming hostile stand still until attacked. The fourth henchmen is still neutral.

Link to comment
Share on other sites

the other 3 henchmen, although becoming hostile stand still until attacked

 

You could try using the ActionAttack function. Try adding these lines of code to the end of your script.

 

DelayCommand(1.0, AssignCommand(otat19_gamthug1, ActionAttack(GetFirstPC()));
DelayCommand(1.0, AssignCommand(otat19_gamthug2, ActionAttack(GetFirstPC()));
DelayCommand(1.0, AssignCommand(otat19_gamthug3, ActionAttack(GetFirstPC()));
DelayCommand(1.0, AssignCommand(otat19_gamthug4, ActionAttack(GetFirstPC()));

 

The fourth henchmen is still neutral.

Look for a typo in the line of your script that has the ChangeStandardFaction for that npc, or in the GetObjectByTag for that npc.

Link to comment
Share on other sites

Originally posted by tk102

Look for a typo in the line of your script that has the ChangeStandardFaction for that npc, or in the GetObjectByTag for that npc.

Thanks for the reply TK102, but...What is a typo? Anyway i just copy/paste the entire script Darth333 wrote in notepad. Saved, then changed the extension to .nss. Is there anything missing there you can notice?

Link to comment
Share on other sites

As helpfull as Im sure this type of thread is to you Xavier2, its not too helpfull to others.

 

This Forum is to help everyone make mods not just a few Random people. So I'm closing this thread and the other Random thread and the usefull information will be split into the appropriate threads.

 

I ask that in the future to help others, that when you make a new thread you give it a title that fits the TOPIC. "Random questions" is not a topic and is not helpfull to others.

 

Im not saying you can't start new threads On the contrary I encourage you to, but it is better to keep them on a single topic so that others can benefit from it later on. But the first thing to do is to look for other threads that have discussed the topic your interested in.

 

The fight-talk-fight sequence is in the modding tutorial thread you know this one. "Do you Want to mod SW-KotOR? Then Start here.Mod Tutorials!"

 

I know the search function is disabled But if you can not find what you want in the Stickies you can ask a moderator to do the search for you. Believe me I know this is incredibly inefficient but it is how it is right now :rolleyes: Then failing that Create a new thread, but please keep it on topic. I don't like closing threads But when people start complaining I have no other choice. :(

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...