Jump to content

Expose a way to override GetBestTarget scoring logic

Pending 3.4.8

evict
evict

Posted

I am developing a complex plugin where NPCs fight each other (with allied players).
The limitation right now is that GetBestTarget scoring logic always prioritizes real players. This makes my allied NPCs fighting behavior weird when there are players present (they ignore more dangerous enemy bots nearby completely)

I wanted a way for me to override your plugin GetBestTarget logic for my NPCs so I can implement a way of NPCs to determine the best target based on different "threatLevels" rather than always prioritizing players.

This also opens possibility to design better NPC bosses that cycle through different targets with customized logics.

Cheers!

aimacak

Posted

20 hours ago, evict said:

I am developing a complex plugin where NPCs fight each other (with allied players).
The limitation right now is that GetBestTarget scoring logic always prioritizes real players. This makes my allied NPCs fighting behavior weird when there are players present (they ignore more dangerous enemy bots nearby completely)

I wanted a way for me to override your plugin GetBestTarget logic for my NPCs so I can implement a way of NPCs to determine the best target based on different "threatLevels" rather than always prioritizing players.

This also opens possibility to design better NPC bosses that cycle through different targets with customized logics.

Cheers!

Hello, it may be better for you to contact KpucTaJI ( @kpuctajl ) directly in discord, but I will also duplicate your message to him 😉

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
3.1m
Total downloads
Customers
12.2k
Customers served
Files Sold
173.4k
Total sales
Payments
3.8m
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.