Page 1 of 1

Random NPC Population/Crafting

Posted: Sun May 29, 2005 2:04 pm
by Celadra
Does anybody know of a good script to randomly place NPCs in an area when a player enters and then remove them when no PCs are in the area?

Also, we will need help setting up the crafting system within the next few days.

Posted: Sun May 29, 2005 3:15 pm
by Orleron
That NPC code is already in the zero mod. I can't remember what the script name is, I think it's despawn_ or something like that. It's most likely initialized in the avlis_onload script so you can find the name in there someplace.

Posted: Mon May 30, 2005 10:21 am
by Celadra
Ah, except we're not building off the Zero Module.

Posted: Mon May 30, 2005 1:09 pm
by teleri
I would recomend pulling it down and using it for a refrance anyway.

Posted: Mon May 30, 2005 4:01 pm
by Orleron
You can always extract stuff from the zero mod and import it separately into your mod.

Posted: Mon May 30, 2005 8:18 pm
by Celadra
True, but ripping stuff out of the Zero module is a time consuming process and relatively messy. Tried it once before and I still haven't gotten the quest-o-matic thing to work right...ever.

Posted: Mon May 30, 2005 10:14 pm
by Orleron
Don't forget the wiki is there to help with these systems. For the questomat, I think there are detailed instructions on the scripts you need. There's only 4 scripts for that system I think.

Posted: Mon May 30, 2005 11:39 pm
by Baron
Orleron wrote:Don't forget the wiki is there to help with these systems. For the questomat, I think there are detailed instructions on the scripts you need. There's only 4 scripts for that system I think.
So far as I can tell there are instruction only for the Kill-o-mat and frankly its all rather arcane to me....

I've also installed the Quest-o-mat system - built all the items and npcs - installed them - and only one npc has ever offered a quest - once in a test session and the recieving NPC didnt recognise it...the rest of the time i get the exact same "I dont have anything for you to do now" message.

to the best of my knowledge its set up right.