Okay, so here's the issue_ I want to create a reputation mechanic using variables in a Project I'm working on-and while it works to a degree-I'm running into a problem where an event shows up as if though the character had a neutral/good reputation even though they had a bad reputation-any way I could keep that from happening- I think it may have something to do with "Or Above" Part.
Reputation Mechanic
RPG Maker VXAce SupportProviding pictures of what you have built can help us help you. Doing bling guesses can lead us nowhere.
Can you please edit this post and add pictures on what is going on?
Please reply to the thread after doing this, so I can get alerted and take a look.
Can you please edit this post and add pictures on what is going on?
Please reply to the thread after doing this, so I can get alerted and take a look.
if you handle reputation through the game's variables, you might be in the right track.
if an event would trigger at "3 or above", it'll trigger the same way at 3, or at 19...... so, you have to address the issue of "or above.... but also, below...."
I find the easiest way to handle it with the variable system in ACE is to first, figure out what range for the variable values do you want the event to show up. Once you know that, then set up the event as follows:
Page 1:
Condition: If variable is >= the lowest value in that range
Put the event you want to happen here.
Page 2:
Condition: If variable is >= the highest value in the range + 1 (the + 1 is to make this > the highest number).
Empty page, set to action trigger. Put nothing there.
Then the event will only show up as long as the value of the variable is between the two numbers that you want it to show up at.
Incidentally I use this same system for my plot flow variable, so that story events only show up at certain times. So it can be used for a lot more than just reputation variables.
Page 1:
Condition: If variable is >= the lowest value in that range
Put the event you want to happen here.
Page 2:
Condition: If variable is >= the highest value in the range + 1 (the + 1 is to make this > the highest number).
Empty page, set to action trigger. Put nothing there.
Then the event will only show up as long as the value of the variable is between the two numbers that you want it to show up at.
Incidentally I use this same system for my plot flow variable, so that story events only show up at certain times. So it can be used for a lot more than just reputation variables.
While your suggestion should work fine, I'm trying to set it up so if you have a good/bad reputation, you may not be able to enter certain towns or talk with certain groups, and some may just outright attack you-I tried to set it up so if your reputation was say, X, you would be disbarred from entering the town, but the guys blocking also showed up with the two guards standing on either side of the path, as if the reputation was good or neutral.
And that will work if you set it up as we said. So if it is not then there is an error somewhere. You'll need to post screenshots of the events that are not working correctly before we can say more.
Alrighty, I don't have away to post screenshots at the moment-but I figured out what I did wrong:
I set the reputation mechanic when it reaches a certain points-Say either -3 or 3, and it would changed based on that-but when I set it up, it gave me either the Good Rep. Dialogue or the Bad Rep. Dialogue-so what I decided to do was a combination of the Variable Solution you offered and my own-you can track you reputation Via your title-or Nickname as the system calls it-it's not perfect, as you have no way to track your reputation exactly-this is something I'm gonna try and address later on-but it toggles a control variable with X title-add +1 to the Title and Variable in question-and certain actions can cause you to lose said title as well. This is done through the use of a Common Event w/ conditional branch system-essentially it will call said event after each contract, determine how far you've advanced as an honest individual-or absolute bastard if you are so inclined-and then either grant or strip you of a title-it's gonna be a lot of work, and a little clunky from what I can tell, but I think honestly its gonna be worth the hassle.
Quick Edit: It works just fine. The mechanic, so long as I set the variable between X number and Y number-produces the desired outcome-as stated before-clunky, but it gets the job done.
I set the reputation mechanic when it reaches a certain points-Say either -3 or 3, and it would changed based on that-but when I set it up, it gave me either the Good Rep. Dialogue or the Bad Rep. Dialogue-so what I decided to do was a combination of the Variable Solution you offered and my own-you can track you reputation Via your title-or Nickname as the system calls it-it's not perfect, as you have no way to track your reputation exactly-this is something I'm gonna try and address later on-but it toggles a control variable with X title-add +1 to the Title and Variable in question-and certain actions can cause you to lose said title as well. This is done through the use of a Common Event w/ conditional branch system-essentially it will call said event after each contract, determine how far you've advanced as an honest individual-or absolute bastard if you are so inclined-and then either grant or strip you of a title-it's gonna be a lot of work, and a little clunky from what I can tell, but I think honestly its gonna be worth the hassle.
Quick Edit: It works just fine. The mechanic, so long as I set the variable between X number and Y number-produces the desired outcome-as stated before-clunky, but it gets the job done.
Original thread: https://forums.rpgmakerweb.com/threads/reputation-mechanic.109492/