Jump to content

Alpha_Mike_741

Members
  • Posts

    78
  • Joined

  • Last visited

Posts posted by Alpha_Mike_741

  1. Hey guys I made a quick and dirty PartModule based off (Acutally derived from) CoMShifter for a kOS idea I had, but then thought I'd share it here too . It adds the "CoM Offset Limit" slider to control the descent mode offset so it can be utilized by kOS scripts for reentry maneuvering(Or manually for finer control) . Should I submit a pull request?

    Looks like this (Notice the reduced AoA):

    4rM1ak9.png

     

     

  2. 19 hours ago, Azimech said:

    Curious to see if I can pull this off. Stock aircraft with real control surfaces. Never mind the controls are reversed at the moment, I'm already happy it doesn't fall apart on the spot!

    The reason? KSP control surfaces have magical properties: they don't use a resource and don't suffer from compressibility effects or even control reversal, something all WW2 pilots had to deal with at high speeds.

    ZjvR7w6.png

     

    Ic8tiTa.png

    jdXot4K.png

    That's a lot of linkages to build and adjust ... and lots of possible points of failure.

    May kraken bless your poor , poor PC;.;

     

  3. Made a very simple but useful UI function

    Code:

    Spoiler
    
    	declare function UI_Menu
    	{
    		declare parameter Items ,Title is "Select an item from the menu" .
    		local index is 0.
    		local scr_wv is 0.	//Write Vertical position
    		local cursor is "->".
    		local scr_cursor_padding is "  ".
    		function scr_write
    		{
    			parameter str.
    			
    			if terminal:width<str:length	//Truncate str if it's too long to fit.
    			{
    				set str to str:subString (0,terminal:width).
    			}
    			print "  "+str.
    			set scr_wv to scr_wv+1.
    		}
    		
    		if Items:length<1
    			return -1.
    		else
    		{			
    			ClearScreen .
    			scr_write(Title).
    			scr_write(" ").
    			scr_write(" ").
    
    			local items_lex is lexicon().
    			
    			until index>(Items:Length-1) 
    			{
    				items_lex:add(scr_wv-1,items[index]).
    				scr_write(scr_cursor_padding+(index+1)+": "+items[index]).
    				set index to index+1.
    			}
    			
    			local firstItemIndex is (scr_wv-1)-(items_lex:length-1).
    			local lastItemIndex  is firstItemIndex+items_lex:length-1.
    			local cursorPos is firstItemIndex.
    			local input is 0.
    			until input=terminal:input:enter
    			{
    				print cursor at (0,cursorPos).
    				set input to terminal:input:getChar.
    				if input = terminal:input:PAGEUPCURSOR{				
    					print scr_cursor_padding at(0,cursorPos).
    					set cursorPos to cursorPos-1.
    					set cursorPos to max(cursorPos,firstItemIndex).
    				}
    				else if input = terminal:input:PAGEDOWNCURSOR
    				{
    					print scr_cursor_padding at (0,cursorPos).
    					set cursorPos to cursorPos+1.
    					set cursorPos to min(lastItemIndex,cursorPos).			
    				}
    			}
    			
    			return (cursorPos-firstItemIndex+1).
    			
    		}
    	}
    	
    	ClearScreen.
    	print UI_Menu(List("Item 1","Item 2","Item 3")). //Example
  4. Similar to mechjeb's Ascent Navball Guidance I'm trying to set a direction as my target  . Works fine (SAS can use it) but the target /Anti target markers won't show up and I don't get the "Target : Some vessel" UI message. What am I doing wrong?

     
    
    	private DirectionTarget dirTgt = null;
    
    	public  void newDirectionTarget(string name,Vector vec)
            {
                dirTgt = new DirectionTarget(name);
                updateDirection(vec);
            }
    
            private bool updateDirection(Vector vec)
            {
                if (dirTgt != null)
                {
                    dirTgt.Update(new Vector3d(vec.X, vec.Y, vec.Z));
                    return true;
                }
                else
                    return false;
            }
    
    FlightGlobals.ActiveVessel.targetObject = dirTgt;

     

  5. Finally! Got it down to  <0.05 degrees off target inclination

    r0ql1Fv.png

     

    Though I should stop trying to "improve" my script. Literally had I spent the time on actual orbital mechanics (and math) I would have had something much much better. than . this.:/

    I like this one . Really shows how massive RO rockets are:cool:(Core diameter : 3.3m or so)

    DlQt9s6.png

  6. Space is hard, Smart and flexible autopilots are much, much harder. Sure people can dig in and try to come up with some logic,code,whatever to cover as many different designs and scenarios as possible. But that ends there. If we want the ultimate flight automation (in KSP, of course) we need something in lines of a self-improving AI. This is why mods like mechjeb don't satisfy my automation needs .(And OP's, I guess)

    But that's just my opinion

     

     

  7. After months of frustration and almost shift+deleting my KSP install i finally DID IT! F9 IS BACK HOME!

    "This is LZ-1 on countdown net , The falcon has landed!"

    a7mFG5w.png

    It's not great, landing radius is awful (>400m) can't do ASDS , can't go FH but hey, It WORKS! ( I mean , consistently)

     

    More pics (duh)

    Spoiler

    Stage sep

    9o43dJx.png

    Boostback has shut down . coasting to entry burn.

    8X68LiO.png

    Gliding down (Notice how HUGE the landing pad is :D)

    42xw7hq.png

    Landing burn

    Vq4BTz3.png

    Beauty shot!

    Mq9RVOP.png

     

     

  8. @Reddy  what you've done is AMAZING WORK! Your work hasn't got the recognition it truly deserves .

    PEGAS can be a life saver for anyone who wants to take RO seriously. I haven't run it yet but I can already see the endless possibilities .I tried doing something way simpler and after months of trying I finally gave up , But thanks to people like you I may still have a chance at enjoying a super-accurate , closer to real life KSP without getting overwhelmed by the sheer complexity of things .

    Go PEGAS !

     

     

  9. I'm not sure if this is the right place to ask , but how do I obtain the gas constant (R) for earth or other bodies atmosphere? . Need it to calculate air density in a kOS script .

    Also I don't have FAR if that matters.

     

    Edit : Found some stuff (atmosphereMolarMass =0.0289644) in RSS configs  .

     

  10. 1 hour ago, CatastrophicFailure said:

    ... and here I am just flarping about with MechJeb/Gravity Turn and carping that it's never quite right. :/

    If you like spaceflight, you WILL kOS the S*** outta your rockets . It's just a matter of time :)

    44 minutes ago, Bornholio said:

    You had two missions.... well a lot of boring sat launches that all looked the same waiting for tech to catch up. RP-0

    First I wanted a more serious lunar lander mission. So north pole it is.

    This craft I called lag monster, to many engines grinding Test Flight into a crawl.

    GbCvSGY.png
     

      Reveal hidden contents

    hi Southpole

    5hjFOww.png

    waF3rgl.png

    U7b9iOF.png

     

    Landing

    ClKrAE7.png

    Heading home

      Reveal hidden contents

     

     

    5s9qiJO.png

    OpShL7l.png

    uGIgDYx.png

     

    Then my kerbs needed to try out new capsules.

    ZB2ie8m.png

    DORqbvI.png

      Reveal hidden contents

     

    Fairing had weirdness so i ditched it

    jMfuvC0.png

     

    kcFbuwA.png

    Self de-orbiting TLI stage.

    Sudth4Q.png

     

     

     

      Reveal hidden contents

     

    Hi Earth!

    oKYif9A.png

    Space is so busy i needed running lights.

    whwhP1o.png

     

     

     

    My little tricks to actually using the CSM with an extra heatshield installed (worried that engine failure might force a lunar speed re-entry)

    WHJo3i4.png

    Home

      Reveal hidden contents

     

    13oSOUx.png

     

     

    Idk what to say , Overwhelmingly awesome CSM ! Gonna steal borrow that around-the-shield raceway idea shamelessly

  11. I can't believe it you guys! I FINALLY I DID IT WWEEEEEEEEEEEE:confused:

    6ZyS528.png

    Spoiler

    It's a FULLY AUTOMATED rocket launch to orbit . *Wink* *Wink*

    Took me +2 months of stress eating , swearing , hating anything with math/programming in it and almost giving up KSP entirely  .  But now i can sit back , design something fancy , hit launch , get some coffee , come back and BAM ! VEHICLE ORBITAL:cool:

    Phew! Learned a ton yet still , i don't know a dime about the real science behind the stuff . Guys , space IS hard

  12. So , I have a falcon 9 replica script that can do a RTLS somewhat well. No problems with boostback,entry burn , hoverslam whatsoever . Though the life of me i can't figure out a way to land within a 50m radius . What logic (+Code example / maths explained if possible) do you guys use to nail those tight ASDS landings? or put this way , tell your rocket to steer itself into a point using engine gimballing and if possible , body lift ?

  13. I should say that take two did take two very very awesome multiplayer mods for GTA 5 down

    yeah it was theirs and all , but the way they did it was a bit out of sport . they claimed those mods were rivaling their business . and sent cease and desist letters to the mod devs .

    Also i know take two had the right to shut them down and i know GTA Online has in-game purchases , but this attitude for a game like KSP ? Meh :confused:

    Edit : however chances are we'll see a brighter and better future for KSP :) 

  14. 26 minutes ago, Bornholio said:

    With the coldwar heating up. My first ABM interceptor design got its launch testing.

    Nuclear Methane version first.  good for High shots and off inclination intercepts.

    FB-66XRN Hyperion

    wVUlpuV.png

    DaV2SWd.png

    Hydrolox version was much cheaper and  made the response faster.  Is extended periods of 8+G good for a pilot. /smirk

    FB-68XRH Prometheus

    HiqvUAd.png

    PH5IaO1.png

    You bad :D me played RSS RO , me love RSS RO  me miss RSS RO

    i wants RSS RO

    i has brick PC

    rocket hate brick

    you bad:P

    ===

    Jokes aside , i slapped together an Araine 5 replica in like what , 5 minutes? and as always since i build for aesthetics it became way too big for kerbin .

    meaning my D.U.M.B engine only recovery turned dumb fo' real after i realized i had some 1 km/s left in orbit 

    .stage tank survived. FAIL:cool:

    What ? what jef..  jeb ? i could have landed the whole thing ? what?

     

    Spoiler

    lyKyvSS.png

    Engine sep IN ORBIT :|

    xF4z7qU.png

    Engine section cam after release

    XvgAj9a.png

    engine falling in

    aJAYs22.png

    Chutes opened . slammed down hard at 16m/s . not good

     

     

  15. KPOLLO IV LANDS ON THE MOON! (read in 70s commentary voice)

    ahlYNNG.png

    Apologies for being two weeks late for today lol:0.0:

     

    So folks , i landed my first manned LEM and returned back safely , accidentally successfully doing a skip re-entry that marks my proudest reentry yet to date. I mean i came down to 60 something kilometers and thought it was time to offset my CoM and i did AND FLEW BACK TO 70 KM still gaining vertical speed . chances were if i didn't roll 180 degrees again i would skip off the atmosphere :cool:

     

     

    I have some +600 screenshots from this mission only . Meaning there should be thousands of photos from the program (Kpollo I - II - III- III-A - Simulations) but I'm laaaazzzzy so just picked a few  :

    Spoiler

    2ttvCr3.png

    sP4hRlv.png

     

    Stats for nerdz

    p3WfdX6.png

    NaLJcKf.png

    WMcbvec.png

    l4LmtF2.png

    vF5vLKs.png

    Skippy!

    3BbxC6D.png

    puiZLbk.png

     

    And as i promised , here's the lunar plaque ! @sal_vager

    vf6oamj.png

    vz26iFQ.png

     

    Inscription :

    Kpollo IV honours

    Sal_vager

    Developer , moderator , explorer

    Bring us earth rocks ! Jeb

    Good luck and godspeed. Bill

    Answer our call sometime ! Bob

     

     

  16. I DID IT! IDIDTIDIDITIDIDTIDIDIT! I DIID IT ! I LANDED THE LEM ON THE MOON!

    QejnBL6.png

    ktWtsJp.png

    i should note that this is my second successful landing ever on the moon  , all unmanned. first one was a tiny probe (say a surveyor mix ) and no return nor manned missions were envisioned at the time , that was like some months ago.

    And with this , if ALL goes really well , my next landing will be MANNED! my first manned mission to the moon!

    and it'll carry a plaque of honour just for sal:wink:

×
×
  • Create New...