Dialog/Production.rsc - Printable Version +- BlackLiquid Forums (https://www.blackliquidsoftware.com/forum) +-- Forum: Banished General (https://www.blackliquidsoftware.com/forum/forumdisplay.php?fid=6) +--- Forum: Mod Makers Help & Support (https://www.blackliquidsoftware.com/forum/forumdisplay.php?fid=27) +--- Thread: Dialog/Production.rsc (/showthread.php?tid=1656) |
Dialog/Production.rsc - Discrepancy - 11-30-2016 Simply put, I'm trying to make a production building call up a separate This Year / Previous Year UI file called 'DSSVProduction.rsc' instead of the games file: 'Production.rsc', calling up a longer RibbonDescription (production12), but in game as soon as I click on the toggle button it crashes the game. I make the same changes to 'Dialog/Production.rsc' file, and it also crashes. But, if I make the changes to production4 in 'Dialog/Production.rsc' (making it display 12 items) the changes work perfect! [img]<fileStore.core_Emoticons>/emoticons/ohmy.png[/img]/emoticons/ohmy@2x.png 2x" title=":o" width="20" /> I'm thinking this might be because of the way the coding works in bringing up statistical parameter numbers, and that it is hidden/not available to us. It has caused me to waste the last few hours of my life. Or am I doing something wrong? I wanted this code to be a separate UI Check Production box, so adding this to a 'Dialog/Production.rsc' file seemed like a logical idea: Code: RibbonDescription production12 : "production" instead I just had to do this to 'Dialog/Production.rsc': Code: RibbonDescription production4 : "production" the downside? this is going to conflict with many mods, and also look ridiculous... - I think I need to spend some time and see if i can set a maximum size and add a vertical scroll-bar - And I need to see what is the less used vanilla 'Check Production' table... which one should I alter? Dialog/Production.rsc - Kralyerg - 11-30-2016 I think I did exactly the same thing you did. What I ended up doing, is making a separate production.rsc file, but then just using the thisYear4 and previousYear4 of that file, and it worked, and doesn't cause a conflict. I also looked into adding a scroll bar, but those are strangely complicated and end up giving up every time I look into it. But I'm sure it's possible. |