Unreal Engine World Director NPC – PRO. Now with multiplayer UE7713

World Director NPC - PRO. Now with multiplayer

Demo Video, Video with multiplayer. Video 2.0

Video 2.0_2

Videos 2.0_3

OTHER ASSETS

Free support for our products in Discord.

World Director PRO – Documentation

World Director PRO + Population ControlDocumentation

Attention! After upgrading from UE 4.26 to 4.26.1, when the project starts in the editor and finishes, the editor may crash. Please see the documentation on how to get around this.

World Director PRO – now work with World Composition.

Update 2.0 for UE-5

+ Added the ability to display background NPCs using static meshes. This way it looks great when simulating cities and has little to no effect on your FPS. (This option does not work in multiplayer)

+ Added 2 modes Editor and Shipping (In Editor mode, there are no more crashes from the NavSystem request on the thread, as the request is now on the main game thread. At shipping mode is still available for maximum performance, use this mode for the finished project.)

+ Added roads.(NPCs in the background will now be able to walk on roads. You can specify specific roads for each NPC. You can specify the chance of using the road. For each NPC, you can specify the range of the search for the road. After using the road, the NPC will choose the next road again. With roads, you can simulate a whole life in a city.)

+ Added points of interest. (For points of interest, you can specify the chance of attracting NPCs. NPCs will walk around points of interest with a given radius. After the end of the walk, the NPC will again look for a way or points of interest. Points of interest can be used to simulate city squares or parks.)

+ Minor optimization has been done.

Update 1.2.0

+ Added Save and Load System.

+ Optimization.

+ Fixed some bugs.

Update 1.1.6

+ Fixed an error causing a crash when the NPC tried to register in the World Director system without having a movement component.

+ The correctSpawnAxisZ setting has been changed. Now this parameter can be configured for each NPC class separately.

This update will help you work better with such NPCs as tanks or boats.

Update 1.1.5 – Added the ability to set a random rotation when spawning an NPC or an actor (for each actor). If nothing is selected, the rotation will be restored from the one saved before destroying the actor.

Update 1.1 – Now compatible with Population Control

1. + Add offset parameter to layers. This removes the shaking when the actor is on the boundaries of the optimization layers.

2. + Added override the global parameters of the layers. All settings in the component.

Now you can adjust the radius separately for each actor and NPC.

For example, you can spawn small objects much closer, which gives additional optimization.

After all, a rabbit is smaller than a dinosaur and it is not necessary to see it at a distance of several hundred meters.

And the wind generator is bigger than a flashlight.

The World Director NPC PRO plugin is ideal for creating games where there are many pawns in the world at the same time. The level of your pawns, their location, scale, the rotation will always be preserved, as well as they will always move, even if you are very far away, which creates a simulation of the living world. You can simulate a whole world of thousands of pawns. You can create an entire populated city. The plugin is easy to use.

This is a comprehensive system for optimizing a large number of NPCs in locations. World Director NPC PRO is perfect for creating open-world games of any size. You will no longer have to think about spawning characters and removing pawns if your character has come or gone from the place where the pawns should be. If you spawn pawns near the character and leave this place, the pawns continue to move and they do not affect the FPS. On my system with an AMD 2700X processor, I achieved 200000+ pawns at 120+FPS. When the character returns to the same location, the pawns return to the world with the same characteristics (health, level.).

Now I’ll explain how it works. The system is divided into 4 optimization levels that work simultaneously for the best FPS performance.

Level 1 – if the pawn is out of the camera’s view, all its components and skeletal meshes are disabled from the render, and a set of optimization measures is applied, such as animation playback and tick rate.

Level 2 – if the pawn is further away from the character than you set in the settings of The World Director NPC PRO plugin, it is deprecated while retaining all its settings. At this level, this pawn is calculated for its position in the world, as well as finding a way to walk. The search takes place in the radius you set completely randomly. All calculations are based on your Navigation Mesh. Pawns will also bypass walls and obstacles.

Level 3 – If the pawn is even further away, on the border of level 3. the number of simultaneously walking pawns is further reduced for optimization.

Level 4 – at this level, the pawn stops moving, but still continues to exist. And if your character gets closer, the pawn gets to level 3 and starts moving.

While at level 2.3.4, pawns can’t act according to the Behavior Tree, but they can still walk.

All calculations for hidden pawns at level 2.3.4 occur using multithreading for better FPS.

Now with multiplayer. All calculations take place on the server-side!

All plugins for optimizing your project:

  1. Loot Generator
  2. World Director PRO (included World Director Actor and World Director NPC)
  3. World Director NPC
  4. World Director Actor
  5. Population Control
  6. Foliage Assistant PRO

Disclaimer: don’t forget this is just an optimization tool and you need to understand why you need it. For example, if all your actors are at the same point or very close to each other, then they will all be in the same frame, which means they all have to work and execute your code and there will be no optimization.

technical details

Features:

  • The system is divided into 4 optimization levels that work simultaneously for the best FPS performance.
  • At level 1 if the pawn is out of the camera’s view, all its components and skeletal meshes are disabled from the render, and a set of optimization measures is applied, such as animation playback and tick rate. While at level 2.3.4, pawns can’t act according to the Behavior Tree, but they can still walk.
  • On my system with an AMD 2700X processor, I achieved 200000+ pawns at 120+FPS.
  • All calculations for hidden pawns at level 2.3.4 occur using multithreading for better FPS.
  • Save and Load System
  • If the pawn is out of the camera’s view, all its components and skeletal meshes are disabled from the render.
  • The plugin is easy to use.

Code Modules:

  •  AWorldDirectorNpcPRO(Type: Runtime)
  •  UNpcDataProComponent(Type: Runtime)

Number of Blueprints: 3

Number of C++ Classes: 2

Network Replicated: Yes

Supported Development Platforms: Win64

Supported Target Build Platforms: Win64

Documentation: DocumentationDiscordDemo Build

Example Project: Included

Important/Additional Notes: World Director NPC – Simple version without multiplayer.