代码插件 World Director NPC - PRO. Now with multiplayer 版本4.27

本帖最后由 满心欢喜 于 2022-10-8 21:18 编辑



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.





作者 满心欢喜 发表于 2022-10-6 11:19:44
您需要登录后才可以回帖 登录 | 立即注册
满心欢喜

关注0

粉丝0

发布934

热门作品推荐
glow
【更新】Lux URP Essentials 2.0 URP材质和
glow
Downhill BIke (MTB)适配UE4.27,5.0山地车
glow
Easy Multi Save 1.67 适配UE5.4-5.5
glow
Atmospheric FX 适配UE5.0+环境空间氛围粒
glow
Buildings VOL.2 - Electric & Air (Nanite
glow
动物皮肤爬行生物大象犀牛河马粗糙皮肤40 T
glow
皮肤烧伤口缝合结疤痕损伤Wounds And Scars
glow
爬行动物蛇皮肤细节alpha纹理蜥蜴龙鳞Repti
glow
12幅清代董诰瑶圃先春册 花卉植物国画名画
glow
378个中国清代古典装饰花纹清朝古代传统服