Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - marcin212

#1
Outdated / Re: [A17] Architect Icons
November 09, 2017, 09:21:36 AM
Quote from: Nightinggale on November 08, 2017, 10:08:19 PM
However I'm wondering if it would be possible to color code each button, meaning in addition to the icon, we have the color to quickly locate the button we want. Maybe the button colors can be configured with HugsLib or set in xml, or both in which case xml will provide the default.
Modder can add colored icon.


Quote from: Nightinggale on November 08, 2017, 10:08:19 PM
Another thing I'm wondering about. What if somebody adds yet another button? Looks like you would have to support it. It would be awesome if you could borrow the concept from Don't shave your head, in which case if you need to draw say Joy, it will go to a specific location and use Joy.png from that location. That way mods adding a new category can add a png for it and it will work with your mod or be ignored if your mod is not used. Needless to say this will have an impact in how much you need to maintain your mod. Done right and your C# code or xml will not require knowledge of which categories are used in the game.
Done in new version.
#2
Outdated / [A17] Architect Icons
November 08, 2017, 02:41:48 PM

Architect Icons adds visual cues to the Arrchitect Tab. No more random clicking to find stuff!


FOR GAMERS:
To add your own icon or change an existing one, go to the ArchitectIcons folder where your saves are located [example "C:\Users\Marcin\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\ArchitectIcons"]. In there you'll find a text file containing the names of all the tabs you have in your game. The list is created on game launch wioth ArchitectMods enabled. Just create a 16x16 PNG icon with the filename like one of the tabs, case sensitive, and put it next to thge text file. Your icon should be added on game launch.


FOR MODDERS:
If you want add icon to your tab. Just put icon to: <your_mod_folder>/Textures/UI/ArchitectIcons/<tab_def_name>.png (for example: \Textures\UI\ArchitectIcons\Rimatomics.png)