#How would I add a UI element to an existing one

1 messages · Page 1 of 1 (latest)

brittle compass
#

I'm not sure if this is a code mod or a data mod my assumption is code mod. Essentially I want to add a description box to the software maker screen for every or just one software. For now i'll start with that, although I would also like to make it so when a press release is sent out it includes your description.

brittle compass
#

Anyone who did this. How long did it take? Im looking at some of trawis's mod files and i dont get any of it. I also looked at some code of the provided floor mod and I got some of that but there were definitely questions that needed to be raised like for most of it, it used classes pulled from what i can only assume is the game files? How would I know the names of those or what they do? To give some reference C# is my first language and I've developed a game in the unity engine, I'm a student and have about 2ish more 3 years experience with C++ and C#. The wiki says that someone with experience is needed... Just how much experience we talkin?

acoustic anvil
#

Start by using an IDE like visual studio and reference the game assemblies as mentioned on the wiki, now you can use intellisense to figure out what methods and classes exist.
You can use the WindowManager class to get UI elements in the game and add UI elements.
The console commands UI_UNDER_MOUSE, UI_CHILDREN and UI_COMPONENTS will let you figure out the path to different UI elements in the game