RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[request] MP Share script.

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 83
I am the Flux
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
« Last Edit: June 08, 2009, 02:24:16 PM by Martin W. »
Let's eat Grandpa!
Let's eat, Grandpa!

Commas save lives.

---

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

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
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?

**
Rep:
Level 83
I am the Flux
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.
« Last Edit: June 10, 2009, 05:44:26 AM by Martin W. »
Let's eat Grandpa!
Let's eat, Grandpa!

Commas save lives.

---

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