Update 3.2 | NPCBots!

Discussion in 'Updates' started by Patrikk, Jun 4, 2015.

  1. Patrikk

    Patrikk Server Owner Server Owner

    700
    415
    128
    Sep 1, 2013
    Male
    Aurora
    [​IMG]

    Update 3.2 | NPCBots!
    Greetings Aurorians!

    Probably most of you have already heard, but I thought it would be better to make an update thread about our new feature NPCBots!

    NPCBots is a server modification - powered by TShock - which allows users to own and fully customize a Terraria NPC!

    This works by creating a "fake" Terraria player, which then gets spawned into the world. From there, we can customize every detail that a regular player (or NPC) would have, including chat messages, inventory, armor, and vanity!

    ~How can I get one?~

    There are 5 permission packs for the NPCBots:


    Demo Pack:
    - [Donator 2]
    - Own 1 NPC
    - Set custom messages
    - Set NPC's armor gear

    Basic Pack:
    - [Trusted User]
    - [Builder][1]
    - [Donator 3]
    - [Operator]
    - Own 2 NPCs
    - Set NPC's any attribute
    - Use /npc dress to easily customize NPC's gear

    Advanced Pack:
    - [Builder][2]
    - [Donator 4]
    - [Retired]
    - [VIP]
    - Own 3 NPCs
    - Use /npc clone command to completely copy your player onto the NPC
    - Use /npc talk , to make the NPC talk globally to the server

    Pro Pack:
    - [Builder][3]
    - [Donator 5]
    - [Moderator] +NPC mod commands
    - Own 5 NPCs
    - Use the /npc dress command to copy ANY player's gear
    - Use the /npc clone command to copy ANY player's character

    Pro Pack+:
    - [Donator 69]
    - [Administrator] + NPC admin commands
    - Own infinite amount of NPCs
    - *Upcoming Features*

    ~How to use one?~


    If you are in one of the listed groups which has permission to own an NPC, here is how you make them come alive! :p

    To get started, first you need to create a new NPC.

    Code:
     /npc new Bob 
    Once the creation was successful, you can spawn your NPC into the world!

    Code:
     /npc spawn Bob 
    [​IMG]

    As you see your newly born NPC comes with a default preset look, the basic greet message, and AI turned on.

    He looks a bit boring, don't you think?
    Lets try to customize it!
    There are several ways to do it (if you have the right permissions, check above to find out!).

    ~Customization~

    1:
    Code:
     /npc set Bob armor head "Copper Helmet"
    Boom! This would place a shiny Copper Helmet on our Bob.

    2:
    Code:
     /npc dress Bob Patrikk 
    This would grab our armor and vanity, and place it onto Bob.

    3:
    Code:
     /npc clone Bob Patrikk 
    This would completely copy our Player, and turn Bob into our "Mini-me"! *puts finger to mouth*

    [​IMG]

    ~Messages~

    Each NPC automatically comes with some pre-set messages that will be displayed when you get close to the NPC.
    An NPC has two kinds of messages, custom messages - which can be set by it's owner - and AI messages which are stored in the database and managed by staff.
    There are a variety of different types of AI messages, and they can be triggered based on different situations. For example, NPCs know how to react to the weather, they might comment on your equipment, buffs, items, or possibly your vanity, and they might even tell you something you didn't know about your nearby friend!

    [​IMG]

    You can easily add your own custom message with the following command:

    Code:
    /npc message <add/delete/list> <npc name> <message> 
    [​IMG]

    If you just want your NPC to say something specific, you can tell it to immediately chat:

    Code:
    /npc talk <npc name> <message>
    [​IMG]

    ~Other commands~


    To teleport to an NPC, you can use:
    Code:
    /npc tp <npc name>
    To list all available NPCs, or all living NPCs, you can use:
    Code:
    /npc list <all/alive>
    And don't forget the most basic command, help:
    Code:
    /npc help [command]
     
    • Like Like x 9
    • Winner Winner x 1
  2. Ugly2222

    Ugly2222 Skeletal Hunter Retired Welcomy Council Person

    2,792
    325
    123
    May 24, 2014
    Male
    Hunting beasts.
    Chasm of The Abyss.
    Terraria Character Name:
    Ugly2222
    This is the best thing ever. Period.
    [​IMG]
     
    • Like Like x 1
  3. MO

    MO Nolife Server Technician Trusted User

    375
    273
    63
    Feb 24, 2015
    Male
    Freeloader
    Frankfurt, Germany
    Terraria Character Name:
    MO
    Minecraft Character Name:
    MO
    Are the [Beta Tester]'s included in the above groups somewhere. If so, where? BESIDES THAT, You guys deserve a cookie!!
     
  4. Danzie

    Danzie Retard Polaris Retired

    201
    112
    108
    Sep 1, 2013
    Male
    I was an Alpha Tester
    [​IMG]
     
  5. Akuma

    Akuma That one smug nerd Australis Trusted User Lin Kuei Je'daii Retired

    260
    150
    63
    Oct 2, 2013
    Female
    Art
    Somewhere
    Terraria Character Name:
    Akuma
    Minecraft Character Name:
    Valkieyria
    This is awesome :o (Donator 69 in pro pack+) Oh hell yeah~
     
    • Like Like x 1
  6. Melkor

    Melkor Serial Adopter Manager Australis

    1,942
    638
    168
    Jul 5, 2014
    sky city
    Terraria Character Name:
    Melkor
    Oooh, I get the advanced pack. Can't wait to play with this. Nice job, Patrik,



    EDIT:
    Realised I can't create any NPC's. As you'd know, I've got the Retired rank, so I should have access to advanced NPCbot commands. I had Ugly create a region for me. It didn't help. I can't create a new NPC. It tells me, "You do not have permission to create ANY NPCs".
     
    Last edited: Jun 4, 2015
  7. Patrikk

    Patrikk Server Owner Server Owner

    700
    415
    128
    Sep 1, 2013
    Male
    Aurora
    uh oh, will have to check that out.

    ** Edit
    Try now? If you could test all the listed available commands for you, and see if you have proper access that would be cewl. @N
     
  8. Melkor

    Melkor Serial Adopter Manager Australis

    1,942
    638
    168
    Jul 5, 2014
    sky city
    Terraria Character Name:
    Melkor
    Sure thing. Will update.

    EDIT:

    All commands seem to be working. Cheers.
     
    Last edited: Jun 4, 2015
  9. Dubstep4Dayz

    Dubstep4Dayz Baby Auroran

    48
    17
    8
    Apr 23, 2015
    The Dream
    Cool Beans
    Beans ( ͡° ͜ʖ ͡°)
     
  10. Patrikk

    Patrikk Server Owner Server Owner

    700
    415
    128
    Sep 1, 2013
    Male
    Aurora
    Yooo, I would like some contribution to the plugin. If anyone notices any bugs, or has any feature ideas let me know!
    Also, the community can add to the AI database. Just make a comment here with the Category, and a sentence, (and if it aint plain sajt :) ) it will be added.
    Current AI categories are:
    - Playtime -reactions on a players playtime.
    - Weather - reactions on current weather (this will be nicer when 1.3 comes)
    - Time - Reactions on current world time
    - Philosophy - Random philosophical stuff
    - Kills - Reactions on a players pvp kill count
    - Deaths - reactions on a players pvp death count
    - Armor - ... on player's gear
    - Item - on player's item in hand
    -Pets - .. on player's pet
    -Mounts - duh
    - Invisibility - if player is invis
    - Gossips - duh
    - Insults - duh
    - Jokes - duh
    -Romance - dunno, romantic sentence styles? *shrug
    - Generality - general stuff

    Might make a seperate thread for it , if we get loads of comments. (try rather editing your comment if possible, when adding more sentences)
     
  11. MO

    MO Nolife Server Technician Trusted User

    375
    273
    63
    Feb 24, 2015
    Male
    Freeloader
    Frankfurt, Germany
    Terraria Character Name:
    MO
    Minecraft Character Name:
    MO
    Invisibilit: they don't see you, but I do >;}
    Time: Time to get yourself a watch.
    Armour: (if user wears full beetle set) OP Much
    Playtime: You currently have (%) of Discords play time, well done
    Insults: Yo mamma jokes?
    Generality: Have the Bots say random /quotes?
     
    • Like Like x 1
  12. Neodymium

    Neodymium That one asshole Borealis

    645
    494
    123
    Nov 19, 2014
    School. College. Etc.
    Idk, Colorado?
    Hmmm..... Wouldn't a certain amount of NPCs in the world cause lag of some sort? (I do know the server handled 200+ NPCs before the server update fairly well-ish but I don't know what custom NPCs would do.) Sounds cool to me; I just wonder what type of random comments Discord's NPC spurts out..... *facepalms*
     
    • Funny Funny x 1
  13. Patrikk

    Patrikk Server Owner Server Owner

    700
    415
    128
    Sep 1, 2013
    Male
    Aurora
    Naah shouldn't cause lag. (unless there is some error in code)
     
  14. Melkor

    Melkor Serial Adopter Manager Australis

    1,942
    638
    168
    Jul 5, 2014
    sky city
    Terraria Character Name:
    Melkor
    Yea. Because they're seen as players. Herpa derp. Fun + player count.
     
  15. Patrikk

    Patrikk Server Owner Server Owner

    700
    415
    128
    Sep 1, 2013
    Male
    Aurora
    Yee :p they don't show up in the count tho. Altho they do take place in the terraria 255 player cap.

    gogogo plz AI messages like Otto's
     
  16. MO

    MO Nolife Server Technician Trusted User

    375
    273
    63
    Feb 24, 2015
    Male
    Freeloader
    Frankfurt, Germany
    Terraria Character Name:
    MO
    Minecraft Character Name:
    MO
    Can there not be a NPC suggestion thread. As I see this increasing as them Bots become more developed. (I am sure they will develope *cough*movement*cough*)
     
  17. Dekapon

    Dekapon Senior Auroran Retired

    70
    44
    28
    Oct 21, 2014
    Male
    Time Traveller, Exile of Time
    Dubai
    Bugs; I can't spawn an NPC

    Or Rather Create a new One although I have obly 1
     
    Last edited by a moderator: Jun 10, 2015
    • Like Like x 1
  18. Pyro240

    Pyro240 Watermelon Lover

    249
    265
    63
    Aug 14, 2014
    Nanobot Lattice
    Dawnlight Ringworld
    Terraria Character Name:
    Pyro240
    Minecraft Character Name:
    Pyro240
    Basic Pack is a lotta fun to screw around with. Just, not all the commands are listed with /NPC help 1/2

    FIXITFIXITFIXIT
     
  19. jj200275

    jj200275 Auroran

    120
    11
    18
    Sep 11, 2014
    Male
    South Korea
    Terraria Character Name:
    Ashen
    Minecraft Character Name:
    Ashen75
    Is there a way to change the hairstyle of the npcs?
     
  20. Clay

    Clay Ice Demon shhh Polaris

    2,174
    1,192
    193
    Oct 11, 2013
    Male
    Terraria Character Name:
    Clay
    This is a bug for groups that can only create a limited number of NPCs, in that you can't create new ones. Patrikk is (hopefully) working on it.

    http://aurora-terraria.org/forum/wiki/npc-command/

    /npc set <npc name> hairstyle <style #>
     
    • Like Like x 1

Share This Page