Action NPC on Ohn Freebies World

Creating scripts
Ohn Lang
Posts: 142
Joined: Sun Dec 23, 2012 5:11 pm
Has thanked: 38 times
Been thanked: 67 times

Action NPC on Ohn Freebies World

Post by Ohn Lang »

I popped an action NPC package out on the ohn freebies world, SW area out behind the elevator demonstration (really tall building). The NPC and behaviors configured in that package are demonstrated in world (animations are freebies, and just to demonstrate how to animate). The NPC is named Moving Man, configurable walking, talking, animating, sitting, standing, pausing. The NPC controller can also be configured to rez objects throughout the region which can then be used for NPC to sit on as configured in the action card. Out of the box, the NPC controller contains unscripted 3 objects which are rezzed and positioned when the owner first touches the controller to create the NPC. There after, the NPC cycles through configured actions and is re-rezzed upon region restart.

Everything in this package is copy/mod/transfer. I put quite a bit of information in the information notecard. To try the NPC out of the box, be sure to read the notes about minimum requirements in the instructions (basically, make sure the same area used by the NPC in ohn freebies is clear in your region). If you have any problems with permissions or taking a copy of the package, IM me and let me know. Oh, and remember, nearly all fun NPC commands are restricted to world owner, so the controller needs to be owned by the world owner to fully function. This object works in Kitely OpenSim configurations. I’ve not tested it in other grids.

Enjoy!
These users thanked the author Ohn Lang for the post (total 6):
Constance Peregrineharriet inglewoodAdagio GreenwoodMarstol NitelyPhoneix DreamscapeOzwell Wayfarer
User avatar
Adagio Greenwood
Posts: 128
Joined: Wed Jan 16, 2013 7:57 pm
Has thanked: 165 times
Been thanked: 102 times

Re: Action NPC on Ohn Freebies World

Post by Adagio Greenwood »

Oooooooooooo, that is so cool!!! I am thinking............. Pool Boy!!!
These users thanked the author Adagio Greenwood for the post (total 3):
Constance PeregrineMarstol NitelySerenity Sinclaire
User avatar
Marstol Nitely
Posts: 480
Joined: Mon Dec 24, 2012 1:42 am
Has thanked: 1019 times
Been thanked: 432 times

Re: Action NPC on Ohn Freebies World

Post by Marstol Nitely »

LOL - Adagio :lol:

Ohn - Just picked up both NPCs. I haven't had a chance to play with the action NPC, but he looks awesome and I love the greeter NPC! Thank you!!!! :D
These users thanked the author Marstol Nitely for the post:
Constance Peregrine
User avatar
Adagio Greenwood
Posts: 128
Joined: Wed Jan 16, 2013 7:57 pm
Has thanked: 165 times
Been thanked: 102 times

Re: Action NPC on Ohn Freebies World

Post by Adagio Greenwood »

I grabbed both too, Marstol, though it may be a bit before I have time to play with them. Thank you SOOOOO much, Ohn!!!

I felt like such a dunce when I landed at Ohn's Freebie World, I was looking around to see who the other two people on the region were when the penny dropped! :lol: I had not realized that they showed as avatars, just had not thought about it.............

Adagio
These users thanked the author Adagio Greenwood for the post (total 2):
Constance PeregrineMarstol Nitely
Ohn Lang
Posts: 142
Joined: Sun Dec 23, 2012 5:11 pm
Has thanked: 38 times
Been thanked: 67 times

Re: Action NPC on Ohn Freebies World

Post by Ohn Lang »

I hope you enjoy them! I think once people start playing around with the action NPC script, and get familiar with the other things an NPC can do, we should see lots of souper douper fun things come out! Some visitors picking it up have already hinted at the advanced things they plan to create, and maybe even sell, based on the script. How exciting!
These users thanked the author Ohn Lang for the post (total 3):
Marstol NitelyConstance PeregrineBladyblue Bommerang
User avatar
Ozwell Wayfarer
Posts: 570
Joined: Thu Jan 10, 2013 10:32 am
Has thanked: 832 times
Been thanked: 955 times

Re: Action NPC on Ohn Freebies World

Post by Ozwell Wayfarer »

These look awesome Ohn, thank you! I always wanted a few NPCs in my RP sims as quest givers, lore-tellers, tavern and shop owners and such. I shall be having a tinker with these for sure!
These users thanked the author Ozwell Wayfarer for the post:
Ohn Lang
User avatar
Adagio Greenwood
Posts: 128
Joined: Wed Jan 16, 2013 7:57 pm
Has thanked: 165 times
Been thanked: 102 times

Re: Action NPC on Ohn Freebies World

Post by Adagio Greenwood »

Note to self: do NOT build your NPCs on a sky sandbox! LOL, I had NPCs falling through the air til I figured out what was happening. So then I had to go find them on the ground; fortunately the map helped. TOO funny........... So now I know! :lol:

Adagio
These users thanked the author Adagio Greenwood for the post (total 2):
Bladyblue BommerangOhn Lang
Ohn Lang
Posts: 142
Joined: Sun Dec 23, 2012 5:11 pm
Has thanked: 38 times
Been thanked: 67 times

Re: Action NPC on Ohn Freebies World

Post by Ohn Lang »

Ozwell I can't wait to see what exciting things you come up with. Please let us know when you have some out that we can look at :D

LOL Adagio, I had the same problem too. For me, since I was only working with one set, I used that sledgehammer style tool included in the package to delete all NPCs, then just click the prim to recreate :)

Especially when in the development/testing phase, I find that I would often modify and reset the script only to realize that I'd forgotten to delete the existing NPC first! Once the script is reset, it doesn't have the NPC key in memory :D One way around that would be to modify the script to track all NPCs created using a notecard, and maybe making a button with a dialog and options to delete 1 or more specified NPCs.
These users thanked the author Ohn Lang for the post:
Adagio Greenwood
Phoneix Dreamscape
Posts: 13
Joined: Mon Jan 28, 2013 11:07 am
Has thanked: 8 times
Been thanked: 25 times

Re: Action NPC on Ohn Freebies World

Post by Phoneix Dreamscape »

Ohn Lang wrote:One way around that would be to modify the script to track all NPCs...
I have a little gadget that does that, I call it the NPC Multi Tool. It can detect and delete any and all NPCs in the region. You can poof individual NPCs or all of them in the entire region with just a click - VERY handy for those pesky beta NPCs that runaway unexpectedly :)

The NPC Multi Tool is an appearance notecard maker/giver, NPC scanner and remover all in one. The scanner shows how many NPC's are in the region, their name and distance in meters for each NPC it detects. It's easy to use; menu driven, no chat commands to remember. The tool is sim friendly too, it doesn't use a sensor.

This is an early version of a NPC Multi Tool that I plan to sell on the Marketplace when it opens. Until then, I would like to offer it for free to anyone that wants one. I would be honored if I could make it available on Ohn Freebies World. It was there that I picked up the FREE NPC package that introduced me to NPCs and I've been having a blast with them ever since :)
These users thanked the author Phoneix Dreamscape for the post (total 3):
Adagio GreenwoodConstance PeregrineOhn Lang
User avatar
Adagio Greenwood
Posts: 128
Joined: Wed Jan 16, 2013 7:57 pm
Has thanked: 165 times
Been thanked: 102 times

Re: Action NPC on Ohn Freebies World

Post by Adagio Greenwood »

How lovely, Phoneix, thank you! I don't mind being a guinea pig, lol. :D

Adagio
These users thanked the author Adagio Greenwood for the post (total 2):
Constance PeregrinePhoneix Dreamscape
Post Reply