Jump to content

NPC cannot switch weapons, such as rocket launchers

Closed 2.1.1

laodu

 "Detect the target only in the NPC's viewing vision cone? [true/false]": false,

Another issue is that if you jump from the air, the NPC will not discover the player.

MG8YEESHJX3WOU%82PDDFPQ.png

Share this comment


Link to comment

Hi. Rocket launchers at the NPC is a weapon for raiding buildings, since this event takes place in the air, there are no buildings nearby and he will not take a rocket launcher in his hands. If you want them to shoot at players on a minicopter, then use a grenade launcher for this

Share this comment


Link to comment

"NPCs setting": {
        "Name": "boss",
        "Health": 2000.0,
        "Attack Range Multiplier": 1.0,
        "Sense Range": 90.0,
        "Target Memory Duration [sec.]": 10.0,
        "Scale damage": 2.0,
        "Aim Cone Scale": 1.0,
        "Detect the target only in the NPC's viewing vision cone? [true/false]": false,
        "Vision Cone": 135.0,
        "Disable radio effects? [true/false]": true,
        "Remove a corpse after death? (it is recommended to use the true value to improve performance) [true/false]": true,
        "Wear items": [
          {
            "ShortName": "frankensteins.monster.02.head",
            "SkinID (0 - default)": 0
          },
          {
            "ShortName": "frankensteins.monster.02.torso",
            "SkinID (0 - default)": 0
          },
          {
            "ShortName": "frankensteins.monster.02.legs",
            "SkinID (0 - default)": 0
          }
        ],
        "Belt items": [
          {
            "ShortName": "lmg.m249",
            "Amount": 1,
            "SkinID (0 - default)": 0,
            "Mods": [
              "weapon.mod.flashlight",
              "weapon.mod.holosight"
            ],
            "Ammo": ""
          },
          {
            "ShortName": "rocket.launcher",
            "Amount": 1,
            "SkinID (0 - default)": 0,
            "Mods": [],
            "Ammo": "1"
          },
          {
            "ShortName": "syringe.medical",
            "Amount": 5,
            "SkinID (0 - default)": 0,
            "Mods": [],
            "Ammo": ""
          }
        ],
        "Kit (it is recommended to use the previous 2 settings to improve performance)": "boss6"
      },

Share this comment


Link to comment

"Belt items": [
          {
            "ShortName": "multiplegrenadelauncher",
            "Amount": 1,
            "SkinID (0 - default)": 0,
            "Mods": [
              "weapon.mod.flashlight",
              "weapon.mod.holosight"
            ],
            "Ammo": "1"
          },

You cannot add ammunition to the grenade launcher in the settings, the only way is to set it through KIT. Will KIT settings affect server performance?

Share this comment


Link to comment

no, kit on the contrary will not give you such an opportunity, you specified Ammo "1", which is an error, there are no ammo items with such a shortname

Share this comment


Link to comment
          {
            "ShortName": "multiplegrenadelauncher",
            "Amount": 1,
            "SkinID (0 - default)": 0,
            "Mods": [
              "weapon.mod.flashlight",
              "weapon.mod.holosight"
            ],
            "Ammo": "ammo.grenadelauncher.he"
          },
          {
            "ShortName": "multiplegrenadelauncher",
            "Amount": 1,
            "SkinID (0 - default)": 0,
            "Mods": [
              "weapon.mod.flashlight",
              "weapon.mod.holosight"
            ],
            "Ammo": "ammo.grenadelauncher.buckshot"
          },

I did check and I do believe those attachments will work @laodu so you can give them ammo as above.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.6k

Files Sold

Total number of files sold.

1.6m

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.