Introduction 介绍
In all my projects, logic is written on Blueprints. But blueprint classes are children of c++ classes. For example, BP_Ability is a child of ASAbility.
在我的所有项目中,逻辑都是在 Blueprint 上编写的。但蓝图类是 c++ 类的子类。例如,BP_Ability 是 ASAbility 的子级。
I created all base classes for the systems in c++ in order to use the next features:
我用 c++ 为系统创建了所有基类,以便使用下面的功能:
So I have the next plugins.
所以我有下一个插件 。
Download the plugins for 5.2 version. Updated 8 April 2025
下载 5.2 版本的插件 。更新时间:2025 年 4 月 8 日
Download the plugins for 5.3 version. Updated 8 April 2025
下载 5.3 版本的插件 。更新时间:2025 年 4 月 8 日
Download the plugins for 5.4 version. Updated 8 April 2025
下载 5.4 版本的插件 。更新时间:2025 年 4 月 8 日
Download the plugins for 5.5 version. Updated 8 April 2025
下载 5.5 版本 。更新时间:2025 年 4 月 8 日
Download the plugins for 5.6 version. Updated 5 June 2025
下载 5.6 版本 。更新时间:2025 年 6 月 5 日
Copy all these plugins to YourProject\Plugins folder. If there is no Plugins folder in your project, create it.
将所有这些插件复制到 YourProject\Plugins 文件夹。如果您的项目中没有 Plugins 文件夹,请创建它。
E:\YourProject\Plugins.
E:\YourProject\Plugins 中。
There is a video tutorial.
有一个视频教程 。
After you download the plugins, you can open the project.
下载插件后,您可以打开项目。
You can add the plugins to Engine plugins folder, but in this case you won’t be able to edit them in future.
您可以将插件添加到 Engine plugins 文件夹,但在这种情况下,您将来无法编辑它们。
If you open the project without these plugins, you will see the next errors.
如果您在没有这些插件的情况下打开项目,您将看到下一个错误。
Modify Plugins 修改插件
If you need to add some parameters or functions to existing classes, you can use Blueprints or C++.
如果需要向现有类添加一些参数或函数,可以使用 Blueprints 或 C++。
Blueprints are not a suitable way, because you will need to use CastTo node to get all new added functionality.
蓝图不是一种合适的方法,因为您需要使用 CastTo 节点来获取所有新添加的功能。
For example, here I created child class PDA_ItemData from parent ISItemData.
例如,这里我从父 ISItemData 创建了子 类 PDA_ItemData 。
To get new parameter I need to cast to PDA_ItemData.
要获取新 参数,我需要转换为 PDA_ItemData。
Right way is to add new functionality using C++.
正确的方法是使用 C++ 添加新功能。
Or you can make your existing project C++ by adding a new C++ class.
或者,您可以通过添加新的 C++ 类来使现有项目成为 C++。