Originally posted by Chains
Here's what I have for my module-
1. A few uti and utc files.
2. The 3 module files.
What do I use in KotOR Tool to pack them together into a .mod file? Did you read Doom_Dealer's tutorial on area creation? It's right here (
http://www.lucasforums.com/showthread.php?s=&threadid=130451).
P.S. Some Questions-
How do I add merchants?
In the dlg file with the merchant, attach the following script when you want to open the store:
void main()
{
object oStore = CreateObject(OBJECT_TYPE_STORE,"my_store_template",GetLocation(GetFirstPC()));
AssignCommand(GetFirstPC(), OpenStore(oStore, GetFirstPC()));
}
to add your own stuff to the store, check this document (
http://nwn.bioware.com/developers/Bioware_Aurora_Store_Format.pdf) .
How do I make a hostile NPC attack me?
^
l
l
(I have the .utc file from KotOR Tool already made so would I need a script?)
It depends what you want to do. If you want an npc that will be hostile right when you enter the area, then just change the factionID in the .utc file from 5 to 1. If you want your npc to become hostile only after an event , such as after talking to him, then use the following script and attach it to the dialogue.:
void main()
{
object oTarget=GetObjectByTag("insert_npc_tag");
ChangeToStandardFaction (oTarget, STANDARD_FACTION_HOSTILE_1);
}
Note that all the above was easily accessible in the "Do you want to mod sw-kotor, then start here" sticky. PLease take some time to read the topics there and before everything, I suggest you follow Doom_dealer's tutorial.