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?
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?
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.
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).
you talk to the man who asks you for money and theres a question option for your character and then he dialog ends and atris spawns.
Can you post a screenshot of the *.dlg branch where the script is attached, one of you .utc file and the source code of your spawn script?
cant take screenshots, i dont know why it wont work, its a real pain in the butt, i have to get people to make me recruitments mods at the moment. i follow every line of the tutorial and it still does work, i give up. nothing works, alli can do is reskins and that get boring!!
Try starting a new game and play through to where your character should show up. I know it's a pain to have to start a new game but it might fix your problem.
i have tried that, its not with that its with recrutment mods with script launching it a conversation like recruiting master kavar, i put a entry at the end of the talk with master kavar in the cantina in iziz and it wont work.
Did you attach the script to the "script #1" field in the dialog editor? If you did not that will mess it up too.
P.S.: Also if you cannot take screenshots try this software here (
http://donationcoder.com/Software/Mouser/screenshotcaptor/index.html), I use it and it is really good.
i attached it to the script #1
That is strange, show me what code your are using for the recruitment script.
the script that is in the tutorial!!
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
This may sound really stupid, but did you ensure you used the right thing for you TemplateResRef/Tag in the scripts?
Also, some dialogues just don't let you attach scripts to them like that. I don't know why, but sometimes they just don't work...
i esed exactly what the tutorial said!
Often, when people say they followed a tutorial exactly, they didn't. Go through exactly what *you* did, without resorting to re-reading the tutorial before replying.
i extracted the .utc file changed the faction id to 2, changed the script from def to hen, changed the tag to the character i want to replace. i copied the script and compiled them. created a dialog and attached the script to "script 1".
?dont think i left anything out in that explanation?
What did you do about the TemplateResRef?
Did you replace the right bits in the scripts?
Could you post up versions of your modified scripts?