Demo Video
Fly Dream Dev OTHER ASSETS
Population Control is a universal NPC spawner that will completely solve all issues with the NPC spawning in the world. It can work both on small sizes, such as rooms in houses, and on huge spaces. The system keeps track of each spawned NPC and if he was destroyed then she can spawn him again after the right time. The system is very easy to use. The system can work together with World Director NPC and World Director PRO, this completely closes the issue of spawn, respawn and optimization of the NPC. Together with World Director NPC or PRO, the whole world is populated in a few mouse clicks and it will always be alive and optimized.
Please pay your attention to the GWOF plugin. It supports most of the functionality of WD-PRO and PC-PRO but with more powerful optimization algorithms and more flexible configuration. However, it does not currently support NPCs wandering around in the background.
World Director (NPC/PRO) + Population Control - Documentation
Update 1.5
+ Added random correction for spawn height.
+ Added functions for stopping and starting the spawner.
Update 1.4
+Added curved spawn system. You can specify spawn chance and time on the curve. This makes the spawn system even more flexible.
The following features are supported:
- The calculation of the spawn occurs directly in the editor, you can see where and how much the NPC will spawn.
- Spawn Time (The ability to set the spawn time, for example, spawn NPCs only between 12:30 and 16:00.)
- Runtime Spawner (Added spawner version for Runtime. You can now spawn NPCs on generated levels. NavMesh is required.)
- Save and Load (Now you can save the current state of the spawners.)
- A parameter that determines the time of shuffling the spawn points among themselves to create more unique locations.
- The ability to set the chance of spawn for each NPC.
- You can increase the chance of spawn every time the NPC was not spawned due to the low chance of spawn. After spawning, the real value of the chance to spawn is reset to the initial value.
- The lifetime parameter of the NPC in the background. If the NPC was destroyed due to a large distance to you, then it will be destroyed after this time and will spawn again at the original point.
- You can spawn flying NPCs.
- Can be spawned taking into account NavMesh.
- You can specify blocking zones for spawn.
- Prohibit spawn if the player is close to the spawn point (That would not be spawn in front of the player)
- The size of the spawn box point can be changed (the spawn inside the box point is random).
- You can configure each NPC separately, the respawn time, the number of NPCs, the distance to the spawn (for example, small NPCs spawn when you get closer, and large NPCs can be spawned with large distances).
- Ability to despawn those who are too far away.
- Search for another spawn point if a collision occurs.
- You can select a list of supported collisions.
- Support for multiplayer.
Update 1.3
1. Spawn Time (The ability to set the spawn time, for example, spawn NPCs only between 12:30 and 16:00.)
2. Runtime Spawner (Added spawner version for Runtime. You can now spawn NPCs on generated levels. NavMesh is required.)
3. Save and Load (Now you can save the current state of the spawners.)
4. Fixed a problem with the rotation of the PopulationControlSpawner actor
5. Code refactoring
6. Fixed some bugs
Update 1.2 - Upgrade to PRO
Added:
1. The ability to set the chance of spawn for each NPC. If the NPC was not spawned, then after the respawn time it will again be checked for spawn.
2. The parameter increases the chance of spawn every time the NPC was not spawned due to the low chance of spawn. After spawning, the real value of the chance to spawn is reset to the initial value.
3. A parameter that determines the time of shuffling the spawn points among themselves to create more unique locations.
4. The parameter respawn from the last position when the NPC was destroyed because it was far away. Previously, he only spawned at the spawn point. Now if the NPC was chasing you and you ran away, he will appear in the same place where you lost him.
5. The lifetime parameter of the NPC in the background. If the NPC was destroyed due to a large distance to you, then it will be destroyed after this time and will spawn again at the original point. (Leave zero if you do not want to destroy the NPC in the background).
6. Added the ability to exclude an NPC from the Population Control system or return it back. For example, you spawn boats and want to control one of them, you can exclude it from the system. There is also a function to check whether the NPC is now in the Population Control system or has been excluded.
7. Added the ability to clean a specific NPC from the system. Unlike exclusion, after clearing the NPC, the slot in the Population Control system will be free and it will be able to spawn a new NPC.
Fix:
1. Fixed the respawn issue. NPCs continued to spawn again even if respawn was disabled.
2. Small fix related to saving.
Update 1.1.1 - Improved performance in runtime.
Update 1.1 - Video comparison
1. Added the ability to spawn any Actors.
2. Added button Save and clear cache - Saving large maps is now even faster. It also reduced disk space usage by 60%+.
Update 1.0.5 - Improved performance when saving in the editor.
All plugins for optimizing your project:
- Loot Generator
- World Director PRO (included World Director Actor and World Director NPC)
- World Director NPC
- World Director Actor
- Population Control
- Foliage Assistant PRO
Technical Details:
Features:
- Spawn Time (The ability to set the spawn time, for example, spawn NPCs only between 12:30 and 16:00.)
- The calculation of the spawn occurs directly in the editor, you can see where and how much the NPC will spawn.
- You can select a list of supported collisions.
- You can spawn flying NPCs.
- Can be spawned taking into account NavMesh.
- You can specify blocking zones for spawn.
- Prohibit spawn if the player is close to the spawn point (That would not be spawn in front of the player)
- The size of the spawn box point can be changed (the spawn inside the box point is random).
- You can turn on spawn only if it is active on the net (in runtime)
- You can configure each NPC separately, the respawn time, the number of NPCs, the distance to the spawn (for example, small NPCs spawn when you get closer, and large NPCs can be spawned with large distances).
- Ability to despawn those who are too far away.
- Search for another spawn point if a collision occurs.
- Support for multiplayer.
- The plugin is easy to use.
Code Modules:
- APopulationControlSpawner(Type: Runtime)
- ABlockZonePC(Type: Runtime)
Number of Blueprints: 2
Number of C++ Classes: 2
Network Replicated: Yes
Supported Development Platforms: Win64
Supported Target Build Platforms: Win64
Documentation: Documentation, Discord
Example Project: Included
Important/Additional Notes: