9
« on: September 26, 2017, 08:25:08 pm »
Well I have completed basic code that will display full 2-digit stats up to 99. I have given up on going past 99 for any of the mods that allow for more than 99 because it will simply not allow more than a few 3-digit stats on any display because of display limits.
The code is just a bunch of manual typing of blocks for each desired stat, with the limit being roughly 7 stats if using more than a few capital letters for readability. You might get one or two more if you use all small letters for the stat ID.
This is strictly for my own use as I don't have a need for Soldier Names, and I mourn the loss of T54B55s40F60r52P50p as much as Joe Miller.
You can change which stats you use just by mass-replace a block with the proper stat string letter(s).
I don't think this is worth publishing for a few reasons:
1. At some point depending on the number of stats, it will truncate the entire line on most screens, not allowing any Soldier Names or other text ID in that location.
2. I don't know how to or if there is code function that would allow an interface to allow for a GUI selection for which stats to place into the mod, which means anyone wishing different stats would always have to manually block replace the text, with the chance of editing errors depending on the editor used. Even with NP++ and Yaml settings it was very easy to make a mistake in a single space or character.
So I leave the code here if there is any desire to incorporate it for personal use or any other mods that might be able to use it.
Thanks for all the help from the real coders here, eventually I'll learn enough to really make a contribution.
# TIME UNITS 10's
- string: "T"
tu: [0, ~]
- string: "1"
tu: [10, 19]
- string: "2"
tu: [20, 29]
- string: "3"
tu: [30, 39]
- string: "4"
tu: [40, 49]
- string: "5"
tu: [50, 59]
- string: "6"
tu: [60, 69]
- string: "7"
tu: [70, 79]
- string: "8"
tu: [80, 89]
- string: "9"
tu: [90, 99]
# TIME UNITS Ones
- string: "0"
tu: [10, 10]
- string: "1"
tu: [11, 11]
- string: "2"
tu: [12, 12]
- string: "3"
tu: [13, 13]
- string: "4"
tu: [14, 14]
- string: "5"
tu: [15, 15]
- string: "6"
tu: [16, 16]
- string: "7"
tu: [17, 17]
- string: "8"
tu: [18, 18]
- string: "9"
tu: [19, 19]
- string: "0"
tu: [20, 20]
- string: "1"
tu: [21, 21]
- string: "2"
tu: [22, 22]
- string: "3"
tu: [23, 23]
- string: "4"
tu: [24, 24]
- string: "5"
tu: [25, 25]
- string: "6"
tu: [26, 26]
- string: "7"
tu: [27, 27]
- string: "8"
tu: [28, 28]
- string: "9"
tu: [29, 29]
- string: "0"
tu: [30, 30]
- string: "1"
tu: [31, 31]
- string: "2"
tu: [32, 32]
- string: "3"
tu: [33, 33]
- string: "4"
tu: [34, 34]
- string: "5"
tu: [35, 35]
- string: "6"
tu: [36, 36]
- string: "7"
tu: [37, 37]
- string: "8"
tu: [38, 38]
- string: "9"
tu: [39, 39]
- string: "0"
tu: [40, 40]
- string: "1"
tu: [41, 41]
- string: "2"
tu: [42, 42]
- string: "3"
tu: [43, 43]
- string: "4"
tu: [44, 44]
- string: "5"
tu: [45, 45]
- string: "6"
tu: [46, 46]
- string: "7"
tu: [47, 47]
- string: "8"
tu: [48, 48]
- string: "9"
tu: [49, 49]
- string: "0"
tu: [50, 50]
- string: "1"
tu: [51, 51]
- string: "2"
tu: [52, 52]
- string: "3"
tu: [53, 53]
- string: "4"
tu: [54, 54]
- string: "5"
tu: [55, 55]
- string: "6"
tu: [56, 56]
- string: "7"
tu: [57, 57]
- string: "8"
tu: [58, 58]
- string: "9"
tu: [59, 59]
- string: "0"
tu: [60, 60]
- string: "1"
tu: [61, 61]
- string: "2"
tu: [62, 62]
- string: "3"
tu: [63, 63]
- string: "4"
tu: [64, 64]
- string: "5"
tu: [65, 65]
- string: "6"
tu: [66, 66]
- string: "7"
tu: [67, 67]
- string: "8"
tu: [68, 68]
- string: "9"
tu: [69, 69]
- string: "0"
tu: [70, 70]
- string: "1"
tu: [71, 71]
- string: "2"
tu: [72, 72]
- string: "3"
tu: [73, 73]
- string: "4"
tu: [74, 74]
- string: "5"
tu: [75, 75]
- string: "6"
tu: [76, 76]
- string: "7"
tu: [77, 77]
- string: "8"
tu: [78, 78]
- string: "9"
tu: [79, 79]
- string: "0"
tu: [80, 80]
- string: "1"
tu: [81, 81]
- string: "2"
tu: [82, 82]
- string: "3"
tu: [83, 83]
- string: "4"
tu: [84, 84]
- string: "5"
tu: [85, 85]
- string: "6"
tu: [86, 86]
- string: "7"
tu: [87, 87]
- string: "8"
tu: [88, 88]
- string: "9"
tu: [89, 89]
- string: "0"
tu: [90, 90]
- string: "1"
tu: [91, 91]
- string: "2"
tu: [92, 92]
- string: "3"
tu: [93, 93]
- string: "4"
tu: [94, 94]
- string: "5"
tu: [95, 95]
- string: "6"
tu: [96, 96]
- string: "7"
tu: [97, 97]
- string: "8"
tu: [98, 98]
- string: "9"
tu: [99, 99]