Jump to content

[WIP] Mass Driver


skykooler

Recommended Posts

Woah! I thought seeing the space center from low orbit was pretty cool. But if i saw that thing from space, theres a pretty good chance my Kerbals may pee themselves. Except for Jeb, he would probably try to land on it from orbit. Or crash into it...

Link to comment
Share on other sites

Why not use an ingame button for your launch?

In code check to see if the object is in a trigger collider (starting position?), if it is then enable the "Launch" button - when you click the button you enable the fixedupdate code to apply acceleration.

I like this btw. Very cool haha

E.g.

OnTriggerEnter(Collider otherCollider)
{
// add to list of launchables, if list length > 0 enable button
}
OnTriggerExit(Collider otherCollider)
{
// remove from list of launchables, if list == 0 disable button
}

Link to comment
Share on other sites

Why not use an ingame button for your launch?

In code check to see if the object is in a trigger collider (starting position?), if it is then enable the "Launch" button - when you click the button you enable the fixedupdate code to apply acceleration.

I like this btw. Very cool haha

E.g.

OnTriggerEnter(Collider otherCollider)
{
// add to list of launchables, if list length > 0 enable button
}
OnTriggerExit(Collider otherCollider)
{
// remove from list of launchables, if list == 0 disable button
}

I'd like to have a button. But I completely do not understand the KSP GUI system.

Looks pretty cool, but does it work yet? And how tall is it?

The mass driver is 40 km long and 13 km high. And yes, it is visible from orbit.

If anyone wants to play around with this early version, here it is: MassDriver.zip

To use: make ship. Drive or fly within 500m of beginning of mass driver. Be launched into space. :)

Link to comment
Share on other sites

For every super useful situation I think of for this wonderful contraption you have made, I can think of 2 dangerous, counter productive, and all around insane amounts fun type stuff to do with it.

Also...Trucks ...IN SPACE!!!!! thats good stuff right there!

Space elevator already being played with by a couple people, though there was some issues...have an idea about that though =P

Link to comment
Share on other sites

This is going to work much better than trying to reach orbit with mainsails

Is it going to have variable canon power? I I'd love to be finally able to blast kerbals that parachute down from my station back up there. If not, I'll just edit files to cut it down.

Also, is it going to be just for fun, or could there be a fuel requirement?

This is so awesome.

Link to comment
Share on other sites

This is going to work much better than trying to reach orbit with mainsails

Is it going to have variable canon power? I I'd love to be finally able to blast kerbals that parachute down from my station back up there. If not, I'll just edit files to cut it down.

Also, is it going to be just for fun, or could there be a fuel requirement?

This is so awesome.

I plan to add variable power, so you could for example put a canon on Duna.

As for fuel...well, it's essentially a giant railgun, so it runs on electricity. A huge amount of electricity. If you want a version that needs 10,000 batteries per launch, be my guest, but I'm not planning on adding that. :P

Also, speed is essentially the same regardless of vessel mass; a kerbal should go about as far as a ship, and I think that the jetpack has enough delta-v to circularize. So you should be able to send a kerbal back up.

Edited by skykooler
Link to comment
Share on other sites

Does it launch inactive vessels, with its current fire things that get close enough behavior?

That would make for some interesting practical jokes..

"Hey, lets go for a walk to the bay."

"Ok."

*near the mass driver*

*push*

"AAAAAAAAAAH"

I may have to download the WIP version and try it later.

Edit: Only the active one fires.

Also, I have found a glitch that happens sometimes:

48HZwMY.jpg

You must jump before you fling a kerbal, or they go for a skywalk.

And I suggest making the angle it fires at much shallower, or variable.

I'm sure you have awesome things planned.

It's very awesome, I like the way you've done it through Kerbtown.

Edited by Tw1
Link to comment
Share on other sites

And I suggest making the angle it fires at much shallower.

I tried this, but the problem is that at 13km Kerbin's atmosphere is still very dense, so it's best to clear it as soon as possible; firing at 25 degrees requires over 6000 m/s to make it to space, while firing at 45 degrees as I am now requires only 2700 m/s.

Link to comment
Share on other sites

I'd like to have a button. But I completely do not understand the KSP GUI system.

Okay, well message me if you need a hand with something re: KerbTown. Even if it's only to implement your own little button (that sits next to the start of the mass driver).

I'm glad you made this your own rather than copying straight from the example I provided! Good work!! :)

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...