Main Menu
  • Welcome to The RPG Maker Resource Kit.

[request] MP Share script.

Started by Martin W., June 08, 2009, 02:21:37 PM

0 Members and 1 Guest are viewing this topic.

Martin W.

Hi,
I advertised the game project me and a couple of friends are making in the RMVX Projects section. We are in need of an easy-to-use script, however, that allows us to create an ability identified by skill ID that targets specific party members in combat identified by actor ID.
This ability is basically draining X% MP from an eligible party member and adding it to the caster's MP.

The problem is that a mechanic in the game is called "Genotype Energy Sharing" for a reason. Every actor has a genotype. Now, making a script that also identifies the genotype is asking too much. So instead, we'll use actor ID's (I'll just make separate abilities for each character).

I need the script to be able to affect as many spells as I need by their ID's, and that also allows me to determine which actors in the party are eligible for its effect by their ID's.


Here's the general outline:

Actor1 has m^Fm^F genotype.
Actor2 has m^Am^A genotype.
Actor3 has m^Fm^A genotype.
Actor4 has m^Wm^E genotype.

The capital letters signify what skills they can use. A = Air, F = Fire, E = Earth, W = Water.


Actor1 runs out of MP.
Actor3 has MP left.

Actor1 begins to cast MP share. Out of 4 actors in the battle, only Actor3 is eligible to that character, because he shares at least one genotype with Actor1 (I'll just use actor ID's for this),
Actor1 selects Actor3.
Actor3's MP decreases by X%.
Actor1's MP increases by the % drained from Actor3.

Actor3 now has little MP left.
Actor3 begins to cast MP share.
Now Actor1 and Actor2 are eligible for the skill.
Actor3 selects Actor2.
Actor2's MP decreases by X%.
Actor3's MP is recovered.

Etc. etc.

Remember, I'll manually identify which actors are eligible for MP share's caster through the use of Actor ID's in the script itself, so you don't have to worry about compatibility issues on that end; although the script must be compatible with the Tankentai Sideview Battle System.

I hope I'm clear enough =S
Let's eat Grandpa!
Let's eat, Grandpa!

Commas save lives.

---

"Filmmusic needs to be more than just convenient." - Denny Schneidemesser

modern algebra

Looks interesting. So basically, you want to be able to assign a string to an actor that is that actor's genotype, and then have it so that only actors that share at least one capital letter of the genotype can use this skill on each other?

I realize you say you can identify by actor IDs, but I think it will be easier to do it like this.

I don't like working with Tankentai, but I might give this a try sometime later. Can you link me to an English translation of Tankentai?

Martin W.

#2
Quote from: modern algebra on June 10, 2009, 03:54:52 AM
Looks interesting. So basically, you want to be able to assign a string to an actor that is that actor's genotype, and then have it so that only actors that share at least one capital letter of the genotype can use this skill on each other?

I realize you say you can identify by actor IDs, but I think it will be easier to do it like this.

I don't like working with Tankentai, but I might give this a try sometime later. Can you link me to an English translation of Tankentai?

http://www.rpgmakervx.net/index.php?showtopic=3781

It's translated as good as possible.

And yeah, that's what I thought. And I suppose identifying by actor ID would be a very lengthy process, so I wouldn't mind your approach either.

*edit* It'd also be great if it was compatible with KGC_LargeParty as well (and 5 active combat actors), but it's not necessary. I can just disable it, since it's not that important to the game itself, if compatibility will be a problem.
Let's eat Grandpa!
Let's eat, Grandpa!

Commas save lives.

---

"Filmmusic needs to be more than just convenient." - Denny Schneidemesser