{"action":"created","issue":{"url":"https://api.github.com/repos/Endebert/squadmc/issues/4","repository_url":"https://api.github.com/repos/Endebert/squadmc","labels_url":"https://api.github.com/repos/Endebert/squadmc/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Endebert/squadmc/issues/4/comments","events_url":"https://api.github.com/repos/Endebert/squadmc/issues/4/events","html_url":"https://github.com/Endebert/squadmc/issues/4","id":298109185,"number":4,"title":"Height difference","user":{"login":"Endebert","id":9431420,"avatar_url":"https://avatars3.githubusercontent.com/u/9431420?v=4","gravatar_id":"","url":"https://api.github.com/users/Endebert","html_url":"https://github.com/Endebert","followers_url":"https://api.github.com/users/Endebert/followers","following_url":"https://api.github.com/users/Endebert/following{/other_user}","gists_url":"https://api.github.com/users/Endebert/gists{/gist_id}","starred_url":"https://api.github.com/users/Endebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Endebert/subscriptions","organizations_url":"https://api.github.com/users/Endebert/orgs","repos_url":"https://api.github.com/users/Endebert/repos","events_url":"https://api.github.com/users/Endebert/events{/privacy}","received_events_url":"https://api.github.com/users/Endebert/received_events","type":"User","site_admin":false},"labels":[{"id":800690606,"url":"https://api.github.com/repos/Endebert/squadmc/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-18T19:08:00Z","updated_at":"2018-03-06T23:40:30Z","closed_at":null,"author_association":"OWNER","body":"Code related steps to get this feature completed:\r\n- [x] create function to calculate elevation without the need of the mortar table\r\n- [x] enhance function so that height difference is taken into consideration\r\n- [x] load heightmap data\r\n- [x] calculate height based on pixel value and scaling factor\r\n\r\nThe hard part is done, now all that is needed is the heightmaps for each level.\r\n\r\n- [ ] Al Basrah\r\n- [ ] Belaya\r\n- [ ] Chora Valley\r\n- [x] Fool's Road\r\n- [ ] Operation First Light (Forest)\r\n- [ ] Gorodok\r\n- [ ] Jensen's Range\r\n- [x] Kohat Toi River Valley\r\n- [ ] Kokan\r\n- [ ] Logar Valley\r\n- [ ] Mestia\r\n- [ ] Narva\r\n- [x] Sumari Bala\r\n- [ ] Yehorivka\r\n\r\nFor each map, we need 4 things:\r\n1. exported heightmap as 16bit PNG\r\n2. Landscape Transform\r\n   ![screenshot 3](https://user-images.githubusercontent.com/9431420/36593480-1f6128ce-189a-11e8-98b7-a2ce0bf489b0.png)\r\n3. NW Minimap CornerMarker Transform\r\n   ![screenshot 1](https://user-images.githubusercontent.com/9431420/36593473-1ccbd708-189a-11e8-80f9-5b37478caeee.png)\r\n4. SE Minimap CornerMarker Transform\r\n   ![screenshot 2](https://user-images.githubusercontent.com/9431420/36593476-1e186536-189a-11e8-8636-489de2758039.png)\r\n\r\nWith that information, I can double-check the map sizes and crop  the heightmap to fit the minimap."},"comment":{"url":"https://api.github.com/repos/Endebert/squadmc/issues/comments/370969287","html_url":"https://github.com/Endebert/squadmc/issues/4#issuecomment-370969287","issue_url":"https://api.github.com/repos/Endebert/squadmc/issues/4","id":370969287,"user":{"login":"JamesLongman","id":26884414,"avatar_url":"https://avatars0.githubusercontent.com/u/26884414?v=4","gravatar_id":"","url":"https://api.github.com/users/JamesLongman","html_url":"https://github.com/JamesLongman","followers_url":"https://api.github.com/users/JamesLongman/followers","following_url":"https://api.github.com/users/JamesLongman/following{/other_user}","gists_url":"https://api.github.com/users/JamesLongman/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesLongman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesLongman/subscriptions","organizations_url":"https://api.github.com/users/JamesLongman/orgs","repos_url":"https://api.github.com/users/JamesLongman/repos","events_url":"https://api.github.com/users/JamesLongman/events{/privacy}","received_events_url":"https://api.github.com/users/JamesLongman/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T23:40:30Z","updated_at":"2018-03-06T23:40:30Z","author_association":"NONE","body":"Looks good, good to see someone's working on tackling this problem"}}
{"actor":{"display_login":"JamesLongman"}}