Create Character
How add your Custom Character
FighterDataAsset
Now in the plugin version all fighter data are stored in one DataAsset
I recommand you to inspire like the default character example in the plugin.
Basically you should create a folder that will contain all fighter assets like this :
Then have the FighterDataAsset will contain this kind of data :
- AnimNotifyHandlerClass -> How to manage some anim notify in this character
- FighterClass -> The fighter blueprint character
- DT Action -> The fighter animation actions
- DT Command Action -> All command actions usable in this fighter
- DT Hitbox -> Default hitboxes data if missing in any case
- Fighter Info -> Personal information like the id, classe (for attribute), name, skin, profile prictur, etc
Add the Fighter to the System
When the fighter are configured we can put it in the global game data
Depend of your Global Info setting you will do it in the Fighters Datatable
In the plugin we have by default DT_AFT_Fighter_Default for the example
In this example, it's the default DataTable in the plugin when you didn't change anything
Of course if you use another DataTable for referencing all fighters (and it's recommanded when you create your own game) you should to put the fighter on it
Also your fighter should have the same unique id in the DataTable and DataAsset