Jump to content

Having some trouble editing the tech tree


Recommended Posts

I'm looking at Community Tech Tree as a reference, but for some reason I can't get my .cfg file to edit any of the tech tree nodes. This is the syntax I'm using:

@RDNode:HAS[#id[start]]
{
  // -2568,1199,-1
  @pos = -2568,1142.3,-1
  @description = Is this thing working?
}

But the Start node in the tech tree remains unmoved and the description doesn't change. I've also tried adding :Final to the end of the first line with no luck. Also tried @RDNode[start].

I did successfully edit a PART module in the same .cfg, so I know it's getting loaded and that Module Manager is working. Any ideas what could be going wrong?

EDIT: I found the solution! I had to wrap the whole thing with a TechTree edit. This made it work:

@TechTree {

  @RDNode:HAS[#id[start]]
  {
    // -2568,1199,-1
    @pos = -2568,1142.3,-1
    @description = Is this thing working?
  }

}
Edited by SpiralOut
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...