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  



NWN2 SCRIPTS

- Jump to comments -
Name  Uncle FB's NPC Barmaid
Author  Uncle FB
Submitted / Updated  05-30-2009 / 06-19-2009
Category  Scripting routines
Type  Type - NPC Players
Format  Module and Code
ShowCode  

Select All Text | View Code in separate window
Patch  1.22
NWN2Game  All
Description
Npc Bar maid and bartender

Comment section from include file:
//This script uses 2 NPCs
//1 barmaid npc with the "npc_barmaid" script on the "on heartbeat" slot
//1 bartender with the "npc_bartender" script in the "on heartbeat" slot
//the bartender tag should be filled out at the beginning of the "npc_barmaid" script SEE NOTES in npc_barmaid
//the bar maid will refer to the bartender by name (listed in properties of bartender in toolset)
//1 generic waypoint with the tag "WP_BAR" for the bar maid to order from and rest at
//1 generic waypoint with the tag "WP_BARTENDER" for the bartender to stand at
//1 generic waypoint with the tag "WP_KEG" for the bartender to go to and fill drink orders
//the bar maid will randomly choose a customer and take an order
//the drink list can be customized and will be used throughout the bar maid conversation
//you can set up to 10 exclusions (other NPCs that the bar maid will not serve)
//among the exclusions should be the bar maid, and the bartender (maybe the innkeeper and/or musicians)
//exclusions should be filled out at the beginning of the "npc_barmaid" script SEE NOTES in npc_barmaid

Comment section from bar maid script:

//fill in appropriate bartender tag
//fill in exclusion tags (NPCs NOT to be served by the bar maid)

Comment section from bartender script:

//use 1 generic waypoint tagged "WP_BARTENDER" where you want the bartender to stand
//while waiting for drink orders
//use 1 generic waypoint tagged "WP_KEG" where you want the bartender to get the drinks


Files

NameTypeSizeDownloads
Tavern.modTavern.mod
Submitted: 05-30-2009 / Last Updated: 05-31-2009
mod1.7Mb150
Simple Tavern module demo of bar maid and bartender
npc_barmaid.erfnpc_barmaid.erf
Submitted: 05-30-2009 / Last Updated: 05-31-2009
erf22.57Kb184
erf file with properly separated scripts ready for import
Barmaid_Manual.pdfBarmaid_Manual.pdf
Submitted: 05-30-2009 / Last Updated: 06-02-2009
pdf123.18Kb284
Manual for bar maid and bartender covering getting started, setting up the bartender, setting up the bar maid, and advanced usage (re working the conversation).
SCORE OUT OF 10
9.44
6 votes
View Stats
Cast Your Vote!
Voting FAQ

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 (17):

Posted by Grandpa FB at 2009-07-08 22:16:45    
Yes there are other behaviors already published. If you search the vault for "Uncle FB NPC Control" you will find the control program these behaviors are pulled out of.

Cheers,
FB

Posted by Cladius at 2009-07-08 00:05:07    Voted 9.00 on 07/08/09
Good addition for some NPC flavour, much appreciated.

Any thoughts on expanding this to additional behaviours?

Posted by DeathComeForThee at 2009-06-21 18:30:48    Voted 10.00 on 06/21/09
Nevermind, i just checked out the tavern mod and realised i need patron npc's to take orders from *facepalm* Sorry I thought it was from PCs she takes the orders from. Works fine, great mod! lol
10/10 :)

Posted by DeathComeForThee at 2009-06-21 18:15:53    Voted 10.00 on 06/21/09
These are some great NPC mods, however im not getting any of them to work properly! lol This one and the Light Keeper.

I put the bartenders Tag in lines 12 and 18 replacing BARTENDER between the quotes, and the barmaids tag in line 17 replacing BARMAID between the quotes. However, she is not ignoring herself and keeps taking her own order just spouting off order after order standing in one spot. Im refraining from voting just yet as I am still new to the toolset and im sure the problem is somehow on my end, but i followed your instructions word for word...

Posted by Grandpa FB at 2009-06-09 22:56:52    
Thanks for the kind words and votes.

Keep your eyes open for Uncle FB's NPC_Blacksmith. Should be out in about 24 hours or so.

Cheers,

FB

Posted by JonnieR at 2009-06-09 20:37:13    Voted 9.75 on 06/09/09
We all thrive for the illusive immersion factor when designing a mod so that the player loses himself in the game. Many times its the small nuances of a mod that help create this immersion factor. This script brings an Inn alive and the players feels as if there is world going on around him as he progresses through the adventure. Thanks for the excellent script, it will add alot to my own efforts in bringing this story to life.

Posted by JonnieR at 2009-06-07 20:45:00    Voted 9.75 on 06/09/09
Sorry, my vote 9.9/ 10.

Posted by JonnieR at 2009-06-07 20:40:58    Voted 9.75 on 06/09/09
Thanks for getting back to me. I did that right after I wrote the note and everything compiled and works fine. This is terrific work you did, thanks again. I will be implementing your NPC system also. Great scripts.

Posted by Grandpa FB at 2009-06-07 16:58:03    
@puket
Glad to have been of some assistance with your maid.

@JonnieR
I would suggest downloading the erf file and using the scripts there as they are properly named already. You are correct the heartbeat for the bar maid should have the script "npc_barmaid", the heartbeat for the bartender should have the script "npc_bartender". The include file should be named "npc_bminc" and must be in your module (just needs to be in the script list). If the include file is not named this or in your script list in your module the bar maid will not be able to find the commands and will give you an error like you are describing. If you have any more trouble feel free to post or email.

Cheers,

FB

Posted by JonnieR at 2009-06-07 14:52:19    Voted 9.75 on 06/09/09
Great idea for a script BTW.

As I understand it there are three scripts an include script, a barmaid script and a bartender script. The barmaid and the bartender scripts go into the "on heartbeat" slots for the barmaid and bartender. The include and bartender scripts compiled fine. The barmaid script shows an error on line 28 "int nPatrons = GetCreatureCount (oNpc);" and will not compile and save. Any help would be appreciated. Thanks again for the scripts.

Posted by puket at 2009-06-03 06:20:12    Voted 9.00 on 06/03/09
We have a frenchmaid at home and I copy and pasted out some speakstrings from your script and gave her that to read and for training.Believe me, we have now a real pearl in our home.....:).
Thank you very much!
Cheers!

Posted by Grandpa FB at 2009-06-02 22:19:19    
@seraphimsage1

Ok manual complete...enjoy!

FB

Posted by seraphimsage1 at 2009-06-02 11:34:32    Voted 9.75 on 06/02/09
Excellent work, my only suggestion at this point is a more general guide for how to use these features, but besides that this is a compelling script that really animates the normally stagnant NWN2 areas.
_________________________
My Website:
Link

Upcoming Submissions:
Module: Nihil Trilogy

Past Submissions:
Module: Ravenloft Revelations
Area Prefab: Arcane Fellowship Tower
Area Prefab: Feathered Serpent Beach
Area Prefab: Elven Courtyard

Posted by MokahTGS at 2009-06-01 16:45:56    Voted 9.25 on 06/01/09
Very nicely done! Could I put in a request for a couple more general NPCs templates?

Here's a list:
1)Blacksmith - moves to forge, water tub, and anvil...not sure if there is a hammering animation though.
2) Farmer - moves around the farm field, plants seeds, uses a shovel, goes to a barn, or feeds animals.
_________________________
Mokah - The Grumpy Strumpet
|| Dear Strumpet Letters || Jabberwocky Development Blog || Vertex I - The State of the Union ||

Posted by Grandpa FB at 2009-05-31 12:55:47    
Just uploaded an erf with the scripts also if you just want to import and test them.

Posted by Grandpa FB at 2009-05-31 12:44:50    
@seraphimsage1
I forgot to click the "add file" button last night when I uploaded this (it was late). You can dl the tavern mod. The script is actually 3 separate scripts.
1 include file name this "npc_bminc" so the bar maid can find it.
1 bar maid script name this "npc_barmaid"
1 bartender script name this "npc_bartender"

Or you can just pull them out of the mod as they are properly separated in there.

cheers,

FB

Posted by seraphimsage1 at 2009-05-31 11:16:59    Voted 9.75 on 06/02/09
Compelling idea for bar ambivalence, do you perhaps have the module or erf of this for testing as the script by itself doesn't seem to compile in NWN2?
_________________________
My Website:
Link

Upcoming Submissions:
Module: Nihil Trilogy

Past Submissions:
Module: Ravenloft Revelations
Area Prefab: Arcane Fellowship Tower
Area Prefab: Feathered Serpent Beach
Area Prefab: Elven Courtyard

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

10 - A Masterpiece, Genuinely Groundbreaking
9 - Outstanding, a Must Have
8 - Excellent, Recommended to Anyone
7 - Very Good, Deserves a Look
6 - Good, Qualified Recommendation
5 - Fair, Solid yet Unremarkable
4 - Some Merit, Requires Improvements
3 - Poor Execution, Potential Unrealized
2 - Very Little Appeal
1 - Not Recommended to Anyone

 
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 Tools


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