Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Character Ranking System

IridiaNaenia

Villager
Xy$
0.00
For the game I'm currently trying to make, I want to have a ranking system that involves all characters, including NPCs. Characters are ranked according to points, which are separate from levels and experience. They gain points from either defeating monsters during the day, or other characters in a tournament every night. Characters are randomly put into one-on-one battles, the winner takes all of the loser's points while the loser has their points, level, experience, just everything reset.

The story progresses according to what rank the main character is at, but I don't want everything to be set from the start. I want the player to be able to freely rise and fall through the ranks. However, to do this I need to monitor the ranks, points, and levels of every character. I need to be able to randomly generate pairings for the tournament, and decide who wins or loses. I need to keep track of who gets reset, who gets killed by monsters, and who gains how many points, then update the ranks.

And I have no idea how to do any of it.

I know it's pretty complicated, but I think it should be possible as long as I can work out how to do it, so I'd appreciate anything that puts me in the right direction.
 

MinisterJay

Administrator
Staff member
Administrator
How many different contestants are there going to be? Do you have variables set up to keep track of each participant's current score?
 

Dad3353

Praised Adventurer
There's no inherent difficulty in any of this. It may be best to write it all out on paper first, and have a limited number of Characters at first. Ideally, a system of arrays would be suitable, but MV is not ideal for that without some knowledge of js code. Still, even with just Events and Variables, it can be done. Try a mock-up first, on paper, with, say, 10 Characters. Give 'em all random values at first, perhaps, then work through the Events over time. One Monster Battle per day for each, systematically, or randomly, so maybe no Battle for some..? Same for after nightfall. All Characters fight all the others..? Random encounters or, like a championship, a fight against each of the others..?
With such a simulation, it should become apparent just how many Variable would be needed to keep track of all the data being processed. It'll become quite cumbersome quite quickly, but can certainly be done.
Is this of any help..?
 

IridiaNaenia

Villager
Xy$
0.00
Thanks for the help, I'm sort of getting through it.
My main problem at the minute is that I don't know how to associate a certain rank with a certain character. I want it to kind of be like the character level, with points acting like experience.
 
Top