By far the largest system I ever made, is the cardgame system for my main project. There was no battle in those games, so I was able to use enemies to create cards. I could select the image, and had 8 numeric values I could give to a card. (MHP, MMP, ATK, DEF, MAT, MDF, AGI and LUK).
I could get pretty far with this, and actually create a huge number of card variety... Like MAT would no longer be mean "Magic Attack" but "Spell trigger" and MDF would be "Spell Id".
I can even use drops, gold and experience for things like cost and rewards...
However, it becomes really confusing when spells use other stats than minions, and those are both different than weapons... It would be okay, if I could work on it daily, but when I have 2 busy weeks where I can't touch my game at all, it becomes a lot harder to remember which stat was used for what by what card type.
So, I tried making a plugin, containing the info that otherwise would have been included in the enemy data. I did this to make things easier, but it complicates every other part of the system so much more. And since a plugin isn't the answer, at least not for simplifying creating cards and decks, I need another solution.
So, the next thing I could think of is Note-Tags.
I could get pretty far with this, and actually create a huge number of card variety... Like MAT would no longer be mean "Magic Attack" but "Spell trigger" and MDF would be "Spell Id".
I can even use drops, gold and experience for things like cost and rewards...
However, it becomes really confusing when spells use other stats than minions, and those are both different than weapons... It would be okay, if I could work on it daily, but when I have 2 busy weeks where I can't touch my game at all, it becomes a lot harder to remember which stat was used for what by what card type.
So, I tried making a plugin, containing the info that otherwise would have been included in the enemy data. I did this to make things easier, but it complicates every other part of the system so much more. And since a plugin isn't the answer, at least not for simplifying creating cards and decks, I need another solution.
So, the next thing I could think of is Note-Tags.
I wonder if it is possible to read out note-tags using a script call, without the use of a plugin in between.
I want enemy note-tags to contain values like:
Type: 1
Skill: 3
Damage: 4
And use a script call to find out what the value for the type is and store that value in a variable, and what the value of the skill is, and so on.
I am looking for something like:
[B]$gameVariables.setValue(1, $dataEnemies[125].name);[/B]This should put the name of enemy 125 in variable 1. Now I want something similar but for stats that are not in the engine by default.