Jump to content

BUG: Grenades are broken

Pending 1.3.6

lystor
lystor

Posted

Hi

Bots have grenades equipped but they don't throw any grenades.

    "Abandoned Supermarket 2": {
      "type": 0,
      "Spawn": {
        "AutoSpawn": true,
        "Radius": 100,
        "BotNames": [],
        "BotNamePrefix": "",
        "Keep_Default_Loadout": false,
        "Kit": [
          "grenades"
        ],
        "Day_Time_Spawn_Amount": 5,
        "Night_Time_Spawn_Amount": 5,
        "Announce_Spawn": false,
        "Announcement_Text": "",
        "BotHealth": 100,
        "Bot_Take_Damage_Percent": 100,
        "Stationary": false,
        "UseCustomSpawns": false,
        "Change_SpawnPoint_On_Death": false,
        "Scale_NPC_Count_To_Player_Count": false,
        "Give_Scarecrow_Loadout": false,
        "FrankenStein_Head": 0,
        "FrankenStein_Torso": 0,
        "FrankenStein_Legs": 0
      },
      "Behaviour": {
        "Roam_Range": 40,
        "Aggro_Range": 30,
        "DeAggro_Range": 40,
        "Peace_Keeper": true,
        "Bot_Accuracy_Percent": 100,
        "Bot_Damage_Percent": 50,
        "Running_Speed_Booster": 10,
        "Roam_Pause_Length": 0,
        "AlwaysUseLights": false,
        "Ignore_All_Players": false,
        "Ignore_Sleepers": true,
        "Ignore_Wounded": true,
        "Target_Noobs": false,
        "NPCs_Attack_Animals": false,
        "NPCs_Defend_Against_Drones": false,
        "Friendly_Fire_Safe": false,
        "Melee_DamageScale": 1.0,
        "RangeWeapon_DamageScale": 1.0,
        "Rocket_DamageScale": 1.0,
        "Assist_Sense_Range": 30,
        "Victim_Bleed_Amount_Per_Hit": 1,
        "Victim_Bleed_Amount_Max": 100,
        "Bleed_Amount_Is_Percent_Of_Damage": false,
        "Target_ZombieHorde": 0,
        "Target_HumanNPC": 0,
        "Target_Other_Npcs": 0,
        "Respect_Safe_Zones": true,
        "Faction": 0,
        "SubFaction": 0,
        "Dont_Fire_Beyond_Distance": 0
      },
      "Death": {
        "Spawn_Hackable_Death_Crate_Percent": 0,
        "Death_Crate_CustomLoot_Profile": "",
        "Death_Crate_LockDuration": 10,
        "Lock_Death_Crate_To_Killer_Player": false,
        "Corpse_Duration": 1,
        "Corpse_Has_Skull": true,
        "Weapon_Drop_Percent": 0,
        "Min_Weapon_Drop_Condition_Percent": 50,
        "Max_Weapon_Drop_Condition_Percent": 100,
        "Wipe_Main_Percent": 0,
        "Wipe_Belt_Percent": 100,
        "Wipe_Clothing_Percent": 100,
        "Allow_Rust_Loot_Percent": 100,
        "Rust_Loot_Source": "Default NPC",
        "Remove_Vanilla_Scrap": true,
        "AlphaLoot_Profile": "",
        "Respawn_Timer": 1,
        "RustRewardsValue": 0.0,
        "XPerienceValue": 0.0
      },
      "Other": {
        "Chute": false,
        "Invincible_Whilst_Chuting": false,
        "SamSite_Safe_Whilst_Chuting": true,
        "Backpack_Duration": 10,
        "Suicide_Timer": 5,
        "Die_Instantly_From_Headshot": false,
        "Require_Two_Headshots": false,
        "Fire_Safe": true,
        "Grenade_Precision_Percent": 50,
        "Instant_Death_From_Headshot_Allowed_Weapons": [],
        "Disable_Radio": true,
        "Marker_Enabled": false,
        "Marker_Visible_When_NPCs_Are_Dead": true,
        "Marker_Main_Colour": "#ffffff",
        "Marker_Outer_Colour": "#000000",
        "Marker_Opacity_Percent": 50,
        "Marker_Radius_Percent": 20,
        "MurdererSound": false,
        "Immune_From_Damage_Beyond": 400,
        "Short_Roam_Vision": false,
        "Off_Terrain": false,
        "Block_Event_LockedCrate_Spawn": false,
        "Block_Event_LockedCrate_HackStart": false,
        "Block_Event_APC_Kill": false,
        "Block_Event_PatrolHeli_Kill": false,
        "Block_Event_CH47_Kill": false,
        "Block_Event_Here_Radius": 100,
        "Ai_Weapon_Safe": false
      }
    },

 

kits_data.json

"grenades": {
      "Name": "grenades",
      "Description": "",
      "RequiredPermission": "",
      "MaximumUses": 0,
      "RequiredAuth": 0,
      "Cooldown": 0,
      "Cost": 0,
      "IsHidden": false,
      "CopyPasteFile": "",
      "KitImage": "",
      "MainItems": [],
      "WearItems": [],
      "BeltItems": [
        {
          "Shortname": "grenade.beancan",
          "DisplayName": null,
          "Skin": 0,
          "Amount": 1,
          "Condition": 0.0,
          "MaxCondition": 0.0,
          "Ammo": 0,
          "Ammotype": null,
          "Position": 0,
          "Frequency": -1,
          "BlueprintShortname": null,
          "Text": null,
          "Contents": null,
          "Container": null
        },
        {
          "Shortname": "grenade.f1",
          "DisplayName": null,
          "Skin": 0,
          "Amount": 1,
          "Condition": 0.0,
          "MaxCondition": 0.0,
          "Ammo": 0,
          "Ammotype": null,
          "Position": 1,
          "Frequency": -1,
          "BlueprintShortname": null,
          "Text": null,
          "Contents": null,
          "Container": null
        },
        {
          "Shortname": "grenade.flashbang",
          "DisplayName": null,
          "Skin": 0,
          "Amount": 1,
          "Condition": 0.0,
          "MaxCondition": 0.0,
          "Ammo": 0,
          "Ammotype": null,
          "Position": 2,
          "Frequency": -1,
          "BlueprintShortname": null,
          "Text": null,
          "Contents": null,
          "Container": null
        },
        {
          "Shortname": "grenade.smoke",
          "DisplayName": null,
          "Skin": 0,
          "Amount": 1,
          "Condition": 0.0,
          "MaxCondition": 0.0,
          "Ammo": 0,
          "Ammotype": null,
          "Position": 3,
          "Frequency": -1,
          "BlueprintShortname": null,
          "Text": null,
          "Contents": null,
          "Container": null
        }
      ]
    }

Please fix this bug

Thank you

  • Administrator
Steenamaroo

Posted

Hi,
There's no bug. Grenade throwing is working just fine.
I tested with the new bee grenades yesterday.

You'll need to make sure the kit has a proper weapon in it for the npc to use.
With your current kit console should be complaining
    A bot at Profilename has no weapon. Check your kit Kitname for a valid bullet or melee weapon.


Once you know the npc has the kit with grenades and a proper weapon, you'll need to temporarily break line of sight to the npc for it to throw a grenade.

  • Like 1
lystor

Posted

12 minutes ago, Steenamaroo said:

You'll need to make sure the kit has a proper weapon in it for the npc to use.

Yes. You are right.

I have added a knife to kit and that fixed the problem.

Sorry for the noise.

Thank you

  • Administrator
Steenamaroo

Posted

No trouble.
Thanks for letting me know. 

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.5k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • 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.