Поиск по STEAMB

Игры по онлайну и скины по объёму продаж

Ничего не найдено

Попробуйте другое название или переключите категорию.

Меню

NPC

SB Advanced Nextbots (Nextbot Base + Soldiers Nextbots Base)

Положительные голоса92%835 голосов игроков
Подписчики34,6 тыс.34 645 в Steam Workshop
Размер файла754,38 КБЗагрузка через Steam
Обновление автора6 июл. 2024 г.Дата обновления материала
SB Advanced Nextbots (Nextbot Base + Soldiers Nextbots Base)

Изображение 1 из 5. Материалы автора из Steam Workshop.

Добавить в игру через Steam

  1. Перейдите в Steam

    Откроется страница именно этого материала.

    Открыть в Steam Workshop
  2. Нажмите «Подписаться»

    На странице Steam войдите в аккаунт, если потребуется.

    Подписаться

О материале

«SB Advanced Nextbots (Nextbot Base + Soldiers Nextbots Base)» — материал мастерской Garry’s Mod. Аддоны, карты, персонажи и инструменты для песочницы. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.

Описание автора

This base created to update default nextbot base primarily to easily create nextbots alike players.

Features of advanced nextbots

  • They can hold weapons that have npc support. Also can hold few engine weapons (pistol, revolver, smg1, ar2, shotgun, crossbow). But you should understand that nextbots is not npc, some weapons that works with npcs can not work with that nextbots. This depends on how the weapon are programmed by the creator.

  • You can control bot with third person camera. Start control using Context menu (Default button is C), press Right Mouse Button on bot and select "Drive". To stop control, press Suit Zoom button (By default its not binded! Look in settings to bind button).

  • 3 default soldier nextbots: Follower, Friendly and Hostile. Soldier nextbots uses Soldier Base that based on Advanced Nextbots base. Follower nextbot: friendly to you and friendly npcs, will shoot at hostile npcs, always trying follows you. Friendly nextbot: Neutral to players, friendly to friendly npcs, hostile to hostile npcs and Hostile Soldier Nextbots. Hostile nextbot: Neutral to players, hostile to friendly npcs and Friendly Soldier Nextbots, friendly to hostile npcs.

Other features (for developers)

  • Activities (animations) based on player activities. That means you should use player models for bots, not npc models. Also activities will automatically change depending on the state of the bot (staying, crouching, running, jumping). Using task hooks you can change desired activity.

  • Bots can use nodegraph navigation system if you set appropriate variable. Nodegraph pathfinding uses Capabilities, so you should change capabilities depending on what your bot should do.

  • Behaviour of bots based on tasks. You can create list of tasks that can be started, completed, failed. Each task have callbacks. See Soldier Nextbot Base as example. Tasks allows you to make some actions at same time, like movement, shooting, enemy handling, etc.

  • Every function in base is commented. To know what you should use you can see source code of base. This help you to create your bots.

Default console commands

CommandDefault (min-max)RealmDescription
sb_anb_drawpath0 (0-1)ServerDraws active bot path.

Default console commands (Soldier nextbots)

CommandDefault (min-max)RealmDescription
sb_advanced_nextbot_soldier_playerdisposition0 (0-4)ServerDefines player disposition for friendly/hostile bots: 0 - Neutral; 1 - Like; 2 - Hate; 3 - Like for friendly, hate for hostile; 4 - Hate for friendly, like for hostile.
sb_advanced_nextbot_soldier_usenodegraph0 (0-1)ServerShould bots use nodegraph or navmesh when finding path.

Nodegraph module console commands

CommandDefault (min-max)RealmDescription
sb_anb_nodegraph_accurategetnearestnode0 (0-1)ServerDefines GetNearestNode function behaviour. if 0, compares distances to nodes; if 1, uses DistanceToLine (line is link between two nodes), this is more expensive.
sb_anb_nodegraph_drawnodes0 (0-2)ServerDraws nodes and links ("developer" console command shouldn't equal to 0).
sb_anb_nodegraph_drawnodes_hullHULL_HUMAN (HULL_HUMAN-NUM_HULLS)ServerChanges links colors depending on the hull type.
sb_anb_nodegraph_pathdebug0 (0-1)ServerLike "nb_debug PATH", but for nodegraph PathFollower.
sb_anb_nodegraph_trivialcheck1 (0-1)ServerAllows to cut the route, simplifying the movement of the bot. This may reduce performance.
sb_anb_nodegraph_trivialcheck_debug0 (0-1)ServerDisplays traces that performed for trivial path check.
sb_anb_nodegraph_getnearestnodevischeck0 (0-1)ServerDefines GetNearestNode function behaviour. If 1, then all nodes that not pass visible check will be skipped. Very big performance hit on maps with a large number of nodes.

Github page

After releasing nodegraph module as regular Lua script, addon was added to github. You can see source code, write about issues and pull requests here.

Оригинал в Steam Workshop

Как установить и запустить

Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.

Настройки cookies

Вы можете изменить выбор в любой момент. Отказ от аналитики не ограничивает доступ к сайту.

Технологии, провайдеры и сроки хранения