Jump to content

Some bots never respawn

Pending 2.1.0

Deicide

Posted

I have some profiles that are not respawning properly but others that do.
I've checked both profiles and they seem ok. Just don't respawn until I reload the plugin.

The CityNPC works fine the CityBoss does not respawn. Any ideas?

    "CityNPCs": {
      "AutoSpawn": true,
      "Murderer": false,
      "Day_Time_Spawn_Amount": 14,
      "BotHealth": 100,
      "Corpse_Duration": 240,
      "Kit": [
        "Terrorist"
      ],
      "BotNamePrefix": "Terrorist",
      "BotNames": [
        "Hans Gruber",
        "Karl",
        "Tony",
        "Franco",
        "Theo",
        "Alexander",
        "Marco",
        "Kristoff",
        "Eddie",
        "Uli",
        "Heinrich",
        "Fritz",
        "James"
      ],
      "Bot_Accuracy_Percent": 40,
      "Bot_Damage_Percent": 40,
      "Disable_Radio": true,
      "Roam_Range": 15,
      "Peace_Keeper": false,
      "Attacks_Other_Profiles": false,
      "Peace_Keeper_Cool_Down": 5,
      "Weapon_Drop_Percent": 0,
      "Min_Weapon_Drop_Condition_Percent": 50,
      "Max_Weapon_Drop_Condition_Percent": 50,
      "Keep_Default_Loadout": false,
      "Wipe_Belt_Percent": 100,
      "Wipe_Clothing_Percent": 100,
      "Allow_Rust_Loot_Percent": 100,
      "Suicide_Timer": 2000,
      "Chute": false,
      "Aggro_Range": 30,
      "DeAggro_Range": 40,
      "Announce_Spawn": false,
      "Announcement_Text": "",
      "Running_Speed_Boost": 0.0,
      "Spawn_Hackable_Death_Crate_Percent": 0,
      "Death_Crate_CustomLoot_Profile": "",
      "Death_Crate_LockDuration": 600,
      "AlwaysUseLights": false,
      "Die_Instantly_From_Headshot": false,
      "Instant_Death_From_Headshot_Allowed_Weapons": [],
      "Stationary": false,
      "Radius": 20,
      "Night_Time_Spawn_Amount": 0,
      "UseCustomSpawns": true,
      "ChangeCustomSpawnOnDeath": false,
      "Respawn_Timer": 420,
      "Location": {
        "x": 1379.2124,
        "y": 71.31011,
        "z": 405.11438
      },
      "Parent_Monument": ""
    },
    "CityBoss": {
      "AutoSpawn": true,
      "Murderer": false,
      "Day_Time_Spawn_Amount": 1,
      "BotHealth": 1000,
      "Corpse_Duration": 240,
      "Kit": [
        "mcclane"
      ],
      "BotNamePrefix": "",
      "BotNames": [
        "John McClane"
      ],
      "Bot_Accuracy_Percent": 50,
      "Bot_Damage_Percent": 80,
      "Disable_Radio": true,
      "Roam_Range": 15,
      "Peace_Keeper": false,
      "Attacks_Other_Profiles": false,
      "Peace_Keeper_Cool_Down": 5,
      "Weapon_Drop_Percent": 100,
      "Min_Weapon_Drop_Condition_Percent": 50,
      "Max_Weapon_Drop_Condition_Percent": 100,
      "Keep_Default_Loadout": false,
      "Wipe_Belt_Percent": 50,
      "Wipe_Clothing_Percent": 100,
      "Allow_Rust_Loot_Percent": 100,
      "Suicide_Timer": 2000,
      "Chute": false,
      "Aggro_Range": 20,
      "DeAggro_Range": 40,
      "Announce_Spawn": true,
      "Announcement_Text": "John McClane is hiding in a Skyscraper...",
      "Running_Speed_Boost": 0.0,
      "Spawn_Hackable_Death_Crate_Percent": 0,
      "Death_Crate_CustomLoot_Profile": "",
      "Death_Crate_LockDuration": 600,
      "AlwaysUseLights": false,
      "Die_Instantly_From_Headshot": false,
      "Instant_Death_From_Headshot_Allowed_Weapons": [],
      "Stationary": false,
      "Radius": 100,
      "Night_Time_Spawn_Amount": 0,
      "UseCustomSpawns": true,
      "ChangeCustomSpawnOnDeath": false,
      "Respawn_Timer": 2400,
      "Location": {
        "x": 1338.63538,
        "y": 172.657227,
        "z": 544.6489
      },
      "Parent_Monument": ""
    },

 

  • Administrator
Steenamaroo

Posted (edited)

Hi,

I notice that Night_Time_Spawn_Amount is  0. Could that be it?

 

If not, I'd reduce the respawn timer for testing and kill the npc then watch console (server window or rcon...not f1), around the time he should be respawning, to see if there are any warnings or errors.

Edited by Steenamaroo
Deicide

Posted

Cool thanks for the tips. I will try this tonight and provide feedback here. Thanks man!

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.7k
Customers served
Files Sold
155.1k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.