I have a couple questions. How would I make a mod that would have features such as replacing the background image on the main screen? I was able to do it by changing the image file in the media folder for PA. Also is there a way to somehow replace some of the CSS files that are default so I could load my own CSS files in the mod to give the UI a different look? Thanks a million!
Background is set in "start.css" too. You don't need to replace all styles except you want to completely change menu. Basically you can just change styles you want via JavaScript.
Open the file <PA Install Dir>/media/ui/main/game/start/start.css. Find this code: Code: body { background-image: url('coui://ui/main/shared/img/backgrounds/img_bground_galaxy_01.png'); background-size: cover; } Either change the url to point to something else, or keep start.css the same and just completely replace the file "coui://ui/main/shared/img/backgrounds/img_bground_galaxy_01.png". By the way, "coui://" points to "<PA Install Dir>/media". You can only access files that are in that directory (or its subdirectories). The next step is to implement that mod using shadowing. For details on how the shadowing works, read this post. It's not very clearly written, but that's all I could find.
Thanks a bunch, I think I got it. Anyway for normal people here is an explanation. Just try to match the structure for the files and it will use them in the game such as the css files. ui\main\game\start\start.css