{"action":"opened","issue":{"url":"https://api.github.com/repos/acemod/ACE3/issues/460","labels_url":"https://api.github.com/repos/acemod/ACE3/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/acemod/ACE3/issues/460/comments","events_url":"https://api.github.com/repos/acemod/ACE3/issues/460/events","html_url":"https://github.com/acemod/ACE3/issues/460","id":67690185,"number":460,"title":"Network Enabled Laser Simulation","user":{"login":"NouberNou","id":9345914,"avatar_url":"https://avatars.githubusercontent.com/u/9345914?v=3","gravatar_id":"","url":"https://api.github.com/users/NouberNou","html_url":"https://github.com/NouberNou","followers_url":"https://api.github.com/users/NouberNou/followers","following_url":"https://api.github.com/users/NouberNou/following{/other_user}","gists_url":"https://api.github.com/users/NouberNou/gists{/gist_id}","starred_url":"https://api.github.com/users/NouberNou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NouberNou/subscriptions","organizations_url":"https://api.github.com/users/NouberNou/orgs","repos_url":"https://api.github.com/users/NouberNou/repos","events_url":"https://api.github.com/users/NouberNou/events{/privacy}","received_events_url":"https://api.github.com/users/NouberNou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/acemod/ACE3/labels/task","name":"task","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/acemod/ACE3/milestones/1","html_url":"https://github.com/acemod/ACE3/milestones/3.0.0","labels_url":"https://api.github.com/repos/acemod/ACE3/milestones/1/labels","id":931224,"number":1,"title":"3.0.0","description":"inital release","creator":{"login":"bux578","id":1235520,"avatar_url":"https://avatars.githubusercontent.com/u/1235520?v=3","gravatar_id":"","url":"https://api.github.com/users/bux578","html_url":"https://github.com/bux578","followers_url":"https://api.github.com/users/bux578/followers","following_url":"https://api.github.com/users/bux578/following{/other_user}","gists_url":"https://api.github.com/users/bux578/gists{/gist_id}","starred_url":"https://api.github.com/users/bux578/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bux578/subscriptions","organizations_url":"https://api.github.com/users/bux578/orgs","repos_url":"https://api.github.com/users/bux578/repos","events_url":"https://api.github.com/users/bux578/events{/privacy}","received_events_url":"https://api.github.com/users/bux578/received_events","type":"User","site_admin":false},"open_issues":41,"closed_issues":191,"state":"open","created_at":"2015-01-12T09:52:41Z","updated_at":"2015-04-10T21:44:50Z","due_on":"2015-04-07T22:00:00Z","closed_at":null},"comments":0,"created_at":"2015-04-10T21:44:50Z","updated_at":"2015-04-10T21:44:50Z","closed_at":null,"body":"Jay and I discussed this approach...\r\n\r\nEssentially units/vehicles will employ an event based system for laser designation that will calculate lasers locally. A \"on\" event will be broadcast to all players/server. The event will contain the object shooting the laser, the owner, and then one of the following parameters types, either a set of memory points to determine the position and vector of the laser origin, a memory point for the position, and a weapon name, or a function (either code, or a string function name) that returns the position and vector (with the object passed to that function). Additional information can include the laser code, frequency, whatever else is needed, etc.\r\n\r\nThat event will add that information to a list of active lasers. The list of active lasers will then be queried by functionality that needs to return lasers, either their spots (guidance) or their cast rays (for night vision, etc, if needed, though a simpler laser system or the existing might be better here).\r\n\r\nGuidance systems will then be able to determine the strongest laser return locally and then switch guidance to the owner of the strongest laser (for more accurate laser following).\r\n\r\nAn \"off\" event will remove the laser from the active laser list."}}