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.

Several Questions....

Hello, all. I'm very new to RPG maker XP and I'm having a little bit of trouble getting started. Here's what I need to know:

How do I edit the formula that determines the amount of damage of a basic attack? For instance, what would I do if I wanted a basic attack to deal [attacker's strength] - [Target's defense] plus or minus 15? And then I would also want to make the chance of missing go up if the target's agility is high. (For example, if the target has an agility of 10, give a 5% chance of missing.) In short, I need to know the names of the various variable, where to enter the formula, and the format in which it should be done.

Secondly, I'd like to have a special script where instead of having random battles, the enemies appear on the overworld and will go to the battle screen when the character touches them. This style of overworld is in games like Earthbound, Mario RPG, and Paper Mario. How would I do that and how would I add animations for the enemies as they appear on the overworld?



Sorry if one or more of these questions are in the wrong place, but I figured I should put all of my unanswered questions in one thread.
 
autobzooty":idf1wxct said:
Hello, all. I'm very new to RPG maker XP and I'm having a little bit of trouble getting started. Here's what I need to know:

How do I edit the formula that determines the amount of damage of a basic attack? For instance, what would I do if I wanted a basic attack to deal [attacker's strength] - [Target's defense] plus or minus 15? And then I would also want to make the chance of missing go up if the target's agility is high. (For example, if the target has an agility of 10, give a 5% chance of missing.) In short, I need to know the names of the various variable, where to enter the formula, and the format in which it should be done.

Algorithms for attack, skills ans items are located in Game_Battler 3. Simply search for
Code:
def attack_effect(attacker)
def skill_effect(user, skill)
def item_effect(item)

autobzooty":idf1wxct said:
Secondly, I'd like to have a special script where instead of having random battles, the enemies appear on the overworld and will go to the battle screen when the character touches them. This style of overworld is in games like Earthbound, Mario RPG, and Paper Mario. How would I do that and how would I add animations for the enemies as they appear on the overworld?

You don't need any scripts for that. Simply use an event with the graphic of your enemy and change the trigger for 'On Player Touch'. Then make it start a battle.
 
Ah, okay that makes sense. The only thing I don't know how to do is to make the game randomly spawn new enemies on the fly, instead of me having to add in each monster group manually. Also, is it possible to make the monster move towards the player when you get near him so that they will actively chase you?

Also, this type of gameplay isn't conducive to the "square" movement that is default in RPG maker (Like we see in the pokemon games). How do I change it so that you can move diagonally, and also add in separate animations for diagonal walking?


Also, one more random question, is it possible to change the speed that the main character walks?
 

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