Hi folks,
Sorry if this has been answered before, I tried some searches but came up empty, pretty sure I don't know what terms I need to be searching for, unfortunately.
I'm updating my old (currently non-functional) Epochs mod for BNW and I'm running into a problem where the tech tree is growing out to the right 3-4 screens past the last column that has a Tech in it. I haven't been able to figure out what's causing it and I'd appreciate any leads anyone could give.
Attached a screenshot to show what I mean:
(If I scroll all the way over to the right, there's nothing there)
I can provide any other info needed to diagnose the problem.
EDIT: Error occurs if I have even 1 technology in the Information Era.
EDIT2: FIGURED IT OUT.
Tl;dr version: had a ERA_FUTURE tech at column 0, which causes TechTree.lua to decide that the width of the Information Era (ERA_FUTURE) should be final column - initial column = 33 columns.
(Slightly longer version: it was my 'placeholder' tech that broke it. For those of you who haven't done a complete tech tree replacement before, if you wipe the prior tech tree rather than simply hiding it, a lot breaks and you have to set your unit dependencies, AI strategies, etc to some placeholder tech to be able to load the mod while you work on it. By the time the mod is finished, of course, you should be able to remove that placeholder tech, but while working on it it can get pretty unpleasant. My placeholder tech was ERA_FUTURE but GridX 0, which made the game throw up all over ERA_FUTURE when it came time to build the tech tree).
Sorry if this has been answered before, I tried some searches but came up empty, pretty sure I don't know what terms I need to be searching for, unfortunately.
I'm updating my old (currently non-functional) Epochs mod for BNW and I'm running into a problem where the tech tree is growing out to the right 3-4 screens past the last column that has a Tech in it. I haven't been able to figure out what's causing it and I'd appreciate any leads anyone could give.
Attached a screenshot to show what I mean:
Spoiler :
(If I scroll all the way over to the right, there's nothing there)
I can provide any other info needed to diagnose the problem.
EDIT: Error occurs if I have even 1 technology in the Information Era.
EDIT2: FIGURED IT OUT.
Tl;dr version: had a ERA_FUTURE tech at column 0, which causes TechTree.lua to decide that the width of the Information Era (ERA_FUTURE) should be final column - initial column = 33 columns.
(Slightly longer version: it was my 'placeholder' tech that broke it. For those of you who haven't done a complete tech tree replacement before, if you wipe the prior tech tree rather than simply hiding it, a lot breaks and you have to set your unit dependencies, AI strategies, etc to some placeholder tech to be able to load the mod while you work on it. By the time the mod is finished, of course, you should be able to remove that placeholder tech, but while working on it it can get pretty unpleasant. My placeholder tech was ERA_FUTURE but GridX 0, which made the game throw up all over ERA_FUTURE when it came time to build the tech tree).