Unreal Engine –Population Control PRO – Populate your world UE313

Population Control PRO - Populate your world

Demo Video

Fly Dream Dev OTHER ASSETS

Free support for our products in Discord.

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.

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:

  1. The calculation of the spawn occurs directly in the editor, you can see where and how much the NPC will spawn.
  2. Spawn Time (The ability to set the spawn time, for example, spawn NPCs only between 12:30 and 16:00.)
  3. Runtime Spawner (Added spawner version for Runtime. You can now spawn NPCs on generated levels. NavMesh is required.)
  4. Save and Load (Now you can save the current state of the spawners.)
  5. A parameter that determines the time of shuffling the spawn points among themselves to create more unique locations.
  6. The ability to set the chance of spawn for each NPC.
  7. 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.
  8. 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.
  9. You can spawn flying NPCs.
  10. Can be spawned taking into account NavMesh.
  11. You can specify blocking zones for spawn.
  12. Prohibit spawn if the player is close to the spawn point (That would not be spawn in front of the player)
  13. The size of the spawn box point can be changed (the spawn inside the box point is random).
  14. 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).
  15. Ability to despawn those who are too far away.
  16. Search for another spawn point if a collision occurs.
  17. You can select a list of supported collisions.
  18. 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.

Update 1.0.4 – Fixed the output of unnecessary messages on the screen (print string) that were used for development.

Population Control – Documentation

World Director (NPC/PRO) + Population Control Documentation

Template WD-PRO+PC UE4.26

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

.

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