I’m currently making an RPG in Unity and I want to have all attacks (and characters) in files next to the .exe
in a Assets
(or Mods
) folder.
I want the file format to be like *.atk
or *.chr
and inside the file you set parameters like the attack name or the attack type.
I also wanted to add hardcoded functions that you call inside the mod file like DoDamage()
or createSprite()
which basically lets the modder tell the game what the attack does.
I’m fairly new to Unity so does anyone know how I can incorporate this?