SB Advanced Nextbots (Nextbot Base + Soldiers Nextbots Base)
This base created to update default nextbot base primarily to easily create nextbots alike players.
– 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.
– 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.
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[github.com].
Revisions:
Old revisions of this mod are available below. Click the link to download.