This puttering script makes NPCs putter around any area, fiddling with barrels, reading at desks and book piles, drinking at kegs, warming in front of a fire, worshipping at altars, sitting in chairs, stools or couches, even picking up and putting away items you drop on the floor.
The good part is, you don't have to slather the area with crazily named waypoints to make it happen (but you can, if you want to).
Posted by Saduj at 2008-06-06 13:59:11 Voted 10.00 on 06/06/08
My NPC activities work in 3 hour increments: 12AM, 3AM, 6AM, 9AM, 12AM, 3PM, 6PM, 9PM, and 12PM, and provides optional support for Tseramed's NPC Putter Functionality :)
I really like this script--thanks so much for bringing it to the community. However, I am having a little trouble using it. I have NPCs wandering around, fiddling with the placeables, trying out chairs, talking to each other, etc., but I am having trouble with the 'wk_XX' waypoints and the tsWorkRadius/tsWorkAvoid waypoints. The NPCs go over to the 'wk_get_mid' and the 'wk_drink' waypoints, but they just stand there. My bartender also wanders away from his bar, disobeying the 'tsWorkRadius' waypoint that is named '10', which as I understand it should keep him in place... Anyway, this is a great script, and I like it, but what drew me to it in the first place was the potential I saw in the ts and wk waypoints.
One last thing--any thoughts on how to prevent a creature from using chairs? I have a CEP brownie wandering around, and when he sits in a chair he is buried in it up to his chest--which looks a little funny. Anyway, thanks for the script, you are in my credits list of my module. I hope you still check on this...
I really like this script--thanks so much for bringing it to the community. However, I am having a little trouble using it. I have NPCs wandering around, fiddling with the placeables, trying out chairs, talking to each other, etc., but I am having trouble with the 'wk_XX' waypoints and the tsWorkRadius/tsWorkAvoid waypoints. The NPCs go over to the 'wk_get_mid' and the 'wk_drink' waypoints, but they just stand there. My bartender also wanders away from his bar, disobeying the 'tsWorkRadius' waypoint that is named '10', which as I understand it should keep him in place... Anyway, this is a great script, and I like it, but what drew me to it in the first place was the potential I saw in the ts and wk waypoints.
One last thing--any thoughts on how to prevent a creature from using chairs? I have a CEP brownie wandering around, and when he sits in a chair he is buried in it up to his chest--which looks a little funny. Anyway, thanks for the script, you are in my credits list of my module. I hope you still check on this...
This is a compilation of the old system into a single score. There were 6 that made this score of 9.50 then rounded to 10.
Posted by Daniel ( ..xxx.xxx ) at 2003-07-29 00:17:00
Well, I followed the instructions of commenting out the "TELL" lines... I still get the text on their actions.
Perhaps someone would paste the correct script that omits the in-game text?
Daniel
Posted by Daniel ( ..xxx.xxx ) at 2003-07-28 23:57:00
Great Script-- thanx for the work!
Posted by JoeRCM ( ..xxx.xxx ) at 2003-04-13 14:47:00
I'm getting ts_putter.nss(86): ERROR: PARSING VARIABLE LIST when attempting to compile this script.
Anyone have any ideas?
Posted by Tseramed ( ..xxx.xxx ) at 2003-04-11 23:45:00
OK. If even one person sends me an email, I'll release the version that has:
1. 'busy' - set the busy flag and the NPC won't putter, until you clear the busy flag again.
2. 'stations' - put a waypoint in the kitchen called stKitchen, with the name '10' and the NPC will putter within 10' of the kitchen station. Set the NPC to a new station and they'll go putter there instead.
Just let me know...
Posted by Lost Dragon ( ..xxx.xxx ) at 2003-03-18 23:52:00
I reiterate that this script is the bee's knees.
Now where is that Endless City mod? :8)
Posted by insanity_curse ( ..xxx.xxx ) at 2003-03-07 13:10:00
This is a good script and watching the npc walking around
and doing different things looks really neat. What I been
trying to figure out is how to stop the npc sending
messages to the chat about the animation they are using or
what they are doing. This really gets in the way of player
chat and also would make the npc a target for players
getting tired of them sending messages. I have not used
the script hosting just in in a LAN network alone. But is
thier a way I can stop those messages from coming into the
chat windows. Thanks hoping you respond with a solution.
Posted by dzilla ( ..xxx.xxx ) at 2003-02-27 09:20:00
sorry i dont have the actual line numbers, i'm at work (:
but you'll see them in there just doa search for the first
word void and follow it the function that sets up the
telling then seach tell to have it take you to the lines
with the tell func in it (:
Posted by dzilla ( ..xxx.xxx ) at 2003-02-27 09:13:00
you can keep the original script intact just //comment//
out the line that says
*********************************************************
void tell( string s ) {
SendMessageToPC( GetFirstPC(), s );
}
*********************************************************
then just comment out the lines that look like this if you
miss one the compilers will tell you.
*********************************************************
tell( "Putting away "+GetName(item) );
*********************************************************
that's all you go to do, I never delete them from the
script cause they are helpful if you run in to a bug plus
its cool to see if your custom WP's and placeables are
working correctly.
Posted by Thorson ( ..xxx.xxx ) at 2003-02-26 12:22:00
Great script! Using it in MOD I'm woring on.
Prob: Cant get it to STOP sending movment information to PC.
I'm not the scripter in the house so help will be greatly
ap.
Thanks for your work.
Posted by Tseramed ( ..xxx.xxx ) at 2003-02-24 14:54:00
Ray:
You need to use NWN v1.28 to compile this script. There are
no errors in it. Additionally, if you are copying and
pasting from nwvault's scrollable window, be aware that
commented lines may wrap around to the next line, creating
syntax errors. Download the file instead to fix this.
Lost Dragon:
I feel that this script sets the NPC to a 'task' which is
puttering around their abode. I think that day and night
relate to an NPC's 'schedule' rather than their 'task', and
should be in different tiers of their AI. I am creating a
module called "Endless City" that will include a scheduler.
Look for it and you will get your wish.
Posted by ray ( ..xxx.xxx ) at 2003-02-23 20:46:00
when I compiled this it gave an error, parsing variable
list, is that a problem?
Posted by Lost Dragon ( ..xxx.xxx ) at 2003-02-23 20:17:00
This is pretty cool. I wish it had something built in for
night and day though.
Posted by Kemal ( ..xxx.xxx ) at 2003-02-23 19:01:00
Sounds like a great script, can't wait to get home and give
it a try.
You must be Logged In to post comments in this section.