Jump to content

Where is the tech tree defined?


tjsnh

Recommended Posts

Where in the directory structure is the tech tree defined?

I'd like to add a single technology node at the top of the tree and/or re-name an existing node but I'd strongly prefer not to need to use a dedicated custom-tree mod or add-on for such a minor edit. I've seen a few parts-pack addons accomplish this, but I haven't been able to figure out how.

Advice?

Link to comment
Share on other sites

Where in the directory structure is the tech tree defined?

I'd like to add a single technology node at the top of the tree and/or re-name an existing node but I'd strongly prefer not to need to use a dedicated custom-tree mod or add-on for such a minor edit. I've seen a few parts-pack addons accomplish this, but I haven't been able to figure out how.

Advice?

Well you could simply study the sourcecode of those part packs which do additions. Most likely they execute some code at startup that makes some alterations to the techtree. Now I would not recommend this technique because it's likely to cause incompatibilities with other mods.

Link to comment
Share on other sites

  • 3 weeks later...

There are a number of empty nodes left in the stock tech tree that, because they are empty, are invisible.

If you were to add somthing to such a node (by editing the TechRequired field in a part config file), it will make that node show up ingame. That is the way pure part packs do it without requiring any sort of assisting techtree mod. Downsides: the name, icon, cost and position of the node in question are pre-set and cannot be changed. You can only make it show up by putting something into it, no more, no less.

I don't currently remember the names of these nodes off of the top of my head. There's 4 or 5 of them left nowadays. Maybe someone else can fill you in, or failing that, I'll see if I can look it up later tonight.

Link to comment
Share on other sites

Okay, for future reference, the empty nodes are:

aerospaceTech

automation

experimentalAerodynamics

experimentalElectrics

experimentalMotors

experimentalRocketry

experimentalScience

nanolathing

robotics

These are the names you need to put under "TechRequired = " in a part config file.

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