{"action":"closed","number":42,"pull_request":{"url":"https://api.github.com/repos/fortressforever/fortressforever/pulls/42","id":23709246,"html_url":"https://github.com/fortressforever/fortressforever/pull/42","diff_url":"https://github.com/fortressforever/fortressforever/pull/42.diff","patch_url":"https://github.com/fortressforever/fortressforever/pull/42.patch","issue_url":"https://api.github.com/repos/fortressforever/fortressforever/issues/42","number":42,"state":"closed","locked":false,"title":"Tweaked damage indicators depending on incoming damage","user":{"login":"mikeparker","id":1557887,"avatar_url":"https://avatars.githubusercontent.com/u/1557887?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeparker","html_url":"https://github.com/mikeparker","followers_url":"https://api.github.com/users/mikeparker/followers","following_url":"https://api.github.com/users/mikeparker/following{/other_user}","gists_url":"https://api.github.com/users/mikeparker/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeparker/subscriptions","organizations_url":"https://api.github.com/users/mikeparker/orgs","repos_url":"https://api.github.com/users/mikeparker/repos","events_url":"https://api.github.com/users/mikeparker/events{/privacy}","received_events_url":"https://api.github.com/users/mikeparker/received_events","type":"User","site_admin":false},"body":"Previously, when you got hit by anything, a damage indicator flashed up on screen with a set visibility and a set fade time:\r\n\r\n\tAnimate HudDamageIndicator DmgColorRight\t\t\"255 88 0 200\"\tLinear 0.0 0.0\r\n\tAnimate HudDamageIndicator DmgColorRight\t\t\"255 0 0 200\"\tLinear 0.0 0.3\r\n\tAnimate HudDamageIndicator DmgColorRight\t\t\"255 0 0 0\"\tDeaccel 0.3 0.5\r\n\r\nI've now added a \"weak hit\" and a \"strong hit\", which flash slightly less/more strongly (less/more alpha) and for less/more time, based on how much damage you took.\r\n\r\nWeak - less than 30 dmg\r\n\tAnimate HudDamageIndicator DmgColorRight\t\t\"255 88 0 150\"\tLinear 0.0 0.0\r\n\tAnimate HudDamageIndicator DmgColorRight\t\t\"255 0 0 150\"\tLinear 0.0 0.2\r\n\tAnimate HudDamageIndicator DmgColorRight\t\t\"255 0 0 0\"\tDeaccel 0.2 0.3\r\n\r\nMedium - between 30 and 60 dmg\r\n\tAnimate HudDamageIndicator DmgColorRight\t\t\"255 88 0 200\"\tLinear 0.0 0.0\r\n\tAnimate HudDamageIndicator DmgColorRight\t\t\"255 0 0 200\"\tLinear 0.0 0.3\r\n\tAnimate HudDamageIndicator DmgColorRight\t\t\"255 0 0 0\"\tDeaccel\t0.3 0.5\r\n\r\nStrong - above 60 dmg\r\n\tAnimate HudDamageIndicator DmgColorRight\t\t\"255 88 0 255\"\tLinear 0.0 0.0\r\n\tAnimate HudDamageIndicator DmgColorRight\t\t\"255 0 0 200\"\tLinear 0.0 0.4\r\n\tAnimate HudDamageIndicator DmgColorRight\t\t\"255 0 0 0\"\tDeaccel\t0.4 0.7\r\n\r\nThis requires the updated HudAnimations.txt also.\r\n\r\nThis means when you get shot you can tell to some extent how much damage you took purely based on the damage indicator. I did a \"best guess\" at colours, times and damage amounts, but it could do with some testing really.","created_at":"2014-10-31T22:12:46Z","updated_at":"2015-03-22T12:31:17Z","closed_at":"2015-03-22T12:31:17Z","merged_at":"2015-03-22T12:31:17Z","merge_commit_sha":"1cb558e5ce2228081ac3d56f5b47f0602edc2650","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fortressforever/fortressforever/pulls/42/commits","review_comments_url":"https://api.github.com/repos/fortressforever/fortressforever/pulls/42/comments","review_comment_url":"https://api.github.com/repos/fortressforever/fortressforever/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fortressforever/fortressforever/issues/42/comments","statuses_url":"https://api.github.com/repos/fortressforever/fortressforever/statuses/2c6306b4235ff2d409d44b403b7d97f506ab881e","head":{"label":"mikeparker:features/improve-damage-indicators","ref":"features/improve-damage-indicators","sha":"2c6306b4235ff2d409d44b403b7d97f506ab881e","user":{"login":"mikeparker","id":1557887,"avatar_url":"https://avatars.githubusercontent.com/u/1557887?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeparker","html_url":"https://github.com/mikeparker","followers_url":"https://api.github.com/users/mikeparker/followers","following_url":"https://api.github.com/users/mikeparker/following{/other_user}","gists_url":"https://api.github.com/users/mikeparker/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeparker/subscriptions","organizations_url":"https://api.github.com/users/mikeparker/orgs","repos_url":"https://api.github.com/users/mikeparker/repos","events_url":"https://api.github.com/users/mikeparker/events{/privacy}","received_events_url":"https://api.github.com/users/mikeparker/received_events","type":"User","site_admin":false},"repo":{"id":25489781,"name":"fortressforever","full_name":"mikeparker/fortressforever","owner":{"login":"mikeparker","id":1557887,"avatar_url":"https://avatars.githubusercontent.com/u/1557887?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeparker","html_url":"https://github.com/mikeparker","followers_url":"https://api.github.com/users/mikeparker/followers","following_url":"https://api.github.com/users/mikeparker/following{/other_user}","gists_url":"https://api.github.com/users/mikeparker/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeparker/subscriptions","organizations_url":"https://api.github.com/users/mikeparker/orgs","repos_url":"https://api.github.com/users/mikeparker/repos","events_url":"https://api.github.com/users/mikeparker/events{/privacy}","received_events_url":"https://api.github.com/users/mikeparker/received_events","type":"User","site_admin":false},"private":true,"html_url":"https://github.com/mikeparker/fortressforever","description":"A Team Fortress mod on the Source Engine","fork":false,"url":"https://api.github.com/repos/mikeparker/fortressforever","forks_url":"https://api.github.com/repos/mikeparker/fortressforever/forks","keys_url":"https://api.github.com/repos/mikeparker/fortressforever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikeparker/fortressforever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikeparker/fortressforever/teams","hooks_url":"https://api.github.com/repos/mikeparker/fortressforever/hooks","issue_events_url":"https://api.github.com/repos/mikeparker/fortressforever/issues/events{/number}","events_url":"https://api.github.com/repos/mikeparker/fortressforever/events","assignees_url":"https://api.github.com/repos/mikeparker/fortressforever/assignees{/user}","branches_url":"https://api.github.com/repos/mikeparker/fortressforever/branches{/branch}","tags_url":"https://api.github.com/repos/mikeparker/fortressforever/tags","blobs_url":"https://api.github.com/repos/mikeparker/fortressforever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikeparker/fortressforever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikeparker/fortressforever/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikeparker/fortressforever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikeparker/fortressforever/statuses/{sha}","languages_url":"https://api.github.com/repos/mikeparker/fortressforever/languages","stargazers_url":"https://api.github.com/repos/mikeparker/fortressforever/stargazers","contributors_url":"https://api.github.com/repos/mikeparker/fortressforever/contributors","subscribers_url":"https://api.github.com/repos/mikeparker/fortressforever/subscribers","subscription_url":"https://api.github.com/repos/mikeparker/fortressforever/subscription","commits_url":"https://api.github.com/repos/mikeparker/fortressforever/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikeparker/fortressforever/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikeparker/fortressforever/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikeparker/fortressforever/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikeparker/fortressforever/contents/{+path}","compare_url":"https://api.github.com/repos/mikeparker/fortressforever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikeparker/fortressforever/merges","archive_url":"https://api.github.com/repos/mikeparker/fortressforever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikeparker/fortressforever/downloads","issues_url":"https://api.github.com/repos/mikeparker/fortressforever/issues{/number}","pulls_url":"https://api.github.com/repos/mikeparker/fortressforever/pulls{/number}","milestones_url":"https://api.github.com/repos/mikeparker/fortressforever/milestones{/number}","notifications_url":"https://api.github.com/repos/mikeparker/fortressforever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikeparker/fortressforever/labels{/name}","releases_url":"https://api.github.com/repos/mikeparker/fortressforever/releases{/id}","created_at":"2014-10-20T22:35:51Z","updated_at":"2014-11-29T00:21:42Z","pushed_at":"2014-11-11T00:32:55Z","git_url":"git://github.com/mikeparker/fortressforever.git","ssh_url":"git@github.com:mikeparker/fortressforever.git","clone_url":"https://github.com/mikeparker/fortressforever.git","svn_url":"https://github.com/mikeparker/fortressforever","homepage":"http://www.fortress-forever.com","size":72111,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"beta"}},"base":{"label":"fortressforever:beta","ref":"beta","sha":"54de4243cfa621308dda0e334121994db6baeb33","user":{"login":"fortressforever","id":2388970,"avatar_url":"https://avatars.githubusercontent.com/u/2388970?v=3","gravatar_id":"","url":"https://api.github.com/users/fortressforever","html_url":"https://github.com/fortressforever","followers_url":"https://api.github.com/users/fortressforever/followers","following_url":"https://api.github.com/users/fortressforever/following{/other_user}","gists_url":"https://api.github.com/users/fortressforever/gists{/gist_id}","starred_url":"https://api.github.com/users/fortressforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fortressforever/subscriptions","organizations_url":"https://api.github.com/users/fortressforever/orgs","repos_url":"https://api.github.com/users/fortressforever/repos","events_url":"https://api.github.com/users/fortressforever/events{/privacy}","received_events_url":"https://api.github.com/users/fortressforever/received_events","type":"Organization","site_admin":false},"repo":{"id":25147931,"name":"fortressforever","full_name":"fortressforever/fortressforever","owner":{"login":"fortressforever","id":2388970,"avatar_url":"https://avatars.githubusercontent.com/u/2388970?v=3","gravatar_id":"","url":"https://api.github.com/users/fortressforever","html_url":"https://github.com/fortressforever","followers_url":"https://api.github.com/users/fortressforever/followers","following_url":"https://api.github.com/users/fortressforever/following{/other_user}","gists_url":"https://api.github.com/users/fortressforever/gists{/gist_id}","starred_url":"https://api.github.com/users/fortressforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fortressforever/subscriptions","organizations_url":"https://api.github.com/users/fortressforever/orgs","repos_url":"https://api.github.com/users/fortressforever/repos","events_url":"https://api.github.com/users/fortressforever/events{/privacy}","received_events_url":"https://api.github.com/users/fortressforever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fortressforever/fortressforever","description":"A Team Fortress mod on the Source Engine","fork":false,"url":"https://api.github.com/repos/fortressforever/fortressforever","forks_url":"https://api.github.com/repos/fortressforever/fortressforever/forks","keys_url":"https://api.github.com/repos/fortressforever/fortressforever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fortressforever/fortressforever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fortressforever/fortressforever/teams","hooks_url":"https://api.github.com/repos/fortressforever/fortressforever/hooks","issue_events_url":"https://api.github.com/repos/fortressforever/fortressforever/issues/events{/number}","events_url":"https://api.github.com/repos/fortressforever/fortressforever/events","assignees_url":"https://api.github.com/repos/fortressforever/fortressforever/assignees{/user}","branches_url":"https://api.github.com/repos/fortressforever/fortressforever/branches{/branch}","tags_url":"https://api.github.com/repos/fortressforever/fortressforever/tags","blobs_url":"https://api.github.com/repos/fortressforever/fortressforever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fortressforever/fortressforever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fortressforever/fortressforever/git/refs{/sha}","trees_url":"https://api.github.com/repos/fortressforever/fortressforever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fortressforever/fortressforever/statuses/{sha}","languages_url":"https://api.github.com/repos/fortressforever/fortressforever/languages","stargazers_url":"https://api.github.com/repos/fortressforever/fortressforever/stargazers","contributors_url":"https://api.github.com/repos/fortressforever/fortressforever/contributors","subscribers_url":"https://api.github.com/repos/fortressforever/fortressforever/subscribers","subscription_url":"https://api.github.com/repos/fortressforever/fortressforever/subscription","commits_url":"https://api.github.com/repos/fortressforever/fortressforever/commits{/sha}","git_commits_url":"https://api.github.com/repos/fortressforever/fortressforever/git/commits{/sha}","comments_url":"https://api.github.com/repos/fortressforever/fortressforever/comments{/number}","issue_comment_url":"https://api.github.com/repos/fortressforever/fortressforever/issues/comments{/number}","contents_url":"https://api.github.com/repos/fortressforever/fortressforever/contents/{+path}","compare_url":"https://api.github.com/repos/fortressforever/fortressforever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fortressforever/fortressforever/merges","archive_url":"https://api.github.com/repos/fortressforever/fortressforever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fortressforever/fortressforever/downloads","issues_url":"https://api.github.com/repos/fortressforever/fortressforever/issues{/number}","pulls_url":"https://api.github.com/repos/fortressforever/fortressforever/pulls{/number}","milestones_url":"https://api.github.com/repos/fortressforever/fortressforever/milestones{/number}","notifications_url":"https://api.github.com/repos/fortressforever/fortressforever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fortressforever/fortressforever/labels{/name}","releases_url":"https://api.github.com/repos/fortressforever/fortressforever/releases{/id}","created_at":"2014-10-13T07:21:19Z","updated_at":"2015-03-22T07:07:07Z","pushed_at":"2015-03-22T12:31:17Z","git_url":"git://github.com/fortressforever/fortressforever.git","ssh_url":"git@github.com:fortressforever/fortressforever.git","clone_url":"https://github.com/fortressforever/fortressforever.git","svn_url":"https://github.com/fortressforever/fortressforever","homepage":"http://www.fortress-forever.com","size":73695,"stargazers_count":13,"watchers_count":13,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":63,"forks":7,"open_issues":63,"watchers":13,"default_branch":"beta"}},"_links":{"self":{"href":"https://api.github.com/repos/fortressforever/fortressforever/pulls/42"},"html":{"href":"https://github.com/fortressforever/fortressforever/pull/42"},"issue":{"href":"https://api.github.com/repos/fortressforever/fortressforever/issues/42"},"comments":{"href":"https://api.github.com/repos/fortressforever/fortressforever/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/fortressforever/fortressforever/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/fortressforever/fortressforever/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fortressforever/fortressforever/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/fortressforever/fortressforever/statuses/2c6306b4235ff2d409d44b403b7d97f506ab881e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"AfterShockFF","id":10003487,"avatar_url":"https://avatars.githubusercontent.com/u/10003487?v=3","gravatar_id":"","url":"https://api.github.com/users/AfterShockFF","html_url":"https://github.com/AfterShockFF","followers_url":"https://api.github.com/users/AfterShockFF/followers","following_url":"https://api.github.com/users/AfterShockFF/following{/other_user}","gists_url":"https://api.github.com/users/AfterShockFF/gists{/gist_id}","starred_url":"https://api.github.com/users/AfterShockFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AfterShockFF/subscriptions","organizations_url":"https://api.github.com/users/AfterShockFF/orgs","repos_url":"https://api.github.com/users/AfterShockFF/repos","events_url":"https://api.github.com/users/AfterShockFF/events{/privacy}","received_events_url":"https://api.github.com/users/AfterShockFF/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":1,"additions":25,"deletions":12,"changed_files":1}}