边缘世界 RimWorld

边缘世界 RimWorld

Moody
flango 2018 年 4 月 24 日 下午 12:40
Custom icons or mod compatibility
There is a problem that bugs me out that is related to mod compatibility.

I play with lots and lots of mods (and so do many other players), and there are more different "jobs" for pawns like "Watching prisoners", " Using bathroom", "Maintaining an object" but these jobs don't have any icons so they're just stuck with [?] icon in the Moody tab.
The mod needs some kind of icon compatibility with other mods or "User-friendly" custom icons option as if like making their own custom icons for jobs from other mods in a shape of something like a patch or an add-on, so the user doesn't have to access the mod's root .DLL files to change up the code.

For example:
• "Bathing in ***" [bath icon]
• "Maintaining ***" [wrench icon]
• "Hauling items" [default "backpack" icon]
• "Watching prisoner" [eye icon 👁]

These improvements would really help both the player side understanding the jobs correctly and the modding community making their own Moody-compatible icon add-ons (if possible)
I hope the developer will notice that issue and try to do something about it.
< >
正在显示第 1 - 6 条,共 6 条留言
Giant Space Hamster  [开发者] 2018 年 4 月 24 日 下午 3:02 
Unfortunately a best-case scenario here would require individuals or other mod creators to generate the icons just for cross-compatibility even if I add the support in Moody. I'm not terribly optimistic that this will happen. It would likely only benefit a handful of people, which is probably not worth the amount of work it would take. I'll add it to the feature backlog for consideration but it's not on the short list.
flango 2018 年 4 月 24 日 下午 9:26 
I understand that this is not your main priority but as the time goes maybe you will find a workaround about this.
Also what about the individuals generating the icons? I don't really get it.

If I had a Visual Studio, I would try messing with the code to at least fix the problem on my side and if it will work, I may post it as something like an unofficial compatibility update, I guess, or contact you. I don't really know. I think that its not that hard to draw the icons, designate them with Texture2D (I think) and make them as modded job icons in the code, as i saw in the code itself.
最后由 flango 编辑于; 2018 年 4 月 24 日 下午 9:36
flango 2018 年 4 月 25 日 上午 12:17 
ok, so i got the editing part to work.
isn't it just the repetitive code of
public static readonly Texture2D TEXTURE_CUSTOM NAME = ContentFinder<Texture2D>.Get("UI/Icons/Jobs/CUSTOMJOB", true); ....... else if (def == JobDefOf.CUSTOMJOB) { texture2D = JobSummaryColumn.TEXTURE_CUSTOM_JOB; color = Color.get_COLOR(); }
or am i missing something?

Edit:

WELL, i can edit it right, but i can't compile it because i don't have Unity or something to convert the project to .DLL, dammit.
I can at least upload the edited .CS files and someone could compile them, i dont know
最后由 flango 编辑于; 2018 年 4 月 25 日 上午 12:56
charm 2018 年 6 月 2 日 下午 12:38 
ok, so i got the editing part to work.
isn't it just the repetitive code of
public static readonly Texture2D TEXTURE_CUSTOM NAME = ContentFinder<Texture2D>.Get("UI/Icons/Jobs/CUSTOMJOB", true); ....... else if (def == JobDefOf.CUSTOMJOB) { texture2D = JobSummaryColumn.TEXTURE_CUSTOM_JOB; color = Color.get_COLOR(); }
or am i missing something?

Edit:

WELL, i can edit it right, but i can't compile it because i don't have Unity or something to convert the project to .DLL, dammit.
I can at least upload the edited .CS files and someone could compile them, i dont know

I dont make mods. I use mods. I dont know how to make mods. But i can give suggestions. I would search google with something like .DLL converter.
flango 2018 年 6 月 2 日 下午 10:35 
引用自 TheGster
I would search google with something like .DLL converter.
You think I didn't?
最后由 flango 编辑于; 2018 年 6 月 2 日 下午 10:35
AngleWyrm 2019 年 12 月 12 日 上午 3:21 
Another up-vote for cross-mod icons; Hygene
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50