noxworld-dev / opennox

OpenNox main repository.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sight range function added for NPC.

Ephreaym opened this issue · comments

A sight range function would be very welcome to improve the ability of the bots. It's probably similar to the speed and strength fix.

Wouldn't mind an early update on this. :) Would improve the con and warriors a lot. Since now they're standing still listening more often while in range of enemy players.

No updates for now, except that I did refactor AI system a bit. Could check how to remove/change this sight restriction.

Whole AI pathfinding was ported, and there was some progress on the AI actions as well. Hopefully it should be possible to port the "is enemy visible" AI check next, so that we could customize it whatever we want.

Not sure if it translates. But sight range is already adjustable in the mapeditor when you customize an NPC.

That's definitely helpful 👍

Not sure if it’s more easy to implement instead of adding a new function. But maybe we could change the default sight range when a new npc is added with the createobject function to 500?