Ceres Posted October 30, 2022 Report Share Posted October 30, 2022 (edited) Hello! I have a question about MainMenuItems.js, specifically this part: { "caption": translate("Mod Selection"), "tooltip": translate("Select and download mods for the game."), "onPress": () => { Engine.SwitchGuiPage("page_modmod.xml"); } }, I cannot find the file page_modmod.xml anywhere in the repo, nor in my forked/checked out files. Do I have a complete misconception, i.e. is this no file at all? If not, what is it? I had expected (and still do) that when clicking the "Mod Selection" button, a new page (window/screen) is called (named page_modmod.xml). And this must be available somewhere (I thought). Thanks for your patience with me and for your help! PS: Nor can I find any of the other xml files, e.g. page_locale.xml, which are called in MainMenuItems.js. Edited October 30, 2022 by Ceres Quote Link to comment Share on other sites More sharing options...
Silier Posted October 30, 2022 Report Share Posted October 30, 2022 https://github.com/0ad/0ad/blob/master/binaries/data/mods/mod/gui/page_modmod.xml 1 Quote Link to comment Share on other sites More sharing options...
Ceres Posted October 30, 2022 Author Report Share Posted October 30, 2022 Oh my bad, I looked in the wrong path. Thank you! Why is file page_modmod.xml referred to from \binaries\data\mods\public\gui\pregame\MainMenuItems.js stored in \binaries\data\mods\mod\gui\? Besides, I wonder why I cannot find page_modmod.xml via the GitHub search: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.