Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN SCRIPTS

- Jump to comments -
Title  Living Towns 1.1
Author  Emmental
Submitted / Updated  09-30-2006 / 11-22-2006
Category  NPCs
Expansions  Works on all versions
Format  Code Only
Type  Type - Daily Routine
Includes  BioWare Standard
Description
This script is designed to allow builders to inject some "life" into their town's NPCs with no scripting required. As well as the waypoint and random walking, this includes such things as the lighting and turning off of the town's lamps, having NPCs go home at night and chatting to other nearby friends. See the readme file for full details and instructions.

Please note that this system has been designed in preparation for a NWN2 project and as such has not yet been extensively tested in a live module. One potential issue that I do anticipate in the NWN1 version is pathing problems for NPCs, especially where placeables are involved. Hopefully this will be a non-issue in NWN2.

New in 1.1:
- NPCs now return to their last position after doing a lamps sequence without the need for any sort of post setting.
- Added emote flags to social strings. It is now possible to make an NPC wave, rant, plead, etc. while socialising.
- Sociable NPCs now ignore DMs.
- If an NPC is now set to social group -1, they will only socialise with PCs.
- Added an ambient setting which makes NPCs occasionally perform ambient animations, such as looking tired, looking far away, etc.
- Added chair settings for NPCs. This supports a different chair for at home and elsewhere. Either or both chairs may be used.

Files

NameTypeSizeDownloads
Living_Towns_1.1.zipLiving_Towns_1.1.zip
Submitted: 09-30-2006 / Last Updated: 10-01-2006
zip13.92Kb741
--
SCORE OUT OF 10
9.42
5 votes
View Stats
Cast Your Vote!

PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS
No Images




You Must Be Logged In to Participate.
Comments (12):

Posted by YumiHigarashi at 2010-01-16 11:07:54    Voted 3.00 on 01/16/10
From what I can tell this script doesn't work in NWN 1 at all. I have tried to use it since you posted it, followed every single thing in the notepad document, and nothing. They all just stand there and always have. The only way they seem "alive" is if I use all the default setting with nw_c2_omnivore. And even then they just walk around doing nothing.

Nice idea, but doesn't work at all, at least in NWN 1.
_________________________
Former USAF Airman
& Gaming/ DND "Addict"

Posted by Aokis at 2009-08-29 11:24:06    Voted 9.25 on 08/29/09
Love this, let's me build some towns that feel alive.
_________________________
Aokis

Posted by Sir Hawk the Ranger at 2009-04-15 07:24:51    Voted 10.00 on 04/15/09
Elemental, I love your script! I used it in a new PW mod I have been making from scratch, however I am trying to retrofit the old BFME PW mod I am still running on my server with new scripts (this being one of them). The problem I have is something in the module seems to completely prevent the NPCs from moving unless there is a PC or DM in the area. Hence, at night if they are flagged to go home, they will go into their house but never reach their home waypoint. Also, once in the house they will never come back out unless someone goes into the house then they move to their waypoint or come back out. I have already ticked the setting for ConstantAnims in the Default9 script, but something else is wrong in this module that is preventing this from working as it does in my newer modules. I am at my wits end with this one, any thoughts on what I could check next would be GREATLY appreciated! Thank you very much for your great work!
_________________________
Quotable quote: "Yeah, I get that a lot."

Posted by Raven_Blood at 2009-02-12 21:20:51    Voted 10.00 on 02/12/09
560 and only one (1) vote? =/ well it happens...

I took the liberty of looking at this and i think its genious! there are no other scripts types like this one! now there ARE walk-waypoint scripts out there, but there far more complex than what this one has.

Using an older patch only means easier compliance and understanding of the system. im giving this a 10- a must and highly recommend (for those who are intrested in a true realistic town feel to there towns)

Posted by A Well-Known Swell Guy at 2007-08-17 14:18:35    
Lamessar by you saying "better" ones out there, what exactly did you mean? I'm saying, which exact scripts. I need a good one for my mod, not that this one isn't good (brill part from them not actually going "home") but I need a, as you say, "better" one....
ASAP plz

Posted by fishtail11 at 2006-12-08 23:52:46    
Has this been tested on NWN2 yet?

Posted by Emmental at 2006-10-11 16:27:08    
To set the flags on the NPCs use the Variables section. This is accessed by either right-clicking on your NPC in the map window and selecting Variables, or by using the Variables button at the bottom of the advanced tab of the NPC's properties window.

Add variables according to the readme file, making sure you set the type drop-down to be the same as the relevant variable in the instructions.

One thing to watch out for when changing the value of an existing variable is to make sure you press the Replace button, don't just change it in the box and hit OK - I do this all the time. Also, if you want to disable one of the action settings for an NPC you can just set the flag for that action to 0, you don't have to delete all the variables related to that action.

Thanks to those who have given feedback as well, I'll bear those things in mind for the next version.

Posted by wjmiller132 at 2006-10-11 08:56:45    
that should be I don't know how to set the flags

Posted by wjmiller132 at 2006-10-10 22:55:56    
I can't get it to work I don't really know how to set the flags if you could help me please

Posted by IceHammer at 2006-10-02 17:56:45    
I agree with Lanessar; multi-line 'conversations' would be an improvement. It'd be simple to have one creature's script assign strings to another creature. The hard part is making sure both don't talk at once.

Posted by Poecile at 2006-10-01 07:53:04    
How about checking for GetTimeMinute() or Second(), using the module event, OnHeartbeat, then signal a userdefined event for the script for the NPCs to execute. You can stagger the actions based on chunks of time. If GetTimeSeconds() == 0-15 for group one, 16-30 group II etc.

Posted by Lanessar at 2006-10-01 05:25:51    Voted 9.00 on 10/01/06
Rating this currently as a 9, excellent work, but a few modifications could be made to make it better.

The sociable stuff could be done a bit more "stageplay", I suppose. One line is getting there, but not fully immersive.

Heartbeat still takes up a lot of CPU cycles, and I think with NWN2's systems, there will have to be a different event used (perhaps onuserdefined, onspawn) in order to make better use of resources.

Otherwise, excellent script. Very well done, there's "better" ones out there, but they are far more complicated.
_________________________
Lan's Placeable Groups v1.5

You must be Logged In to post comments in this section.

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 UI


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters