Main Menu
  • Welcome to The RPG Maker Resource Kit.

[Request] Modifying the Database

Started by narcodis, August 03, 2008, 07:54:07 PM

0 Members and 2 Guests are viewing this topic.

narcodis

Hey, here's a question.. and I'm not even sure if this is possible. But is there a way to completely modify items/weapons/armor/characters in the database during gameplay through the use of scripts?

I'm not sure how else to explain it, so I'll use a few examples..
I want to be able to 'enchant' my weapons and armor, with elemental properties, such as Fire, Earth, etc. Doing so would change the elemental property of the weapon/armor. Also, I'd use this in conjunction with http://rmrk.net/index.php/topic,24407.0.html (weapons teaching skills script), so if I could modify the note of the weapon to teach 'Fireball' when you equip it next, that would be ideal.

Another example..
None of my characters have a dual-wielding option, but is there a way to make an accessory to allow me to do so? Think Genji Glove from FF6. Or if not through an item, maybe through a trainer that would allow him to do so? And I guess I could make a copy of every character in the game with dual wielding.. but that might tamper with some of my events that require a certain hero to be in the party, etc.


Thanks for your consideration!
yes!

psiclone

QuoteNone of my characters have a dual-wielding option, but is there a way to make an accessory to allow me to do so? Think Genji Glove from FF6. Or if not through an item, maybe through a trainer that would allow him to do so? And I guess I could make a copy of every character in the game with dual wielding.. but that might tamper with some of my events that require a certain hero to be in the party, etc.

Well, thinking off the top of my head, you could make the event do a conditional branch that checks if <player without dual wield> is in the party OR if <player with dual wield> is in the party or whatever you needed.

As for the enchanting thing, you could just make conditional branches that call a random number between, well, any number for what you want the results to be. Maybe 2 failures, one of which can just be half the resulting enchant, and one perfect result. Though, now that I think about it, you'd have to either,

A) make only certain weapons/armor enchantable, or
B) make very very very long conditional branches for each weapon/armor..

Hope that helps some.