{"action":"created","issue":{"url":"https://api.github.com/repos/iamgreaser/iceball/issues/162","labels_url":"https://api.github.com/repos/iamgreaser/iceball/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/iamgreaser/iceball/issues/162/comments","events_url":"https://api.github.com/repos/iamgreaser/iceball/issues/162/events","html_url":"https://github.com/iamgreaser/iceball/issues/162","id":57875947,"number":162,"title":"Customisable crosshairs","user":{"login":"rakiru","id":569238,"avatar_url":"https://avatars.githubusercontent.com/u/569238?v=3","gravatar_id":"","url":"https://api.github.com/users/rakiru","html_url":"https://github.com/rakiru","followers_url":"https://api.github.com/users/rakiru/followers","following_url":"https://api.github.com/users/rakiru/following{/other_user}","gists_url":"https://api.github.com/users/rakiru/gists{/gist_id}","starred_url":"https://api.github.com/users/rakiru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakiru/subscriptions","organizations_url":"https://api.github.com/users/rakiru/orgs","repos_url":"https://api.github.com/users/rakiru/repos","events_url":"https://api.github.com/users/rakiru/events{/privacy}","received_events_url":"https://api.github.com/users/rakiru/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iamgreaser/iceball/labels/base%20game","name":"base game","color":"FA1FA1"},{"url":"https://api.github.com/repos/iamgreaser/iceball/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"rakiru","id":569238,"avatar_url":"https://avatars.githubusercontent.com/u/569238?v=3","gravatar_id":"","url":"https://api.github.com/users/rakiru","html_url":"https://github.com/rakiru","followers_url":"https://api.github.com/users/rakiru/followers","following_url":"https://api.github.com/users/rakiru/following{/other_user}","gists_url":"https://api.github.com/users/rakiru/gists{/gist_id}","starred_url":"https://api.github.com/users/rakiru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakiru/subscriptions","organizations_url":"https://api.github.com/users/rakiru/orgs","repos_url":"https://api.github.com/users/rakiru/repos","events_url":"https://api.github.com/users/rakiru/events{/privacy}","received_events_url":"https://api.github.com/users/rakiru/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-02-17T02:26:07Z","updated_at":"2015-03-01T06:11:09Z","closed_at":"2015-03-01T05:22:20Z","body":"No, I don't mean the image crosshairs that AoS had. I mean something similar to the system in Counter Strike games. Basically, a bunch of cvars (or in this case, config options) defining attributes of it. Something like this would be the current crosshair:\r\n\r\n\t\"crosshair\": {\r\n\t\t\"dot\": true,\r\n\t\t\"size\": 5,\r\n\t\t\"thickness\": 1.0\r\n\t\t\"gap\": 2,\r\n\t\t\"colour\": [255, 0, 0],\r\n\t\t\"alpha\": 255,\r\n\t\t\"outline\": false,\r\n\t\t\"outline_colour\": [0, 0, 0],\r\n\t\t\"outline_thickness\": 1\r\n\t}\r\n\r\nThis could simply be rendered to a texture on load, which can then be used as the current one is."},"comment":{"url":"https://api.github.com/repos/iamgreaser/iceball/issues/comments/76578501","html_url":"https://github.com/iamgreaser/iceball/issues/162#issuecomment-76578501","issue_url":"https://api.github.com/repos/iamgreaser/iceball/issues/162","id":76578501,"user":{"login":"rakiru","id":569238,"avatar_url":"https://avatars.githubusercontent.com/u/569238?v=3","gravatar_id":"","url":"https://api.github.com/users/rakiru","html_url":"https://github.com/rakiru","followers_url":"https://api.github.com/users/rakiru/followers","following_url":"https://api.github.com/users/rakiru/following{/other_user}","gists_url":"https://api.github.com/users/rakiru/gists{/gist_id}","starred_url":"https://api.github.com/users/rakiru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakiru/subscriptions","organizations_url":"https://api.github.com/users/rakiru/orgs","repos_url":"https://api.github.com/users/rakiru/repos","events_url":"https://api.github.com/users/rakiru/events{/privacy}","received_events_url":"https://api.github.com/users/rakiru/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T06:11:09Z","updated_at":"2015-03-01T06:11:09Z","body":"A few example:\r\n\r\nhttps://dl.dropbox.com/u/7298729/ZScreen/2015-03/Iceball__FPS_139-2015-03-01_06.03.57.png\r\n\r\n\t\"crosshair\": {\r\n\t\t\"dot\": true,\r\n\t\t\"lines\": true,\r\n\t\t\"size\": 10,\r\n\t\t\"thickness\": 1,\r\n\t\t\"gap\": 2,\r\n\t\t\"colour\": [255, 255, 0],\r\n\t\t\"outline\": false,\r\n\t\t\"outline_colour\": [0, 0, 0],\r\n\t\t\"outline_thickness\": 1,\r\n\t\t\"style\": \"classic\"\r\n\t}\r\n\r\nhttps://dl.dropbox.com/u/7298729/ZScreen/2015-03/Iceball__FPS_130-2015-03-01_06.05.31.png\r\n\r\n\t\"crosshair\": {\r\n\t\t\"dot\": true,\r\n\t\t\"lines\": true,\r\n\t\t\"size\": 5,\r\n\t\t\"thickness\": 3,\r\n\t\t\"gap\": 2,\r\n\t\t\"colour\": [0, 255, 0],\r\n\t\t\"outline\": true,\r\n\t\t\"outline_colour\": [0, 127, 127],\r\n\t\t\"outline_thickness\": 1,\r\n\t\t\"style\": \"classic\"\r\n\t}\r\n\r\nhttps://dl.dropbox.com/u/7298729/ZScreen/2015-03/Iceball__FPS_133-2015-03-01_06.06.52.png\r\n\r\n\t\"crosshair\": {\r\n\t\t\"dot\": true,\r\n\t\t\"lines\": false,\r\n\t\t\"size\": 2,\r\n\t\t\"thickness\": 3,\r\n\t\t\"gap\": 2,\r\n\t\t\"colour\": [255, 0, 255],\r\n\t\t\"outline\": false,\r\n\t\t\"outline_colour\": [0, 127, 127],\r\n\t\t\"outline_thickness\": 1,\r\n\t\t\"style\": \"classic\"\r\n\t}\r\n\r\nhttps://dl.dropbox.com/u/7298729/ZScreen/2015-03/Iceball__FPS_142-2015-03-01_06.10.14.png\r\n\r\n\t\"crosshair\": {\r\n\t\t\"dot\": false,\r\n\t\t\"lines\": true,\r\n\t\t\"size\": 2,\r\n\t\t\"thickness\": 11,\r\n\t\t\"gap\": 5,\r\n\t\t\"colour\": [255, 0, 0],\r\n\t\t\"outline\": false,\r\n\t\t\"outline_colour\": [0, 0, 0],\r\n\t\t\"outline_thickness\": 1,\r\n\t\t\"style\": \"classic\"\r\n\t}"}}