{"action":"created","issue":{"url":"https://api.github.com/repos/KSP-RO/RP-0/issues/177","labels_url":"https://api.github.com/repos/KSP-RO/RP-0/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/KSP-RO/RP-0/issues/177/comments","events_url":"https://api.github.com/repos/KSP-RO/RP-0/issues/177/events","html_url":"https://github.com/KSP-RO/RP-0/issues/177","id":97259738,"number":177,"title":"Contracts moving forward","user":{"login":"NathanKell","id":5144098,"avatar_url":"https://avatars.githubusercontent.com/u/5144098?v=3","gravatar_id":"","url":"https://api.github.com/users/NathanKell","html_url":"https://github.com/NathanKell","followers_url":"https://api.github.com/users/NathanKell/followers","following_url":"https://api.github.com/users/NathanKell/following{/other_user}","gists_url":"https://api.github.com/users/NathanKell/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanKell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanKell/subscriptions","organizations_url":"https://api.github.com/users/NathanKell/orgs","repos_url":"https://api.github.com/users/NathanKell/repos","events_url":"https://api.github.com/users/NathanKell/events{/privacy}","received_events_url":"https://api.github.com/users/NathanKell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-25T21:45:52Z","updated_at":"2015-07-27T20:23:00Z","closed_at":null,"body":"We currently have:\r\n* First Launch contract\r\n* Speed/altitude records (crewed/uncrewed)\r\n* Altitude-only sounding rocket contracts\r\n* Pass the Karman line (crewed/uncrewed)\r\n* First orbital-speed reentry (uncrewed)\r\n* First orbit (crewed/uncrewed)\r\n* First flyby, impact, orbit of Moon\r\n* First GEO\r\n* First EVA\r\n* First docking\r\n* Other planet flybies\r\n* Landing (Moon, Mars/PhobosDeimos, Venus)\r\n* Repeatable human orbital\r\n\r\nWe also currently use the stock satellite and collectScience contracts (pending replacement with CC contracts).\r\n\r\nHowever, there's lots more to do.\r\nBoldly stealing contract ideas from BARIS:\r\n- [ ] Sounding rocket contracts generally, not just altitude records. For example, loft science payload X to Y km over biome Z ( @Felger aurora sounding rockets!); launch to MEO or HEO orbital altitude; do one of those on a certain day to catch some phenomenon.\r\n- [ ] Earth Science Satellite contracts at all rep levels with sane inclinations (~30-60 degrees).\r\n- [ ] Comm network contracts (LEO, MEO, and GEO)\r\n- [ ] Film return: orbit over biome X at altitude Y, take pictures (i.e. activate material bay), use Ship Manifest to move science to reentry module, return film.\r\n- [ ] Bio sample missions (LEO, HEO, translunar, etc). For flies/mice/etc this can be just the goo canisters, but for dogs/chimps we'd want to return and use a heavier payload.\r\n- [ ] *Sane* test contracts, i.e. test an uncrewed capsule/lander before humans fly in it, all-up lunar landing hardware test, test Mars mission in Earth-Moon space, etc.\r\n- [ ] Probes: replace the existing Explore contracts. Flyby, impact, fly by the dark side of the moon and transmit, landing, sample return. Surveying missions (polar or high-inclination). Grand tour. Primary + satellites mission (bouncing between moons and Jupiter, say).\r\n- [ ] Docking: automated, crewed: repeatable training contract that gives XP?\r\n- [ ] HSF: better repeatable orbitals, duration (3-5 days, week, 10 days, two weeks, +), number of crew, perform EVA, docking (as above), translunar, lunar orbital, GEO, polar lunar, lunar landing, translunar missions.\r\n- [ ] HSF records: duration, anything else?\r\n- [ ] X-Planes: fly at x altitude at y speed for z time, reach X altitude record and return without staging, reach X speed record and return without staging.\r\n- [ ] Flight Airspeed record: Detect jets (no LOX or other rocket propellants aboard?) and have a maximum altitude\r\n\r\nLinks: [BARIS](http://www.raceintospace.org/) (free) and its remake Buzz Aldrin's Space Program Manager (not so free) for mission ideas."},"comment":{"url":"https://api.github.com/repos/KSP-RO/RP-0/issues/comments/125331916","html_url":"https://github.com/KSP-RO/RP-0/issues/177#issuecomment-125331916","issue_url":"https://api.github.com/repos/KSP-RO/RP-0/issues/177","id":125331916,"user":{"login":"jrossignol","id":8717685,"avatar_url":"https://avatars.githubusercontent.com/u/8717685?v=3","gravatar_id":"","url":"https://api.github.com/users/jrossignol","html_url":"https://github.com/jrossignol","followers_url":"https://api.github.com/users/jrossignol/followers","following_url":"https://api.github.com/users/jrossignol/following{/other_user}","gists_url":"https://api.github.com/users/jrossignol/gists{/gist_id}","starred_url":"https://api.github.com/users/jrossignol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrossignol/subscriptions","organizations_url":"https://api.github.com/users/jrossignol/orgs","repos_url":"https://api.github.com/users/jrossignol/repos","events_url":"https://api.github.com/users/jrossignol/events{/privacy}","received_events_url":"https://api.github.com/users/jrossignol/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T20:23:00Z","updated_at":"2015-07-27T20:23:00Z","body":"Well, there's three ways to do it:\r\n1. KCT uses CC to add the behaviour (or whatever it ends up being).  No way to do this via reflection, since subclassing is required.  Since I imagine you don't want a permanent dependency on Contract Configurator, this means splitting it into a separate assembly.\r\n1. CC adds the behaviour and uses reflection to call the public API.  I'll also add it to the public doco.  Once your API is set up, there's probably less risk of something changing/breaking too.\r\n1. Make it a completely independent mod/release.  This sounds like a pain and not worth doing, but just mentioning it for completeness. :wink: \r\n\r\nSo yeah, once that API is in place, I'll definitely look at adding some integration into KCT.\r\n\r\nAnd thanks for the tip on Kerbal XP - I've added that info to https://github.com/jrossignol/ContractConfigurator/issues/54."}}