简体   繁体   English

UE4是否可以将.umap加载到打包的独立程序中?

[英]UE4 Can I load .umap into packaged standalone?

I need to load on start .umap files created after packaging standalone version of my app. 我需要加载打包独立版本的应用程序后创建的开始.umap文件。 The problem is that .umap need to be cooked (even when I uncheck Pak flag). 问题是.umap需要煮熟(即使我取消选中Pak标志)。 How can I solve that? 我该如何解决?

What I want to accomplish is that to build standalone app. 我要完成的是构建独立的应用程序。 Let designers to create some .umap level files in Unreal Editor. 让设计人员在虚幻编辑器中创建一些.umap级别的文件。 And finally to be able to start my app with new .umap level. 最后,能够以新的.umap级别启动我的应用程序。

I see 2 possible ways: 我看到2种可能的方式:

Find some plugin or tool which can separately cook .umap file and add it to packaged project. 找到一些可以单独编辑.umap文件的插件或工具,然后将其添加到打包的项目中。 Does such a plugin exists? 是否存在这样的插件?

Build standalone project without cooking (I don't need to redistribute the project, it's tool for internal use). 无需烹饪即可构建独立项目(我不需要重新分发该项目,它是内部使用的工具)。 Is it possible? 可能吗?

Any thoughts? 有什么想法吗?

You should take a look at UAssetManager class, which could be used for loading UE4 assets at runtime. 您应该看一下UAssetManager类,该类可用于在运行时加载UE4资产。 However, I can't promise you it will load entire map for you, i've never used this mechanism at my own. 但是,我不能保证会为您加载整个地图,我从来没有自己使用过这种机制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM