Hi,
I have a hard time figuring out how to implement a set of data to a sports game ( single player game ). I’ve been trying to find answers for this from the hub but none of them quite touches my problem.
In the game you are a manager and also can play matches. What I’m trying to achieve is a data set that has all of the players statistics/attributes/characteristics (playerID, how they look, strength, items they hold, which team they belong to etc.) , to which you can add more players, remove players and update players if needed. I’ve been trying to do that using data table but it seems, if I understand it correctly, that data tables aren’t used that way. I’ve been trying things in the editor, no coding yet because I think I first need to understand the correct way of thinking.
My thinking is that the player data should be in an external file where from you can load player data when the game starts and while playing, it updates the data respectively. Thinking behind this is that players retire and we need to add more new players (rookies) after every season. That is why we need a system that supports adding and removing players. But the question is that which file format should the data be? JSON, csv, excel,txt or… What is the best way keeping things tidy and easy to read/use when we have let’s say at start we have 1000 players and their stats. Is it the same case with team information which should have the info about the players playing in the team, overall money of the team, monthly expenses etc.
How would you guys go forward with this?
Thank you in advance
-Mike