PlasmaCustomAgents
A library to unify and streamline the process of adding custom nodes and components into Plasma
| Last updated | 2 years ago |
| Total downloads | 514 |
| Total rating | 0 |
| Categories | Mods Libraries Misc |
| Dependency string | Azim-PlasmaCustomAgents-1.0.1 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
PlasmaCustomAgents
A library to unify and streamline the process of adding custom nodes and components into Plasma
Create a custom node
- Create a new class that inherits
PlasmaCustomAgents.CustomAgent - Create a gestalt using
CustomAgentManager.CreateNodeGestalt - Add any ports to the gestalt using
CustomAgentManager.CreateCommandPort,CustomAgentManager.CreatePropertyPortandCustomAgentManager.CreateOutputPort - Add gestalt to game's gestalt list with
CustomAgentManager.RegisterGestalt
Create a custom component
- Create a gestalt using
CustomAgentManager.CreateComponentGestalt - Change gestalt's properties, such as componentScale*Limits,
- Add gestalt to game's gestalt list with
CustomAgentManager.RegisterGestalt
Getting a prefab to use in CustomAgentManager.CreateComponentGestalt
Here will be link to the guide on setting up a unity project for creating component prefabs
TODO
- AssetBundle/Unity project guide
- More testing and documentation on interactive components (e.g. buttons and such)
Releases
1.0.1
- Update readme
1.0.0
- Initial release