- Joined
- Dec 26, 2019
- Messages
- 209
- Reaction score
- 57
- First Language
- english
- Primarily Uses
- RMMV
In the game I'm working on the player has several weapons and their skills are going to be dependent on the weapon type equipped. So, for instance, equipping knives gives the player access to high-speed, multi-attack skills and equipping big swords gives them slower, less accurate but more damaging attacks.
The more the character uses the weapon the more skills they'll unlock and the better they'll be with the weapon. As far as I can tell there are no plugins for this (feel free to correct me if I'm wrong), so I'm trying to figure out a way to manage it with the core engine.
I think I can manage the part about earning experience well enough. Each attack or skill use with the weapon need to increment the appropriate variable by 1, then a parallel common event can check if they have enough points in that variable in order to learn a new skill. With skills this is easy enough...part of the skill's function can be to trigger a common event to increment the variable, or I could even include it as part of the skill's action sequence. Doing it for basic attacks is a bit trickier. At this point the only thing I can think of is creating a different basic attack for each weapon type and using the Weapon Unleash plugin to swap the attack skills depending on the current weapon equipped. Then I can include the appropriate common event in those skills.
If there's an easier way to do it or any unforeseen problems with this method, please let me know.
The more the character uses the weapon the more skills they'll unlock and the better they'll be with the weapon. As far as I can tell there are no plugins for this (feel free to correct me if I'm wrong), so I'm trying to figure out a way to manage it with the core engine.
I think I can manage the part about earning experience well enough. Each attack or skill use with the weapon need to increment the appropriate variable by 1, then a parallel common event can check if they have enough points in that variable in order to learn a new skill. With skills this is easy enough...part of the skill's function can be to trigger a common event to increment the variable, or I could even include it as part of the skill's action sequence. Doing it for basic attacks is a bit trickier. At this point the only thing I can think of is creating a different basic attack for each weapon type and using the Weapon Unleash plugin to swap the attack skills depending on the current weapon equipped. Then I can include the appropriate common event in those skills.
If there's an easier way to do it or any unforeseen problems with this method, please let me know.