{"action":"created","issue":{"url":"https://api.github.com/repos/OpenRA/OpenRA/issues/7477","labels_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/7477/labels{/name}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/7477/comments","events_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/7477/events","html_url":"https://github.com/OpenRA/OpenRA/pull/7477","id":57725406,"number":7477,"title":"Add race-specific sequence support, and overhaul D2K actor definitions.","user":{"login":"pchote","id":167819,"avatar_url":"https://avatars.githubusercontent.com/u/167819?v=3","gravatar_id":"","url":"https://api.github.com/users/pchote","html_url":"https://github.com/pchote","followers_url":"https://api.github.com/users/pchote/followers","following_url":"https://api.github.com/users/pchote/following{/other_user}","gists_url":"https://api.github.com/users/pchote/gists{/gist_id}","starred_url":"https://api.github.com/users/pchote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchote/subscriptions","organizations_url":"https://api.github.com/users/pchote/orgs","repos_url":"https://api.github.com/users/pchote/repos","events_url":"https://api.github.com/users/pchote/events{/privacy}","received_events_url":"https://api.github.com/users/pchote/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/OpenRA/OpenRA/milestones/12","labels_url":"https://api.github.com/repos/OpenRA/OpenRA/milestones/12/labels","id":844833,"number":12,"title":"Next release","description":"","creator":{"login":"obrakmann","id":4331210,"avatar_url":"https://avatars.githubusercontent.com/u/4331210?v=3","gravatar_id":"","url":"https://api.github.com/users/obrakmann","html_url":"https://github.com/obrakmann","followers_url":"https://api.github.com/users/obrakmann/followers","following_url":"https://api.github.com/users/obrakmann/following{/other_user}","gists_url":"https://api.github.com/users/obrakmann/gists{/gist_id}","starred_url":"https://api.github.com/users/obrakmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obrakmann/subscriptions","organizations_url":"https://api.github.com/users/obrakmann/orgs","repos_url":"https://api.github.com/users/obrakmann/repos","events_url":"https://api.github.com/users/obrakmann/events{/privacy}","received_events_url":"https://api.github.com/users/obrakmann/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":29,"state":"open","created_at":"2014-10-29T09:04:03Z","updated_at":"2015-02-19T16:00:27Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-02-15T10:17:38Z","updated_at":"2015-02-20T18:23:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/7477","html_url":"https://github.com/OpenRA/OpenRA/pull/7477","diff_url":"https://github.com/OpenRA/OpenRA/pull/7477.diff","patch_url":"https://github.com/OpenRA/OpenRA/pull/7477.patch"},"body":"This pr can be divided into three parts:\r\n\r\n1. Fix the propagation of `RaceInit` between producer &rarr; producee (which only works in about half of the required cases on current bleed).\r\n2. Add support for race-specific sprite sequences (this can eventually be switched out for a more generic implementation using upgrades).\r\n3. Merge the duplicated D2K actors, and reorganize the definitions to be more consistent with the other mods.\r\n\r\nThis significantly simplifies the D2K mod rules, and should make it easier to deal with in the future as we work through reimplementing the original tech tree and balance.  It also fixes a bunch of inconsistencies that have grown in the rules over the years (mismatched actor name cases, redundant prerequisites defined on only some actors, duplicated traits on inherited actors, etc).\r\n\r\nThe main change gameplay-wise is that you must now capture (or build in debug-mode) an enemy construction yard and make it primary (mouseover and deploy) in order to produce a different faction's structures.  The build icons in the sidebar show what faction's structures you are building. The same applies for building faction-specific MCVs (they inherit the race of the factory that build them).  The race of actors placed in the map editor can be set using the Race: initializer, otherwise it will be determined based on the owner.  The ingame map editor will eventually be able to set this (together with other properties such as the facing, owner, health) in an actor-properties panel.\r\n\r\nFixes #3699, #7274.  Closes #7452.\r\n\r\nThis is a monster of a PR, so my apologies to the people reviewing this.  @penev92 has helped me test this over the last week, and I think we've identified and fixed most of the regressions.  I expect there may be a few we've missed, however."},"comment":{"url":"https://api.github.com/repos/OpenRA/OpenRA/issues/comments/75292294","html_url":"https://github.com/OpenRA/OpenRA/pull/7477#issuecomment-75292294","issue_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/7477","id":75292294,"user":{"login":"penev92","id":7137365,"avatar_url":"https://avatars.githubusercontent.com/u/7137365?v=3","gravatar_id":"","url":"https://api.github.com/users/penev92","html_url":"https://github.com/penev92","followers_url":"https://api.github.com/users/penev92/followers","following_url":"https://api.github.com/users/penev92/following{/other_user}","gists_url":"https://api.github.com/users/penev92/gists{/gist_id}","starred_url":"https://api.github.com/users/penev92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penev92/subscriptions","organizations_url":"https://api.github.com/users/penev92/orgs","repos_url":"https://api.github.com/users/penev92/repos","events_url":"https://api.github.com/users/penev92/events{/privacy}","received_events_url":"https://api.github.com/users/penev92/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T18:23:59Z","updated_at":"2015-02-20T18:23:59Z","body":"While testing the map importer with the missions I noticed a problem with Corrino's structures.\r\nI've uploaded the imported [map](https://www.dropbox.com/s/f6xs8y12ynnjpz4/A9V2.oramap) for testing. You can find the Emperor's base just east of the Harkonnens' up north.\r\nThe faction-specific Corrino structures aren't using the proper sprites. I checked the importer, I checked the map.yaml file, these seem to be fine. The import works, but I still don't see Corrino structures.\r\nFor reference:\r\nhttp://i.imgur.com/LVlXMh7.png"}}