Cunning fox Posted January 5, 2017 Share Posted January 5, 2017 (edited) 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 January 5, 2017 by makar5000 1 Link to comment https://forums.kleientertainment.com/forums/topic/73112-how-to-make-custom-tech-tree/ Share on other sites More sharing options...
halfrose Posted January 5, 2017 Share Posted January 5, 2017 It would help a bit more if you post a zip of your mod. Link to comment https://forums.kleientertainment.com/forums/topic/73112-how-to-make-custom-tech-tree/#findComment-855757 Share on other sites More sharing options...
Cunning fox Posted January 6, 2017 Author Share Posted January 6, 2017 9 hours ago, halfrose said: It would help a bit more if you post a zip of your mod. .zip 1 Link to comment https://forums.kleientertainment.com/forums/topic/73112-how-to-make-custom-tech-tree/#findComment-855869 Share on other sites More sharing options...
Cunning fox Posted January 6, 2017 Author Share Posted January 6, 2017 23 hours ago, halfrose said: It would help a bit more if you post a zip of your mod. I'm sorry, but do you have any ideas why it's not working? 1 Link to comment https://forums.kleientertainment.com/forums/topic/73112-how-to-make-custom-tech-tree/#findComment-855985 Share on other sites More sharing options...
halfrose Posted January 6, 2017 Share Posted January 6, 2017 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 https://forums.kleientertainment.com/forums/topic/73112-how-to-make-custom-tech-tree/#findComment-856026 Share on other sites More sharing options...
Cunning fox Posted January 7, 2017 Author Share Posted January 7, 2017 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! 1 Link to comment https://forums.kleientertainment.com/forums/topic/73112-how-to-make-custom-tech-tree/#findComment-856176 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now