{"action":"opened","issue":{"url":"https://api.github.com/repos/ciber96/mtadayz/issues/25","repository_url":"https://api.github.com/repos/ciber96/mtadayz","labels_url":"https://api.github.com/repos/ciber96/mtadayz/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/ciber96/mtadayz/issues/25/comments","events_url":"https://api.github.com/repos/ciber96/mtadayz/issues/25/events","html_url":"https://github.com/ciber96/mtadayz/issues/25","id":211642300,"number":25,"title":"Rework Zombie Spawning System","user":{"login":"mtadayz","id":14334938,"avatar_url":"https://avatars2.githubusercontent.com/u/14334938?v=3","gravatar_id":"","url":"https://api.github.com/users/mtadayz","html_url":"https://github.com/mtadayz","followers_url":"https://api.github.com/users/mtadayz/followers","following_url":"https://api.github.com/users/mtadayz/following{/other_user}","gists_url":"https://api.github.com/users/mtadayz/gists{/gist_id}","starred_url":"https://api.github.com/users/mtadayz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtadayz/subscriptions","organizations_url":"https://api.github.com/users/mtadayz/orgs","repos_url":"https://api.github.com/users/mtadayz/repos","events_url":"https://api.github.com/users/mtadayz/events{/privacy}","received_events_url":"https://api.github.com/users/mtadayz/received_events","type":"User","site_admin":false},"labels":[{"id":544968574,"url":"https://api.github.com/repos/ciber96/mtadayz/labels/bug","name":"bug","color":"ee0701","default":true},{"id":544968576,"url":"https://api.github.com/repos/ciber96/mtadayz/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":544968577,"url":"https://api.github.com/repos/ciber96/mtadayz/labels/feedback","name":"feedback","color":"128A0C","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-03T09:53:36Z","updated_at":"2017-03-03T09:53:36Z","closed_at":null,"body":"The aim is to rework the current zombie spawn system.\r\n\r\nInstead of letting zombies spawn every 3 seconds or so, they'll spawn at designated points, with a variable (gameplayVariables[\"maxglobalzombies\"]) determining how many zombies can exist per world, to avoid putting too much strain on both client and server. \r\n\r\nMy idea here is to let zombies spawn near lootpoints, to make them a bit more threatening (you want the loot, better find a way to avoid the zombies). Also, right now, when you crouch, zombies will instantly stop hunting you, and what's more, even if they do so much as touch you, nothing will happen as long as your visibility and audability value is 0. Perhaps a check to see if the zombie is within a certain distance to the Player (getDistanceBetweenPoints3D) might do the trick here.\r\n\r\nAnother problem is that zombies also will stop hunting you and go back to roaming mode when your audability value drops below a certain treshold. \r\n\r\nThe file that handles this is movement_zombies.lua, which can be found in handlers/zombies/client.\r\n\r\nThis issue is an elaborated version of issue #18.\r\n"}}
{"actor":{"display_login":"mtadayz"}}