Jump to content

[Tutorial] How to create a single node with multiple conditions


Recommended Posts

I had the problem that I wanted to create a node which activates when 2 conditions were met (for example the node activates when you are 100 m/s fast and are at 1000m altitude) but if you want to do that you need to build loops or other workarounds. But I found out that you can edit the node with programs like notepad ++ to create a single node which activates when 2 conditions are met.

 

Please backup your mission before you start editing it with external programs!

1.  Create both nodes which you want to have in one node (for example speed > 100 m/s and altitude > 1000m) and change their name

adcRc1k.png

2. Find your mission file. It should be in your KSP folder at "Missions/<YOUR MISSION NAME>/persistent.misson" and open it with an editor

3. Scroll down till you find "NODES" here are all your nodes.

UHUJ6by.png

4. Now search for the first node you created. You can identify it by looking for the title.

XYUUNLG.png

5. Copy all text between "TESTMODULE {" and "}"

2ADWN1e.png

6. Find your second node

Q9Zrgf9.png

7.Search for the TESTMODULE

fLN3wnE.png

8. Paste it after the closing brackets of the first TESTMODULE

foEt2Sz.png

9. Reload your mission in KSP

10. one node should now contain both conditions

QjcvzAv.png

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.

 Share

×
×
  • Create New...