Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.  * Default
  3.  * Version: 1.0
  4.  */
  5.  
  6. defaults: {
  7.     /* Global Defaults */
  8.     font: "DejaVuSans.ttf",
  9.     size: 7,
  10.     /* Avatars will always be 60x60 with a similar gradient */
  11.     avatar: {
  12.         w: 60, h: 60,
  13.         preImg: [{
  14.             w: 60, h: 60,
  15.             src: "images/{$section}_gradient.png"
  16.         }],
  17.         border: {
  18.             size: 2
  19.         }
  20.     },
  21.     border: {
  22.         size: 1,
  23.         color: [142, 155, 176]
  24.     },
  25.    
  26.     /* Section Defaults */
  27.     top: {
  28.         x: 382 - $w,
  29.         color: [66, 73, 86],
  30.        
  31.         avatar: {
  32.             x: 391, y: 14
  33.         },
  34.         username: {
  35.             y: 22,
  36.             size: 9
  37.         }
  38.     },
  39.    
  40.     bottom: {
  41.         x: 88,
  42.         color: [193, 211, 240],
  43.        
  44.         avatar: {
  45.             x: 18, y: 78
  46.         },
  47.         username: {
  48.             y: 100,
  49.             size: 9
  50.         }
  51.     }
  52. }
  53.  
  54. psn: {
  55.     /* PSN Globals */
  56.     level: {
  57.         preText: "Level: "
  58.     },
  59.     trophies: {
  60.         postImg: [{
  61.             x: -13, y: -9,
  62.             w: 9, h: 9,
  63.             src: "images/psn_trophy_{$i}.png"
  64.         }]
  65.     },
  66.     games: {
  67.         limit: 5,
  68.         preImg: [{
  69.             src: "images/{$section}_gradient.png"
  70.         }]
  71.     },
  72.    
  73.     /* Sections */
  74.     top: {
  75.         level: {
  76.             y: 36
  77.         },
  78.         trophies: {
  79.             y: 49 + ($i * 11)
  80.         },
  81.         games: {
  82.             x: 40 + ($i * 62), y: 24 + ($i * 7),
  83.             w: 53, h: 28
  84.         }
  85.     },
  86.    
  87.     bottom: {
  88.         level: {
  89.             y: 114
  90.         },
  91.         trophies: {
  92.             x: 101 + (($i % 2) * 37), y: 128 + ($i < 2 ? 0 : 11)
  93.         },
  94.         games: {
  95.             x: 180 + (56 * $i), y: 110,
  96.             w: 48, h: 26
  97.         }
  98.     }
  99. }
  100.  
  101. live: {
  102.     /* Live Globals */
  103.     rep: {
  104.         dontApply: true,
  105.         postImg: [{
  106.             y: -7,
  107.             w: 46, h: 7,
  108.             src: "images/{$section}_rep_{$value}.png"
  109.         }]
  110.     },
  111.     zone: {
  112.         preText: "Zone: "
  113.     },
  114.     score: {
  115.         preText: "GM: "
  116.     },
  117.     games: {
  118.         limit: 5
  119.     },
  120.    
  121.     /* Sections */
  122.     top: {
  123.         zone: {
  124.             y: 36
  125.         },
  126.         score: {
  127.             y: 49
  128.         },
  129.         rep: {
  130.             x: 338, y: 62
  131.         },
  132.         games: {
  133.             x: 85 + (48 * $i), y: 22 + ($i * 6),
  134.             w: 40, h: 40
  135.         }
  136.     },
  137.    
  138.     bottom: {
  139.         rep: {
  140.             y: 112
  141.         },
  142.         zone: {
  143.             y: 125
  144.         },
  145.         score: {
  146.             y: 138
  147.         },
  148.         games: {
  149.             x: 205 + (50 * $i), y: 101,
  150.             w: 40, h: 40
  151.         }
  152.     }
  153. }
  154.  
  155. steam: {
  156.     /* Steam Globals */
  157.     rating: {
  158.         preText: "Rating: "
  159.     },
  160.     time: {
  161.         preText: "Past 2wks: "
  162.     },
  163.     games: {
  164.         w: 80, h: 30,
  165.         limit: 3
  166.     },
  167.    
  168.     /* Sections */
  169.     top: {
  170.         rating: {
  171.             y: 36
  172.         },
  173.         text: {
  174.             y: 49
  175.         },
  176.         time: {
  177.             y: 62
  178.         },
  179.         games: {
  180.             x: 48 + (90 * $i), y: 25 + (13 * $i)
  181.         }
  182.     },
  183.    
  184.     bottom: {
  185.         rating: {
  186.             y: 113
  187.         },
  188.         text: {
  189.             y: 125
  190.         },
  191.         time: {
  192.             y: 137
  193.         },
  194.         games: {
  195.             x: 195 + (87 * $i), y: 105
  196.         }
  197.     }
  198. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement