Jump to content

NPCs not following there set vision cone.

Pending 3.3.3

SpagityCat
SpagityCat

Posted

Hi I'm using Npc Spawn and BetterNpcs and im having trouble getting my Npcs to follow the vision cone setting, no matter what I seem to set them to they will detect players from any angle it seems and I cant figure out how to change it so they only target what's in front of them.

 

 "RoamRange": 10.0,
  "ChaseRange": 40.0,
  "SenseRange": 30.0,
  "ListenRange": 15.0,
  "DamageRange": -1.0,
  "ShortRange": 10.0,
  "AttackLengthMaxShortRangeScale": 2.0,
  "AttackRangeMultiplier": 1.5,
  "CheckVisionCone": true,
  "VisionCone": 115.0,
  "HostileTargetsOnly": false,
  "DisplaySashTargetsOnly": false,
  "IgnoreSafeZonePlayers": true,
  "IgnoreSleepingPlayers": true,
  "IgnoreWoundedPlayers": true,
  "NpcAttackMode": 2,
  "NpcSenseRange": 30.0,
  "NpcDamageScale": 1.0,

example or what I have some settings at, any help would be appreciated.

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.5m
Total downloads
Customers
11.1k
Customers served
Files Sold
159.2k
Marketplace sales
Payments
3.4m
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.