Jump to content

Editing the tech tree


Recommended Posts

The tech tree is built at load time from the .cfg files of all of the parts. If you edit the .cfg file of the part, it specifies in there which tech tree node it belongs to. The stock parts are in the GameData/Squad/Parts folders.

 

Link to comment
Share on other sites

I assume you mean changing the nodes a part belongs to, not changing the tree itself (add/remove nodes).

If you know modulemanager - you just need to do things like this (save the 4 lines to a cfg file somewhere in a directory inside GameData):

@PART[your_part_name]:AFTER[mod_name]
{
    @TechRequired = desired_tech_node_name
}

Basically the prefix @ is modulemanager syntax that modifies something (see MM documentation for details), and :AFTER makes sure that MM knows to load the mod first, then load your modification. You may want to browse your .cfg files and trial/error to figure out what exact name to put in.

Link to comment
Share on other sites

13 minutes ago, FancyMouse said:

I assume you mean changing the nodes a part belongs to, not changing the tree itself (add/remove nodes).

If you know modulemanager - you just need to do things like this (save the 4 lines to a cfg file somewhere in a directory inside GameData):

@PART[your_part_name]:AFTER[mod_name]
{
    @TechRequired = desired_tech_node_name
}

Basically the prefix @ is modulemanager syntax that modifies something (see MM documentation for details), and :AFTER makes sure that MM knows to load the mod first, then load your modification. You may want to browse your .cfg files and trial/error to figure out what exact name to put in.

4

Yes, I do mean the parts. I do not know anything about modulemanager, I am new to editing files like theses in general. 

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