Jump to content

How to make custom tech tree?


Recommended Posts

Hey everyone! I'm trying to make a custom tech tree. I thought it'll be realy easy, but it's not :/ . I've searhed all forum and found that:

I've done everything like it was in custom_tech_tree.lua, but it crashes with 

[00:00:34]: [string "scripts/components/builder.lua"]:191: attempt to index field 'accessible_tech_trees' (a nil value)

I realy don't know what to do now, and I need your help. 

I'll give you reward, if you'll help me! Thanks! :) 

Edited by makar5000
  • Like 1
Link to comment
Share on other sites

sorry I am just back home. 

I looked into your mod I see you didn't do any renaming job in your tech tree lua, I am not sure if that will solve it, but in my case, I renamed new_tree and related in the new tech tree lua you have.

Link to comment
Share on other sites

9 hours ago, halfrose said:

sorry I am just back home. 

I looked into your mod I see you didn't do any renaming job in your tech tree lua, I am not sure if that will solve it, but in my case, I renamed new_tree and related in the new tech tree lua you have.

Ok, I've fixed it. I've just added 

GLOBAL.TUNING.PROTOTYPER_TREES =
		{
			MASKMAKER = TechTree.Create({
                MASKMAKER = 1,
            }),
        }

Now it's working just nicely!

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...