• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

gdebojyoti

Recruit
Jul 21, 2024
1
0
Hey!

Any tips on where I can find the source code or further documentation for all the game UI React components? Example -

game-ui/menu/components/main-menu-screen/main-menu-screen.tsx
game-ui/menu/components/main-menu-screen/main-menu-screen.module.scss

I searched the game installation folder for .tsx files, but I did not come across the "game ui" ones.

I came across a list of such React components by logging moduleRegistry.find(/game-ui\/game\/components\/tool-options/) in the browser console. I have attached a screenshot for reference.

1721558121662.png



I want to know more about how they work internally, and what props each of them accepts.

Why do I want the list of props?
So that I can make changes in the game UI for my mod according to my requirements.

Cheers!
 
Last edited: