Shadows of Forbidden Gods

Shadows of Forbidden Gods

Anime Heroes Portraits
27 Comments
Malorn Mar 18, 2024 @ 12:30am 
Add issue with the new DLC, when it's installed all the elves no longer use anime portraits. They did prior to using the DLC, which is a strange difference.
Lanyon  [author] Mar 4, 2024 @ 5:00am 
@ZeroChansu Glad to be help!

@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.
Lanyon  [author] Mar 4, 2024 @ 4:56am 
New Big Update v1.1
- 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.
El Yahpo Feb 1, 2024 @ 10:14pm 
Is there a way you could make portraits that apply to armies and other unit types added by other mods?
ZeroChansu Jan 16, 2024 @ 12:49am 
Thanks for making these mods! +100 motivation to play this game
As a suggestion, it would be nice if you add shadowed portraits too
Lanyon  [author] Jan 7, 2024 @ 6:41pm 
@The Grand Mugwump I've found my calling.

@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.
The Grand Mugwump Jan 7, 2024 @ 2:49am 
It seems like the vanilla hero portraits replace most of the anime portraits when the heroes and rulers become shadowed.
The Grand Mugwump Jan 6, 2024 @ 6:16pm 
You are doing the dark god's work.
-Ordinique- Jan 6, 2024 @ 11:16am 
good stuff
scrdest Jan 6, 2024 @ 7:25am 
I didn't realize the model you've used for this is based on SDXL.

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.
Lanyon  [author] Jan 6, 2024 @ 2:02am 
My new mod 'Anime Gods Agents Minions' is here!
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!
scrdest Jan 5, 2024 @ 3:39am 
@Lanyon re: Mammon, syntax looks fine, I did a quick check by replacing Mammon with the paladin icon from my FR pack and it worked.

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
scrdest Jan 5, 2024 @ 3:22am 
@discordead - that seems to be another instance of the CLEAR mAlt issue.

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.
Lanyon  [author] Jan 4, 2024 @ 7:20pm 
@discordead It's all good, I'm glad that fixed your problem!
discordead Jan 4, 2024 @ 7:13pm 
Yes, I apologize, I rushed my post. Apparently I have some conflict with Orcs Plus, if I turn it off, the error stopped appearing.
Lanyon  [author] Jan 4, 2024 @ 6:59pm 
@discordead Did you use any other mods? I tested it with only mine enabled and it worked fine.
Lanyon  [author] Jan 4, 2024 @ 6:54pm 
@scrdest The Mammon thing is in another mod that I'm working on, it's just a graphic replacement that replaces most of the gods with anime portraits.

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!
discordead Jan 4, 2024 @ 6:48pm 
great mod idea, but sadly can't use it, in beggining of game I got the error:

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
Lanyon  [author] Jan 4, 2024 @ 6:38pm 
I planned to add portraits to alt heroes file but decided against it. And then I forgot to delete those lines in texture_replacement.txt.
Lanyon  [author] Jan 4, 2024 @ 6:34pm 
@Grail Knight
@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.
scrdest Jan 4, 2024 @ 1:18pm 
The Mammon thing - I'm not sure since it's not in your current mod files, but, err, I'd triple-check the file for dumb typos. That's like 90% of cases where something didn't work.

---

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.
scrdest Jan 4, 2024 @ 1:17pm 
I think the DivideByZeroException is because of at least one category having zero portraits.

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.
Grail Knight Jan 4, 2024 @ 12:34pm 
The only thing it shows in pop-up logs, is just DivideByZeroException: Attempted to divide by zero.
Grail Knight Jan 4, 2024 @ 12:32pm 
Hmm, weird, but game throws a bunch of errors at me when I try to play with this mod. Especially when I hover my mouse on portrait.

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?
Lanyon  [author] Jan 3, 2024 @ 11:02pm 
BTW Does anyone know about the God's texture file? I tried replacing god_mammon but it didn't work. However, other Gods like SWWF, Iastur, Vinerva, and Ophanim are working fine.
Lanyon  [author] Jan 3, 2024 @ 10:57pm 
@Grail Knight. Aw, thank you for your kind words! Originally, this mod was created for my personal use only, but I decided to share it with others. Glad that you like my mod!

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. )
Grail Knight Jan 3, 2024 @ 6:13pm 
Thanks a lot, I'm not usually into anime-themed restyle in games, but in this game it's actually suits quite well!