Nivekk / KOS

Fully programmable autopilot mod for KSP.
Other
80 stars 30 forks source link

Add landing legs(new type) and parachute support. #161

Closed a1270 closed 10 years ago

a1270 commented 10 years ago

Saw a commit to mechjeb float by and decided adapt it to kOS. Old style landing legs don't seem to work correctly. H/LandingLegs are a mess but i'll keep an eye out for a solution.

Nivekk commented 10 years ago

I'm taking a look at this now, but that static variable you've got for landing leg state has got to go. Otherwise it's value will be applied globally to all vessels.

Nivekk commented 10 years ago

I threw all possible landing legs on a vessel and they all seem to respond to the "new" method of just sending a message.

Nivekk commented 10 years ago

I merged and made some changes to make sure that the gets are always correct, even if you switch vessels or activate the legs or chutes by some other means.

a1270 commented 10 years ago

Yours looks much better. Spent about 5 mins on it and got to a "works" state. At some point i need to actually read the whole code base in one go instead of just bits of it at random.