Author Topic: Having two different carddata.txt  (Read 353 times)


  • Newbie
  • *
  • Posts: 12
    • View Profile
Having two different carddata.txt
« on: August 27, 2019, 04:54:15 PM »
I'm working on the plugin for a baseball game. Thus, there are both batters and pitchers in the game. Each type of player has something like 10-15 stats, so trying to combine pitchers and batters would make something like a 25-column long stats, with a large portion of them unused for one type or the other.

Is there a way to make a seperate card-data file for batters, and for pitchers? Or is it possible to change what each stat is, so I can have them overlap in the same 12 columns or so?


  • Jr. Member
  • **
  • Posts: 61
  • Creator Mecha Warriors CCG; Discord xdarkgeox#5908
    • View Profile
    • Mecha Warriors Blogspot Site
Re: Having two different carddata.txt
« Reply #1 on: August 28, 2019, 11:26:01 PM »
yes you can have mutiple card data filed just name it carddata1 and carddata2. however the colums have to be exactly the same you cant have alterations of colums in the new carddata files. You should try to limit your plugin to like 10 colums max, you should have clear pictures so that all stats should be readable. Nobody wants to stare at a big blob overlay especially when trying to test the game out.


  • Full Member
  • ***
  • Posts: 233
  • MTG Plugin Maintainer
    • View Profile
Re: Having two different carddata.txt
« Reply #2 on: August 29, 2019, 08:59:52 PM »
Please bear with me, because I know nothing about baseball or what the actual stats are. But I imagine if you really wanted to cut down on columns, you could do something like:

Code: [Select]
Name | Role | Stat 1 | Stat 2
Pitcher 1 | Pitcher | Pitchstat1: 7.6 | Pitchstat2: 8.5
Batter 1 | Batter | Batstat1: 5.4 | Batstat2: 6.5

It involves a lot of repetition, but if you're generating your list from some kind of spreadsheet or database, that could be automated.