Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Two Questions...

Well, it seems like I've hit another brick wall...two, in fact! My questions are;

1) How can I change an enemy or actor's element resistances? I would like to be able to make skills that made you absorb or take more damage from an element...but all I can do is 1/2 the damage. Is this even possible to do without using scripts?

2) I want to make a combo skill, that if one character in the combo uses, forces both actors to 'wait', and then force the combo attack (like in, say, Chrono Trigger.) How do I make it so that, a) Actors in the combo can't take an action before hand because their agility is higher than the initiating actor, and b) The skill is affected by different participant's stats (actor 1's strength is used and actor 2's intelligence is used.)

If anyone could help me on either of these questions, I would be greatly grateful. Thank you in advance!
 
tough questions. :)
1) you must change the script, but it's easy- just play with the numbers.
RMXp uses an array for element resistance. Ie, the letter 'A' means x2 damage, which is 200%. in the script you'll find an array that has 200 in it. if you change it to say, 400, an enemy with element resistance 'A' will take 400% damage.
here is where you find the array:
for enemies: go to the page called Game_Enemy, line 124. it looks like:
Code:
table = [0,200,150,100,50,0,-100]
these stand for the elements A,B,C..F. in these order. (ignore the first zero)
for party members:
same thing, same code, in line 113 of Game_Actor.

2)you'll need a script. go to script requests
 
Well, sorry for the late replay, it's been a while since I had a chance to check this out.

First of all, thanks for the help silver wind. I guess you're right about the combo skills idea, unless any one else has something to say about it. As for #1, I see what you're talking about, though I could see how re-assigning values for resistances for a fight could get messy. Especialy if there are 12+ elements being used (yes, I like my games complicated XD), but I think I could do it.

However, I couldn't help but notice that only a few lines down, there was a line that told what happened with elemental defence from states. So, this all leaves me with two new questions: 1) How can I change this line to make elemental resistance from states into absorb (which is all I really want), and 2) How can I do this from the event window? I think I'll deal with the combos later, or just think of something new.

Thanks in advance! And BTW, if this needs to be moved to script help, by all means do so.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top