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.

A reputation and flight system

Hey. For this project I'm about to start I would like to have a Reputation system, were you gain Reputation points by killing monsters and handing in quests, I would also like to know how to make it so that you can see how much rep you have when you talk to a certain NPC, or on the screen.

I would also like to know how to make a flight system (like in pokemon) or similar.
If you can help me that would be much appreciated. Also if i need to be more specific please tell me and i will elaborate.
 
The first one is very easy. Whenever you want reputation to go up, simply use an event that increases a variable by a certain value. Say you use Variable 1 for reputation points. When you hand in a quest, you can use the "control variables" command, set the correct variable, tick the "add" option, and select some constant to add to your current value, i.e. 1. That would look like:
Control Variables[0001: var_name] += 1

If you want to display that value later when talking to an NPC, you can just do it through the "show text" command.
if you type \v[number], it replaces that bit of text with the value of the variable with variable_number "number"
i.e.
if you were to type in your message "Your reputation points are \v[1]" it will replace \v[1] with whatever value variable 1 currently has.
hope that helps
 
I think what he wants is to be able to bring up a picture of the world map, with certain locations marked with little dots. You can cycle through these dots and see the names of each location when it is highlighted. If you select a dot, the message "Fly to {Location Name}?" or something similar would appear, and if you choose yes, you teleport to that location. Going off of memory since I haven't played Pokemon in awhile.

This could be done using tons of pictures and an event system, but a script might work better. I haven't seen any exact copies of this system, but I have seen teleport systems posted around here that you might be able to make due with.
 

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