Hello, I'm currently trying out Kael's guide to modding and am trying to add a new screen with Lua. Now I've led to believe that when I have Lua files with the original names, then they are automatically replaced? But somewhy this still doesn't work. I could do the menu part when adding DiploCorner.lua to InGameUI content, and the menu displays as expected, but when clicking on it, it still displays the original notification log popup as if it didn't check the Data==999 condition.
Adding NotificationLogPopup.lua to content in any manner also didn't provide any results. Only time it did anything was when adding to InGameUI, then it simply pops it up in the beginning of the game and I can't close it(so I figure thats not the place for it).
Can anyone help me with this issue? How do I make it understand to use my .lua files instead in a proper manner?
Adding NotificationLogPopup.lua to content in any manner also didn't provide any results. Only time it did anything was when adding to InGameUI, then it simply pops it up in the beginning of the game and I can't close it(so I figure thats not the place for it).
Can anyone help me with this issue? How do I make it understand to use my .lua files instead in a proper manner?