Jump to content

[Tutorial] RCS Ports


Yarbrough08

Recommended Posts

I have gotten a few requests for help with RCS ports over the past year, and considering that there is no real documentation on them; I thought that I would post the information I have been sharing so that it is available to everyone who needs it. I do not precisely know where to put this, so if I've put it in the wrong place; I apologize - mods please relocate this tutorial to the proper section.

RCS ports are quite easy to create, however; people that are not as familiar with KSP may not understand how dependent Unity is on transforms (a.k.a. Empty or Empty gameobject; whatever you want to call it).

I will not be covering modeling or texturing as that is already covered extensively.

So, without further adieu:

RCS Transform Tutorial

Can you explain to me, perhaps even with pictures, how you made the RCS ports work?

Thanks in advance

Ok, RCS ports are just named transforms (empties in blender) with the LOCAL Y Axis pointed in the direction of thrust. (one for each "thruster" that you want to fire in a particular direction)

You can name these transforms anything you want, because you will specify this name in the cfg.

Javascript is disabled. View full album

Optional, but makes life easier: rename all of these RCS transforms to the same name. Otherwise you will have to add a separate module in the cfg for each transform name.

Then in the cfg, add this information:

MODULE
{
name = ModuleRCS
thrusterTransformName = RCS //This is the name of the transform.
thrusterPower = 1 //self explanatory, this is your thrust produced
resourceName = MonoPropellant
resourceFlowMode = STAGE_PRIORITY_FLOW
atmosphereCurve
{
key = 0 260
key = 1 100
}
}

Again, if you did not rename all of your transforms to the same name, you will have to add this module for every thrusterTranformName that is named differently.

i.e.

MODULE
{
name = ModuleRCS
thrusterTransformName = RCS.001
thrusterPower = 1
resourceName = MonoPropellant
resourceFlowMode = STAGE_PRIORITY_FLOW
atmosphereCurve
{
key = 0 260
key = 1 100
}
}
MODULE
{
name = ModuleRCS
thrusterTransformName = RCS.002
thrusterPower = 1
resourceName = MonoPropellant
resourceFlowMode = STAGE_PRIORITY_FLOW
atmosphereCurve
{
key = 0 260
key = 1 100
}
}
etc.

This is bad practice, and way more work than if you just renamed all of the transforms to the same name.

I hope that I have provided enough information to be helpful. Remember that THIS THREAD is your best friend as a modder! Soar safely, and happy blending.

Edited by Yarbrough08
Typo
Link to comment
Share on other sites

  • 6 months later...

So I've gotten the RCS transforms to work, however my piece spins wildly out of control. Does anyone have tips for adding RCS ports? Specifically for angling them (like in the OP's photos)?

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...