Snillum101

Members
  • Content count

    103
  • Joined

  • Last visited

Community Reputation

5 Neutral

About Snillum101

  • Rank
    The Friendly Mutton Chop
  1. That's a shame. I too got the impression from the announcement post that there would be a way to plan/customize missions for career mode from within the game (which would be AWESOME! ). Just wishful thinking I guess Regardless I'll still keep a close eye on the forums for more info closer to release.
  2. I'm also getting this behaviour when launching and when exiting the VAB. Not 100% of the time but often enough to cause issues. Really like the premise of this mod though.
  3. OMG I nearly died laughing.
  4. Does this work with Real Fuels any more? I've got a weird problem whereby the tanks will be OK to fill up with the real fuels propellant, however the tanks then automatically fill up with stock LF + Ox when I change scene. Is there any way around this? Cheers.
  5. This is definitely one of my must have part mods. Looking forward to the update
  6. Sorry to hear that Ted. Maybe this move to Unity 5 will be a chance to fix some of those long standing bugs in the game? Looking forward to 1.1!
  7. Thanks! worked like a charm. that method is definitely going to come in handy.
  8. I've been having a lot of fun writing my own launch script for this plugin My goal has been to be able to write a script that works for all rockets of all shapes and sizes without having to input different numbers to the code. I want to be able to just run the launch program and go. Everything works well. I even managed to get it to detect solid fuel boosters and stage accordingly (see script below). Full disclosure, this is heavily based off of the first tutorial script on the KOS documentation site as well as a few other scripts I found on the web. My problem is that no matter what I try I can't figure out how to get the script to recognise if the ship has any liquid fuelled boosters. I thought I could write something to work out when the first stage lost some thrust but I could not get it to work. Bearing in mind I would have liked to make this a one size fits all script Cheers. //My First Launch Script //Initialise variables. set targetApoapsis to 100000. set targetPeriapsis to 100000. set TVAL to 1.0. set stageLF to 0. set stageLFBoost to 0. set actionInt to 0. set messageInt to 0. if SHIP:SOLIDFUEL > 1000 { set stageSF to 1. } else { set stageSF to 0. } if ship:altitude > 70000 { //Abort script if run in orbit/out of atmo. set runMode to 10. } //Prep ship for launch. clearScreen. wait 1. print "Launch sequence initialised, beginning systems check...". print " ". wait 1.5. SAS on. wait 1.5. SAS off. print "Guidance - GO.". print " ". wait 1.5. lock throttle to 0.0. print "LF Booster - GO.". print " ". if stageSF = 1 { wait 1.5. print "SF Booster - GO.". print " ". } wait 1.5. GEAR off. print "Landing - GO.". print " ". wait 1.5. lights on. print "Recovery - GO.". print " ". wait 2. print "We are GO for launch.". print " ". wait 3. clearScreen. print "T minus 10 seconds.". print " ". FROM {local countdown is 10.} UNTIL countdown = 3 STEP {SET countdown to countdown -1.} DO {PRINT "- " + countdown. wait 1. //Pauses the script here for 1 second } print "- 3". print " ". PRINT "Engine Ignition Sequence.". print " ". WAIT 1. PRINT "- 2". LOCK THROTTLE TO TVAL. //1.0 is the max, 0.0 is idle. LOCK STEERING TO HEADING (0,90). WAIT 1. PRINT "- 1". print " ". WAIT 1. //Give throttle time to adjust. STAGE. WAIT 1.5. PRINT "Lift-off!". print " ". set runMode to 1. set mecoInt to 0. until runMode = 0 { if runMode = 1 AND ship:altitude >= 500 { //Initial ascent & roll program. print "Beginning roll program.". print " ". lock steering to heading (90,90). set runMode to 2. } else if runMode = 2 { //start of gravity turn if SHIP:ALTITUDE >= 1500 { print "Beginning gravity turn.". print " ". set runMode to 3. } } else if runMode = 3 { set targetPitch to max(5, 90 * (1 - SHIP:ALTITUDE / 42000)). lock steering to heading (90,targetPitch). if SHIP:ALTITUDE >= 5000 AND stageLF = 0 { set TVAL to max(0.75, 1 * (1 - SHIP:ALTITUDE / 60000)). } if SHIP:ALTITUDE > 20000 AND stageLF = 0 { set TVAL to 0.75. } if SHIP:ALTITUDE > 32000 AND actionInt = 0 { AG1 on. print "Tower check!". print " ". set actionInt to 1. } if SHIP:APOAPSIS >= targetApoapsis { set runMode to 4. } } else if runMode = 4 { lock steering to heading (90,3). set TVAL to 0. if (SHIP:ALTITUDE > 70100) AND (ETA:APOAPSIS > 60) AND (VERTICALSPEED > 0) { if WARP = 0 { unlock steering. SAS on. wait 1.5. set WARPMODE to "RAILS". wait 0.5. set WARP to 3. set messageInt to 1. if messageInt = 1 { print "Warping to apoapsis.". print " ". set messageInt to 0. } } } else if ETA:APOAPSIS < 60 { set WARP to 0. SAS off. wait 0.5. lock steering to heading (90,3). set runMode to 5. } } else if runMode = 5 { if (ETA:APOAPSIS < 5) OR (VERTICALSPEED < 0) { set TVAL to 1. if messageInt = 2 { print "Beginning CIRC manoeuvre.". print " ". } } if (SHIP:PERIAPSIS > targetPeriapsis) OR (SHIP:PERIAPSIS > targetApoapsis * 0.95) { set TVAL to 0. set runMode to 10. } } else if runMode = 10 { set TVAL to 0. SAS on. unlock steering. wait 2. clearScreen. print "Orbit complete, systems released, manual control restored.". print " ". set runMode to 0. } //Staging & Throttle control. if stage:kerosene < 1.0 AND stageLF = 0 { wait 0.5. stage. print "First stage separation confirmed.". print " ". set TVAL to 1. wait 2.5. stage. set stageLF to 1. print "Second stage ignition.". print " ". } if stage:SOLIDFUEL < 1.0 and stageSF = 1 { wait 0.5. stage. print "Solid booster separation confirmed.". print " ". set stageSF to 2. } if TVAL = 0 AND mecoInt = 0 { PRINT "M.E.C.O.". print " ". set mecoInt to 1. } if TVAL > 0 AND mecoInt = 1 { set mecoInt to 0. } set finalTVAL to TVAL. lock throttle to finalTVAL. //wait 0.1. }
  9. A fix for the errors in the orbit calculations would be nice, to stop orbits changing themselves over time when not in atmo.
  10. Thanks for the update. I got the contracts coming through now so all is good.
  11. Love the idea of this mod, makes stations actually useful. I just finished putting my first station in orbit of Kerbin. However I never seem to get any contracts for crew rotation, module repair etc. All I have are resupply contracts (TAC life support) and putting new stations in orbit of Mun/Minmus. I've time warped alot and it never seems to change. Is this working as intended or am I doing something wrong? Thanks.
  12. Maybe do what the do in real life with Martian probes. Burn retrograde at periapsis until you are no longer on escape trajectory, then dip your periapsis just into the top of the atmosphere. Over time your orbit will decay. Wait until its at the level you want and then circularize at your desired apoapsis. (Diagram if you want: http://en.wikipedia.org/wiki/2001_Mars_Odyssey#/media/File:Odyssey_summary_br.jpg This method is quite time consuming though