HumanNPC

Adds interactive Human NPCs which can be modded by other plugins

Total Downloads: 24,392 - First Release: Mar 25, 2015 - Last Update: Apr 19, 2018

4.93233/5, 133 likes
  1. Reneb submitted a new resource:

    Human NPC - Core - Add Interactive Human NPC Ingame, can be modded by other plugins

    Read more about this resource...
     
  2. Woooot ! what a plug !
     
  3. lol awesome!
     
  4. Omg!awesome!
     
  5. My "Garde" had always name NPC on top of his head, all is works but not that.

    And how did you done attack stance of your pet master?
     

    Attached Files:

    • NPC.jpg
      NPC.jpg
      File size:
      492.9 KB
      Views:
      361
  6. Oh Forgot to say that to see the NPC name updated you need to reconnect or téléport away and back. Little "bug" that i wasnt able to fix yet
    [DOUBLEPOST=1427270111][/DOUBLEPOST]Can't edit position stance at the moment. Maybe it's because i used à stone speak ^^?
     
  7. Ok, and can we name soldiers (exemple) with same name or we are must to do that ? : Soldier1, Soldier2... etc

    Your plugin should be perfect if npc do autodefense against animals or players, if they are "hurted" lot of times and if npc can says not only one message.

    Like that : /npc use "mesage-1-blablabla" "mesage-2-blablabla" "mesage-3-blablabla"

    EDIT : Found a little bug, NPC lost stuff sometimes.
     
    Last edited by a moderator: Mar 25, 2015
  8. Umm stupid Question how do you get rid of him if you stuff it up


    Ooohh i also noticed that when i set him some waypoints he ran to them ... but i got lazy and flew to the next one and so did he ....


    He literally follows your path


    Sorry but im also having issues putting clothes on him i get this error
    (22:04:08) | [Oxide] 7:04 AM [Error] Failed to call hook 'cmdChatNPC' on plugin 'HumanNPC' (NullReferenceException: )

    when i type in this npc request

    this is me trying to give him clothes

    /npc kit reset/"NPC"
     
    Last edited by a moderator: Mar 25, 2015
  9. I build a labyrinth,and put in an NPC, players kan kill him to get kit.
    This is I can thought of the simple idea now.
    I very hope have many other plugins can interact with this plugin, that will be much interesting.;)
     
  10. player doesnt follow paths or grounds, it follows the waypoints in straight lines that you've set.
    it's
    /npc kit reset => to reset the kit and make him naked
    /npc kit "kitname" => to set a kit
    [DOUBLEPOST=1427287012][/DOUBLEPOST]
    the auto defense ... it took gary and his crew a bit of time to make the AI system, alone and with NO knowledge i can't do that ...
    only way would be to add the AI system to the NPC, but at it has been a fail

    as for messages i noted, this can be done ;)
     
  11. Hey ! really nice plugin !!
    Just one question, any way to make him stop moving when a player talk to him ?
     
  12. on the list ;)
     
  13. Can we make them attack if provoked?
     
  14. ok ^^ but get some trouble...after make him spawn, when i want to name him, it say me "no permission"


    Edit: ok, fiw that by cleaning the json file in data folder
     
    Last edited by a moderator: Mar 25, 2015
  15.  
  16. Reneb updated Human NPC - Core with a new update entry:

    OPTIONAL update, WARNING DATA WIPED

    Read the rest of this update entry...
     
  17. If I download my datafile before updating, is posible to paste old data into the new data file... I expect a few format changes obviously...
     
  18. yes it should be.
    You should edit where all the messages are stored.
    If you want messages you need to replace the format:
    Code:
    "Hi, welcome blabla"
    to
    Code:
    ["Hi, welcome blabla"]
    or you can just put everything to:
    Code:
    null
    exemple here:
    Code:
    {
      "WayPoints": [],
      "HumanNPCs": [
        {
          "userid": "1815134430",
          "displayName": "NPC",
          "invulnerability": "true",
          "health": "50",
          "respawn": "true",
          "respawnSeconds": "60",
          "spawnInfo": {
            "x": "117.4116",
            "y": "32.85654",
            "z": "-444.1487",
            "rx": "-0.06393054",
            "ry": "0.8231207",
            "rz": "-0.09459894",
            "rw": "-0.55627"
          },
          "waypoint": null,
          "collisionRadius": "10",
          "spawnkit": "sniper",
          "message_hello": [
            "Hey",
            "Hi",
            "Yo"
          ],
          "message_bye": null,
          "message_use": [
            "Hey",
            "Hi",
            "Ho"
          ],
          "message_hurt": null,
          "message_kill": null
        }
      ]
    }
     
  19. Worked perfect.... love this plugin as we just started a second server running the hunt RPG... so this fits perfect.