Jump to content

Home

Mods


Darth Dragoon

Recommended Posts

I have followed many tutorials including recruitment mods but when i put them in my game they never work. last night i followed the recruitment mod and the recruit a NPC in less than 10 steps but when i put them in my game they never work. atris never spawned on nar shaddaa so my mod could not start! do i need to put the files in a mod file?

Link to comment
Share on other sites

no. You just drop everything in the override folder. Something must be wrong with one (or more) of your files.

 

Here are a few things that are the source of common mistakes :

- make sure the names of your files don't exceed 16 characters

- did you compiled your script to spawn her? The *.nss files will have no effect on the game, it's the *.ncs files that you need.

- Where did you attached your script to spawn her?

Link to comment
Share on other sites

for her to spawn i put the co-ordinates in the script generator and the tag and then compiled it! i have made sure that the files names arent more than 16 characters.

 

Where do you run your script from? For a script to do anything it isn't enough to just put the NCS file in the override folder, you need to run the script from somewhere (usually an event of an object).

Link to comment
Share on other sites

  • 2 weeks later...

Ok hold on I will take look at it and I might be able to help you from there.

 

Edit: Ok I looked at the recruitment script and as far as I can tell it adds your recruit to the party by taking the number of one of the other party NCP's and replacing it with that character. So I think that may be a little tricky so here is a smaller and maybe a little easier code for you:


void main()
{

 AddAvailableNPCByObject(NPC_KREIA,GetObjectByTag("characters tag"));

 AddPartyMember(NPC_KREIA,GetObjectByTag("characters tag"));

}

 

Now as you can see with this code you are telling the game to replace the party ncp by it's name. So there will be no confusion over who you are replacing. So now try to compile this and use it with your mod and tell me how it works, also you can change "KREIA" to ("ATTON, DICSIPLE, HANDMAIDEN, HANHARR, MIRA, VISAS, GOTO, T3M4, HK-47, andanyone else I forgot"). So I hope this helps!:D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...