Introduction
Custom Traits is a plugin that makes it possible to dynamically assign traits to characters and classes during the game.
It is not normally possible to change the traits of classes and characters mid-game. With this plugin, however, you can add and remove traits whenever you want using the plugin commands. These changes are saved in the savefile and are therefore retained.
Please Note: Please test the plugin extensively before using it in your game! Errors can always occur. If you find a bug or have other suggestions, just write to me via the comment function.
Features
Let your characters learn to wear new types of armor or weapons over the course of the game.
Another idea would be to upgrade classes in general. Perhaps the player would like all wizards to be able to learn the ability to carry thick swords.This and much more is possible with this plugin.
How to Use
Use the plugin-commands to add and remove traits. There are two options:
Character-Trait: Add custom traits to a character.
Class-Trait: Add custom traits to a class. Those traits affect all characters that got assigned that class assigned.
Plugin Commands / Script Calls
AddActorTrait - Adds a trait with the defined values to a character.
RemoveActorTrait - Removes a trait from a character with the specific values.
AddClassTrait - Adds a trait to a class.
RemoveClassTrait - Removes a trait from a class with the specific values.
Parameters:
Those are the same for all commands:
- actorID/classID
- The class-/actor-ID in the database
- traitCode
- The code of the trait, that gets added (you can choose a trait from the dropdown-menu)
- dataID
- This is the ID of the element that would be shown in the dropdown if you would add it through the editor (From 1 to n ).
- Example: The trait "Equip weapon whip" makes it possible for actors to equip whips. The weapon type "whip" is the fifth element in the dropdown menu, when choosing it in the database. The DataID would therefore be 5.
- value
- You need a value for many traits, but not all of them. For resistances and similar stuff for example. That's what this value is for. If no value is needed, you can just ignore this field.
Download
[url=https://jolloex.itch.io/custom-traits-rpg-maker-mz-plugin]https://jolloex.itch.io/custom-traits-rpg-maker-mz-plugin
Terms and Credits
Free to use for commercial and non-commercial RPG Maker-Games
本贴来自国际rpgmaker官方论坛作者:Jollo处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/custom-traits-customize-traits-for-actors-and-classes-in-game.171792/