Jump to content

OilRig and LargeOilRig

Closed 2.3.1

f0kus
f0kus

Posted

Hi! I have a problem with the NPCs on the oil rigs: they don't move—they shoot, but they stay in one spot.

aimacak

Posted

4 hours ago, f0kus said:

Hi! I have a problem with the NPCs on the oil rigs: they don't move—they shoot, but they stay in one spot.

Hello, my NPCs are behaving as usual..
What versions of NpcSpawn and BetterNpc are you using?
What navigation mesh are you using on the server?
Can you send the spawn point from BetterNpc and the presets for NpcSpawn that you are using at this spawn point?

f0kus

Posted (edited)

The server has the latest plugin updates installed.
This all happened after the server update a couple of days ago.
I thought the updated plugins would fix this error, but the updates didn't help.

I didn't quite catch the question about the grid; I've heard something about it, but I haven't yet figured out how it works.
Here are my spawn points and presets.

Oil-Rig-NPC (1).json Oil Rig (1).json Large-Oil-Rig-NPC (1).json Large Oil Rig (1).json

Edited by f0kus
aimacak

Posted

К плагинам KpucTaJI вы можете создавать запросы на русском языке 🙂
По поводу навигационной сетки, ранее на Нефтяных вышках, Подводных лабораториях и в некоторых других местах могли передвигаться только НПЦ с навигационной сеткой 1, сейчас же я не замечаю разницы между ними, возможно мы узнаем какие-то подробности позже.
Новая навигационная сетка генерирует навмеш автоматически, вы можете посмотреть на него выполнив в консоли клиента команду rustnav.draw.
Вы можете использовать старую навигационную сетку используя параметр запуска сервера -useOldNavmesh, некоторые так и делают. Я использую новую, хоть на ней и есть некоторые баги и недочёты, зато раньше узнаем о различных ситуациях.

По поводу вашего изначального вопроса, в ваших пресетах включен режим Сна, скорее всего вы проверяли их движение в ванише или инвизе, т.к. НПЦ просыпаются только при наличии видимого игрока в указанном в пресете радиусе.

image.png

image.png

f0kus

Posted (edited)

Помогло только вернув старую сетку, но боты не ходят по лесницам! На новой сетке боты ходить не хотят вообще. О проблеме мне сообщили игроки что боты стреляют но не ходят. Менял сетку навигации на нормальную - 0, тоже не помогло, убирал сон тоже не помогло. Рано или поздно фейспанч полностью перейдут на новую сетку убрав старую, хотелось бы что бы плагин поддерживал ботов на новой сетке тоже.

Edited by f0kus
aimacak

Posted (edited)

1 hour ago, f0kus said:

Помогло только вернув старую сетку, но боты не ходят по лесницам! На новой сетке боты ходить не хотят вообще. О проблеме мне сообщили игроки что боты стреляют но не ходят. Менял сетку навигации на нормальную - 0, тоже не помогло, убирал сон тоже не помогло. Рано или поздно фейспанч полностью перейдут на новую сетку убрав старую, хотелось бы что бы плагин поддерживал ботов на новой сетке тоже.

Перед предыдущим сообщением я проверял оба типа навигационной сетки с новым навмешем (мне кажется на нём вообще без разницы, какой тип указывать 🙂 ), и у меня они везде передвигаются. Можете добавить в дискорде? @shrpndfcsd

Edited by aimacak
aimacak

Posted

We found the reason in discord.
The new navigation grid has a parameter that controls the distance from the shore at which the new navigation grid will be generated. By default, it is 100 meters.

maxShoreDistance

Oil rigs are an exception on the procedural map, and regardless of this parameter, a navigation grid is generated on them.
For some reason, this exception did not work on a custom map, and the navigation grid was generated only after increasing this parameter to 1000 and rebuilding the navigation grid with the command:
rustnav.rebuild
I do not know on all custom maps whether this is the case or not, but on the custom map that f0kus used, this was exactly the problem.
To visually draw your navigation grid, use the command:
rustnav.draw

aimacak

Posted

Changed Status from Pending to Closed

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.1k
Customers served
Files Sold
172.2k
Total sales
Payments
3.7m
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.