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
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).
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...
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.
@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 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
@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
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