Random NPC Population/Crafting

Forum for scripters of NWN material and third party applications.
Celadra
Ambassador: Miranor
Posts: 42
Joined: Sun Jan 16, 2005 12:21 am

Random NPC Population/Crafting

Post by Celadra » Sun May 29, 2005 2:04 pm

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.

Orleron
Multiverse Scholar
Posts: 1247
Joined: Mon Nov 10, 2003 11:15 am
Location: Avlis
Contact:

Post by Orleron » Sun May 29, 2005 3:15 pm

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.
Avlis: http://www.avlis.org

"My name is Orleron...a dungeonmaster...two years ago I got shot through a game client...I'm in a distant part of the internet aboard these servers of escaped mental patients...my players. I've made enemies, stupid, and annoying...now all I want to do is make CoPaP a reality, to warn Earth...Look inward(to your monitor) and share the newbies I've seen..."

Celadra
Ambassador: Miranor
Posts: 42
Joined: Sun Jan 16, 2005 12:21 am

Post by Celadra » Mon May 30, 2005 10:21 am

Ah, except we're not building off the Zero Module.

teleri
World Leader: The Outlands
Posts: 497
Joined: Thu Jul 01, 2004 2:24 pm
Location: Sigil
Contact:

Post by teleri » Mon May 30, 2005 1:09 pm

I would recomend pulling it down and using it for a refrance anyway.
Cheers,
teleri

Building the Outlands one GateTown at a Time
The Outlands
The Look of PlaneScape

Orleron
Multiverse Scholar
Posts: 1247
Joined: Mon Nov 10, 2003 11:15 am
Location: Avlis
Contact:

Post by Orleron » Mon May 30, 2005 4:01 pm

You can always extract stuff from the zero mod and import it separately into your mod.
Avlis: http://www.avlis.org

"My name is Orleron...a dungeonmaster...two years ago I got shot through a game client...I'm in a distant part of the internet aboard these servers of escaped mental patients...my players. I've made enemies, stupid, and annoying...now all I want to do is make CoPaP a reality, to warn Earth...Look inward(to your monitor) and share the newbies I've seen..."

Celadra
Ambassador: Miranor
Posts: 42
Joined: Sun Jan 16, 2005 12:21 am

Post by Celadra » Mon May 30, 2005 8:18 pm

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.

Orleron
Multiverse Scholar
Posts: 1247
Joined: Mon Nov 10, 2003 11:15 am
Location: Avlis
Contact:

Post by Orleron » Mon May 30, 2005 10:14 pm

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.
Avlis: http://www.avlis.org

"My name is Orleron...a dungeonmaster...two years ago I got shot through a game client...I'm in a distant part of the internet aboard these servers of escaped mental patients...my players. I've made enemies, stupid, and annoying...now all I want to do is make CoPaP a reality, to warn Earth...Look inward(to your monitor) and share the newbies I've seen..."

Baron
Ambassador: Ithilla
Posts: 99
Joined: Fri Jan 07, 2005 10:34 am
Location: Somewhere over the rainbow
Contact:

Post by Baron » Mon May 30, 2005 11:39 pm

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.
The Lord's Prayer is 66 words, the Gettysburg Address is 286 words,there are 1,322 words in the Declaration of Independence, but government regulations on the sale of cabbage total 26,911 words.

Post Reply