-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add widget selector/toggler #6
Comments
To fix this, simply remove lockluaui.txt from /GameData. Then the selector from base content is accessible using f11, as normal. The effect of lockluaui.txt should be to load the games own widgetHandler. It shouldn't be present, in this case, because the SkeletonGame does not include it's own widget handler. I would have expected that including lockluaui.txt without a games own widgetHandler would break all luaui, but it doesn't seem too. So I have no idea what's actually going on with it there. And removing lockluaui.txt seems to break chonsole. Conclusion: I think there is some horrible hack being relied on here, and that hack has the side effect of disabling the widget selector. |
isn't lockluaui.txt required to get Chili to work? |
Whats up with some of these emails (quote below) not appearing in the Anyway I always thought lockluaui.txt was needed for Chili. I distinctly (but it is related, since that file controls some of the extent to which It's not. (but it is related, since that file controls some of the extent to which — |
Accidentally posted from my private account, then deleted. The rest of Chili seems to work fine with lockluaui.txt removed, it looks like only Chonsole breaks. But as said, afaics in this case LuaUI shouldn't work at all with it there (due to game not supplying own luaui entry point) and we're relying on some unknown hacky stuff, probably engine has some hardcoded fallback file/filenames for when user does smth mad like this. |
Probably better to use the engine handler in this case. (Which means not using BARs widget selector- it relies both on customization to the widget handler and on some local fixes for ScrollPanels.) |
Actually I tried this (removing lockluaui.txt) now and it seems almost everything works. Errors in question: All these could be easily fixed I think. Thoughts? |
We don't seem to have a widget handler: something to enable/disable widgets.
I think there were with the existing ones as we're using a new widget handler, but it should still be investigated.
The text was updated successfully, but these errors were encountered: