Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
@El Yahpo Can I do that? I think I should get permission from the creators of the mods first. If I could, I would create a new mod specifically for changing other mods' portraits.
- Changed a lot of portraits, and making them have a similar style.
- Added more portraits.
- Added simple shadowed portraits, which are the original portraits with only minor changes in the vines and bars.
As a suggestion, it would be nice if you add shadowed portraits too
@The Grand Mugwump I think that seems to be the problem from the AltPortait left untouched. I will add the AltPortraits in the next big update.
In that case, you might find this LoRA handy for enshadowment purposes: https://civitai.com/models/245513/evil-villain-sliders-ntcaixyz?modelVersionId=276962
You could generate an image with the same seed but different LoRA strengths to villainify the enshadowed variants. I've been meaning to do that once I get around to making a hero portrait pack.
https://steamcommunity.com/sharedfiles/filedetails/?id=3130425749
You can take a look at it while waiting for the next big update of this mod. I hope you enjoy it!
Most likely the issue is with the path to your image. Either you've done it in a separate mod and forgot to update the prefix to match or the image filename is subtly different than what you've entered.
Glad to have helped! :D
Idk why, but likely the Orcs Plus mod fetches the enshadowed portraits for its own needs which trips the same bug when there aren't any.
As soon as @Lanyon fixes the bad CLEARs, they should work.
These are the lines I use if you could check for me.
REPLACE god_mammon lanyon_anime_portraits.god_mammon.png
REPLACE god_mammon_portrait lanyon_anime_portraits.god_mammon_portrait.png
(my files name is god_mammon.png and god_mammon_portrait.png
and the prefix is lanyon_anime_portraits)
---
I think it would be a good idea to add the dependency to your mod. This would help reduce the number of errors as I am not sure how to fix them. Thank you for the advice about the pop-up logs thing!
DivideByZeroException: Attempted to divide by zero.
at Assets.Code.Species.getPortraitAlt (Assets.Code.Map map, System.Boolean isMale, System.Int32 index) [0x0000a] in <1f3c866800404fcb81e55c918b1d35bb>:0
at Assets.Code.Person.getPortraitAlt () [0x00063] in <1f3c866800404fcb81e55c918b1d35bb>:0
at Assets.Code.UIE_WorldNation.setTo (Assets.Code.World world, Assets.Code.SocialGroup sg, Assets.Code.PopupWorldNations p) [0x001bc] in <1f3c866800404fcb81e55c918b1d35bb>:0
at Assets.Code.PopupWorldNations.populate () [0x000f0] in <1f3c866800404fcb81e55c918b1d35bb>:0
@scrdest Oh, I didn't know that error was caused by me using 'CLEAR portraits_(m and f)Alt' without adding any portraits to them. Let me fix it real quick.
---
Additionally, if you got rid of the CLEARs altogether and moved over to using my Clear <Type, e.g. Male Hero> Faces mod as a dependency (or an equivalent maintained by someone else), you could get this mod to be more modular (no pun intended) and release packs of faces for people to pick and choose.
I've had it happen when I messed up my ADDs in the past. Most likely there's some code doing some division by the array length, and since it's zero the math blows up.
I think the problem is that you're CLEARing both portraits_<gender> and portraits_<gender>Alt (i.e. enshadowed ones), but only ADDing portraits to the regular versions. So, the enshadowed portraits are still empty.
If I'm right, you could just copy your ADD_TOs for the respective group, find/replace "ADD_TO portraits_<g>" with "ADD to portraits_<g>Alt" and paste them in.
At first I thought it's just incompatibility with other mods, but when I tested with only this as active mod, and of course I start new game every time, I still get errors and it shows wrong things in heroes/rulers description.
I get it to work once or twice yesterday, (strange enough it was working without errors when I disabled mod without restarting the game, and created new world, and all portraits were displayed correctly.)
Can it be that this mod was tested not for current stable version, but for beta-branch maybe?
I also plan to add more portraits to this pack and eventually release a new mod called 'Anime Gods and Minions' later. ( You can have a sneak peek at the new screenshot that I uploaded. )