Jump to content

Bots instantly attack, others won't use bow

Closed 1.1.3

suicidemayhem
suicidemayhem

Posted

Hi, I'm getting the attached errors. Bow bots won't use the bow even with arrows, they just look at you.

I saw this plugin on another server and the bots were kinda slow at attacking, would take a second to take aim and fire, but these seem instant and not sure where to lower their response time.

There also seems to be a conflict with the Bradley plugin (spawns bradleys at all monuments). I've set the code "        "Can_Kill_NPC": true" to both true and false to test, same boolean error though

 

 

image.png

Jbird

Posted

On 7/27/2022 at 12:15 PM, suicidemayhem said:

Hi, I'm getting the attached errors. Bow bots won't use the bow even with arrows, they just look at you.

I saw this plugin on another server and the bots were kinda slow at attacking, would take a second to take aim and fire, but these seem instant and not sure where to lower their response time.

There also seems to be a conflict with the Bradley plugin (spawns bradleys at all monuments). I've set the code "        "Can_Kill_NPC": true" to both true and false to test, same boolean error though

Hello I can help with all of this.

1) NPCs can currently only use compound bows. I actually was even mistaken with this recently I thought it was the crossbow that worked but I was corrected in the Mad Mappers Discord, a good resource if you'd like to join and can be a part of the discussions or open tickets for usually a quicker response.

2) The largest impact for how quickly an NPC will react and notice a player will be their field of view, and whether the NPC can detect the player only in it's view cone, or if they can detect players at a certain range regardless of if they are looking at them or not. Just a note, on some servers that have slow responding NPCs this is likely a performance issue, where there are too many NPCs being added, or the server performance is just struggling in general.

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

In the example above, the NPC's can only see the players if they are looking directly at them.
Use an angle between 20° and 180°, in the plugin you will just place the number.
Smaller vision cone means they will have to look more directly at the players to detect them.
This setting only works if the first is set to true, if false, then they can detect players automatically within their range setting.

As far as the errors, can you describe a bit about what is happening when the errors occur? Specifics help a lot, but we will be looking into this. Thank you.

suicidemayhem

Posted

I set the view cone to true, I did not reduce it, maybe that will help a bit. Just want to give a more realistic attack, not just 180 no scope players.

On the server I was describing, they looked at you for a second or two before deciding to attack. They also used bows successfully, so maybe they aren't using BetterNPC or modded it. 

suicidemayhem

Posted

For the Boolean error with Bradley plugin, there was a tiny tiny update for that plugin that fixed it. That is resolved.

Jbird

Posted

1 hour ago, suicidemayhem said:

I set the view cone to true, I did not reduce it, maybe that will help a bit. Just want to give a more realistic attack, not just 180 no scope players.

On the server I was describing, they looked at you for a second or two before deciding to attack. They also used bows successfully, so maybe they aren't using BetterNPC or modded it. 

Compound bows work as far as I know, I guess I could confirm it myself soon as well just have several projects I am working on and have been busy. From the feedback in the community though compound bows were fine. Crossbows and hunting bows were not working with BetterNpc at this time.
 

1 hour ago, suicidemayhem said:

For the Boolean error with Bradley plugin, there was a tiny tiny update for that plugin that fixed it. That is resolved.

Glad to hear it!

KpucTaJl

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

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.