BotSpawn

Moved

Total Downloads: 11,762 - First Release: Jul 31, 2017 - Last Update: Jul 27, 2018

5/5, 81 likes
  1. hey that has worked really well but now you are standing and not moving around, please help me have delita everything and no one happens,
    Stands still and does not go
    sorry for bad english
     
  2. dont understand it all im sorry im not used to english
    can you do it for me
    i have 3 kits bot1 bot2 bot3
    thanks in advance for help
     
  3. Hi,
    There's a number of reasons they might not move. They're all detailed (over and over) in this thread, and in the FAQ.
    If you're stuck do come back, but give the available material a read first.
    [DOUBLEPOST=1512341149][/DOUBLEPOST]
    You need to use the chat command "/botspawn add ****" to create a new custom profiles.

    If you want, say, five different kits in one area, you'll need five different custom profiles in that area.
     
  4. '/botspawn add customname' - Adds a custom profile at your location** u mean this will create a new list ?
    [DOUBLEPOST=1512341309][/DOUBLEPOST]oki i get it thanks
    [DOUBLEPOST=1512341370][/DOUBLEPOST]do i need to stand in the middle of the monuments?
     
  5. (00:29:24) | Unloaded plugin BotSpawn v1.3.0 by Steenamaroo

    (00:29:24) | Calling 'OnServerInitialized' on 'BotSpawn v1.3.0' took 727ms

    (00:29:24) | Loaded plugin BotSpawn v1.3.0 by Steenamaroo

    (00:29:27) | NullReferenceException: Object reference not set to an instance of an object

    (00:29:29) | NullReferenceException: Object reference not set to an instance of an object
    [DOUBLEPOST=1512343953][/DOUBLEPOST]i get this when i set a location on the ground for them to spawn
    they will spawn naked and unarmed...

    i did /botspawn add bot2 and bot3 at two diff location on the ground and put bot1 in the json instead of default

    what am i doing wrong?
    [DOUBLEPOST=1512344003][/DOUBLEPOST]i did put only a gun in the belt and some food in the invetory and clothes on me
    [DOUBLEPOST=1512344062][/DOUBLEPOST]when i did create the kit bot1 2 and 3 with mp5 pistol and shotgun pump
    [DOUBLEPOST=1512344110][/DOUBLEPOST]one of them have the hazmat as clothes
    [DOUBLEPOST=1512344552][/DOUBLEPOST]i could be simpler for us (newbies) to have default 1 default 2 or default 3 kit choice made by you
    such as full geared /middle geared/ low geard and we would choose to put the one we want
     
  6. Code:
    {
      "CustomProfiles": {
        "bot2": {
          "Activate": true,
          "Murderer": false,
          "Bots": 1,
          "BotHealth": 50,
          "Radius": 100,
          "Kit": "bot2",
          "BotName": "randomname",
          "Bot_Firing_Range": 20,
          "Bot_Accuracy": 4,
          "Bot_Damage": 0.4,
          "Spawn_Height": 100,
          "Respawn_Timer": 300,
          "Disable_Radio": false,
          "LocationX": 1187.87842,
          "LocationY": 27.1753674,
          "LocationZ": -1256.63684
        },
        "bot3": {
          "Activate": true,
          "Murderer": false,
          "Bots": 1,
          "BotHealth": 50,
          "Radius": 100,
          "Kit": "bot3",
          "BotName": "randomname",
          "Bot_Firing_Range": 20,
          "Bot_Accuracy": 4,
          "Bot_Damage": 0.4,
          "Spawn_Height": 100,
          "Respawn_Timer": 60,
          "Disable_Radio": false,
          "LocationX": 1244.10352,
          "LocationY": 27.1013775,
          "LocationZ": -1279.51306
        }
      }
    }
    what is wrong?
     
    Last edited by a moderator: Dec 7, 2017
  7. Sounds like your kit is empty.
     
  8. how empty? i dress in hazmat or poor clothes and one weapon in tool bar
    no vanish and no noclip
     
  9. did you go /kit items to save inventory?
    [DOUBLEPOST=1512473852][/DOUBLEPOST]hey guys how do i add more then 1 custom npc spawn location, i got one made then i go to save another spawn point but it doesnt come up int he data/config section how would i write the script to add another spawn point other then then first in custom npc spawns thanks! maybe a config file i can see to compare and know what to do
     
  10. Hi,
    The bots spawn at random positions within a set radius, around a chosen centrepoint. There are no spawn points per-bot.

    Just type /botspawn add NEWLOCATION
    then adjust the parameters the are created in the data file, and reload plugin.
     
  11. yes i do /kit add bot1 authlevel 2 hide TRUE npconly TRUE items to create my kit dressed like i said before just shitty clothe and a weapon in my belt no ammo
    [DOUBLEPOST=1512502411][/DOUBLEPOST]for me multiples location works it write it in the file
     
  12. hey man not sure if i just had your problem, but my npcs came out naked, so i redid the items in the inventory, /kit add turkeynecks - /kit authlevel 2 /kit items, then go in consol oxide.reload BotSpawn should give them stuff, worked for me first try! good luck
     
  13. You didn't answer his question. Did you do "/kit items" ?
    Without that, the kit is empty.

    Also, redeeming the kit personally is a good way to troubleshoot.

    I'll add an empty-check for next version.
     
  14. i thought if i do the entire quote like absolut said in the video it will work but thanks i will try with my line plus /kit items
     
  15. Oh, just noticed 'items' is in your single-line command. Sorry.
    Well, still....May as well do /kit items separately, or redeem it to confirm, just in case. :)

    As far as I know BotSpawn will tell you if the kit doesn't exist or if there's no weapon, but will simply error if the kit is empty.
     
  16. I have no trouble with kits for my bots, i create a "coloured" kit for each of the bot type, (i have them as different types of "security patrol") so i create the kit and as it is hidden the only other options i use are name, description and items , dont need a cool-down and i "skin" the articles for the colours i want and add the weapon (assault rifle) don't have to add ammo , then i check it by emptying my inventory and redeeming it, i just assign the kit "colour" name to the bot, So "Navy patrol" will be "blue" etc
     
    Last edited by a moderator: Dec 5, 2017
  17. I built a few villages to place bots there, but they teleport to the outside
     
  18. i did it thanks guys
    u need to d oit step by step
    /kit add bot1 enter
    /kit authlevel 2 enter
    etc etc and finish by /kit items
    absolut was not so clear as i remember in his video
     
  19. Thank you for updating us. Glad you got it working.

    Whatever plugin you're using must be checking for BasePlayer, which would cover real players and NPCS.
    It would need to add additional checks to rule out NPCPlayerApex.