Jump to content

[mod] [CK2] Heroes and Villains - Discontinued


Recommended Posts

Posted
1 hour ago, Aasimar said:

Your the Man....

My pictures also got a bit messy

 

btw... i dont need to start a new game for version 0.7... right?

Hrm. Good question. You probably do now that I think about it.

 

I didn't test it on an existing game, but I did add a some hidden image traits, which could still potentially mess things up.

Posted

ahw well.... will start over again...
you know what?
with all those mod ubdates here... i could never finish a game...
not complaining
thos mods are great

Posted

Hrm. The next update will also impact existing games (break saves).

 

For those that are just looking for the image fix (Two-Six, Astrid, Hiccup being messed up), you can fix it by copying the attached file over the one of the same name that should be at \HeroesVillains\gfx\static_portraits.

 

So - to fix the image issue with the 3 messed up images in 0.7, used the attached dds image file. I'm going to hold off posting 0.8 then. Probably waiting until later next week so I can keep adding content.

hv_portraits_02.dds

Posted

its only a partial fix....

the custom Pictures are ok now
but there are still a lot of Pictuers with numbers on it (e.g. Theoderic Merohingi)... at last on an old save...

new game seems ok...

 

no worries...

Posted
4 hours ago, Aasimar said:

its only a partial fix....

the custom Pictures are ok now
but there are still a lot of Pictuers with numbers on it (e.g. Theoderic Merohingi)... at last on an old save...

new game seems ok...

 

no worries...

Whenever there's a change in the pictures or interface file, the game loads the new pictures and interface into memory. If you load up a save from prior to updating, then the old file information is still in there, conflicting with the new ones. That's why whenever there's a change in pictures or interface files, mod authors always suggest a new game so portraits don't look screwy.

Posted

TY for adding Harley back into CK2. I have no idea why Darkworld decided to scrap that character and her events, it was the most fleshed out character from that mod. looking forward to seeing what you do with her, keep up the good work!

Posted
7 hours ago, lockeslylcrit said:

Whenever there's a change in the pictures or interface file, the game loads the new pictures and interface into memory. If you load up a save from prior to updating, then the old file information is still in there, conflicting with the new ones. That's why whenever there's a change in pictures or interface files, mod authors always suggest a new game so portraits don't look screwy.

I don't believe this to be the issue this time.

 

The issue is 0.7 wasn't save game compatible (although I thought it was at first). While it clearly had an error in an image file, it also added a pair of traits, and that's what likely has the number images showing up.

 

It's my fault for packaging a fix and new trait content together. And full disclosure - I only realized that sure enough 0.7 included new traits after hearing about the number images appearing from what Aasimar shared.

Posted
8 hours ago, Aasimar said:

Event "Battle Buddys" Power Girl + Harley

"The beast is dead my ."

thers a word missing

Thank you. Looks like a localization file error. It should have called you a Lord or Lady depending on your sex. I'll just go with a generic 'liege', since that event should only trigger if their your vassal or courtier.

Posted
52 minutes ago, thedemongod95 said:

TY for adding Harley back into CK2. I have no idea why Darkworld decided to scrap that character and her events, it was the most fleshed out character from that mod. looking forward to seeing what you do with her, keep up the good work!

When lockeslylcrit took over the work I started with Dark World, some decisions were made on what to keep and what to move away from.

 

Lockeslylcrit shared some of the reasons with me. It was a mix of things. Some of the things that were low on the content side got cut, unless there was interest in expanding upon it. Some things got cut for not being viewed as a good fit with the new vision. Some things got cut or reworked to streamline things.

 

Since I'm not the one steering the path of that mod any longer - I'm not going to second guess those decisions.

 

Instead, I'll drive this one forward. Making it something that I enjoy playing with, and hopefully something others can enjoy as well.

Posted
On 8/3/2019 at 9:32 AM, lockeslylcrit said:

Whenever there's a change in the pictures or interface file, the game loads the new pictures and interface into memory. If you load up a save from prior to updating, then the old file information is still in there, conflicting with the new ones. That's why whenever there's a change in pictures or interface files, mod authors always suggest a new game so portraits don't look screwy.

There is an issue with the portraits, I started a game using version 0.7.7. When I added in a new mod that shouldn't have anything to do with this mod and loaded the save game the portraits are all messed up. Bat girl portraits started appearing on random characters, and venom got the portrait of spiderman.

Posted
3 hours ago, TentaclePentacle said:

There is an issue with the portraits, I started a game using version 0.7.7. When I added in a new mod that shouldn't have anything to do with this mod and loaded the save game the portraits are all messed up. Bat girl portraits started appearing on random characters, and venom got the portrait of spiderman.

You say that a mod shouldn't have anything to do with this mod, yet I would bet that the new mod you used added one or more new traits. And sure, that new trait(s) might not have anything to do with Heroes and Villains, however, IT WILL ALWAYS MESS UP A SAVE GAME FILE.

 

Even if you weren't using Heroes and Villains. When you add a new mod that includes one or more traits, and you load up a save that didn't have the mod before, then it causes a problem.

 

I may be off on the exact details, but in a nut shell, when you start a game with mod x, it takes a look at all of the traits and assigns them an id number. Reason being it's easier for the CK2 engine to handle things by reference/id number. You save your game - and the trait id/reference table for that game is also saved. Now, you add mod z, which adds one or more traits, and you then load up save game. When CK2 takes a look at all of the new traits, it'll rebuild it's id/reference list. The problem now, is if the trait of Diligent was id # 35 in the save, when you added a new mod and the trait list got rebuilt, well, now Futa has id # 35, so all of the people in your mod who were Diligent are now Futas.

 

Saw this many times back in the Dark World Reborn days when I'd add a new race and forget to mention a new trait was added.

Posted
1 hour ago, dewguru said:

You say that a mod shouldn't have anything to do with this mod, yet I would bet that the new mod you used added one or more new traits. And sure, that new trait(s) might not have anything to do with Heroes and Villains, however, IT WILL ALWAYS MESS UP A SAVE GAME FILE.

 

Even if you weren't using Heroes and Villains. When you add a new mod that includes one or more traits, and you load up a save that didn't have the mod before, then it causes a problem.

 

I may be off on the exact details, but in a nut shell, when you start a game with mod x, it takes a look at all of the traits and assigns them an id number. Reason being it's easier for the CK2 engine to handle things by reference/id number. You save your game - and the trait id/reference table for that game is also saved. Now, you add mod z, which adds one or more traits, and you then load up save game. When CK2 takes a look at all of the new traits, it'll rebuild it's id/reference list. The problem now, is if the trait of Diligent was id # 35 in the save, when you added a new mod and the trait list got rebuilt, well, now Futa has id # 35, so all of the people in your mod who were Diligent are now Futas.

 

Saw this many times back in the Dark World Reborn days when I'd add a new race and forget to mention a new trait was added.

That could be it, but why would the game make a random character batgirl and venom into spiderman? When I unload the mod and load the save game again, the portraits went back. Are those characters tied to a invisible trait or something that is linked to a portrait file?

Also astrid for the longest time were displayed as a boy, but then some time later it loaded back into the correct character again for no reason. That happened while I was playing the game before adding the mod.

Posted
1 hour ago, TentaclePentacle said:

Are those characters tied to a invisible trait or something that is linked to a portrait file?

That's exactly how Remedy-style static portraits work. The portrait picture is linked to a hidden trait.

In this case, Harley is normally assigned the trait harley01_pic when the character is created. The event that you get when you recruit her allows you to remove that trait and replace it with either harley02_pic, 03, or 04. When she gets to be 50 years old, she gets a hidden decision only she can use which removes those traits and adds in harley05_pic trait. 

The interface file for portraits assigns the specific 152x152 frames of the hv_portraits01.dds graphics file to the specific traits.

Posted

Alright, the next update is not save game friendly, and should be coming later this weekend.

 

It's going to include new npc's, and some new traits, events. Pretty much the standard release, although it'll be much heavier on the npc side than normal.

 

Not every npc has the option to give them an alternate avatar image like Harley or Spider-Gwen allow. This is usually because I either find an image that I really like and the npc doesn't have enough alternate looks to warrant more image options (rare), or I simply can't find a good image to provide as an alternate (usually this).

 

I spend hours going through images trying to find something that works, and sometimes I end up just settling in order to move forward.

 

I'm bringing this up, because if someone ever finds a good image that could serve as a replacement or alternate for a shitty npc image that I've got, by all means share a link to the image and I'll take a look. Now, of course tastes are subjective, and I may not opt to use something, but I'll at least seek to give a response as to why I might not use something.

 

Also - please don't just post a link to something like a Pintrest page with a bunch of variations of an npc. I'm asking for specific image recommendations if anyone has them.

Posted

My Harley is 44 years old, but I don't know when it happened, but someone her portrait changed into a random portrait either from DWF or Cheri Portraits, I couldn't tell.

Could it be a conflict with DWF or the Cheri Portraits mod?

Posted
4 hours ago, TentaclePentacle said:

My Harley is 44 years old, but I don't know when it happened, but someone her portrait changed into a random portrait either from DWF or Cheri Portraits, I couldn't tell.

Could it be a conflict with DWF or the Cheri Portraits mod?

DWF doesn't replace portraits on anyone but special characters and races. Harley was removed from DWF, so it's not a problem with that mod. It's most likely a conflict with Cheri Portraits.

Posted

There is no way Cheri Portraits is the issue. If there was a conflict with Cheri Portraits you would have noticed it the moment Harley arrived at court.

 

Is Harley a demon? Demons immediately get new portraits upon becoming full-blooded demons, which might be the source of the "conflict."

Posted
58 minutes ago, Cheri Song said:

There is no way Cheri Portraits is the issue. If there was a conflict with Cheri Portraits you would have noticed it the moment Harley arrived at court.

 

Is Harley a demon? Demons immediately get new portraits upon becoming full-blooded demons, which might be the source of the "conflict."

Harley did become a succubus somehow. She got the tag dwf_demon, I have no idea how that could have happened.  Could it be because I recruited her into the chosen of lilith society?

I used the console command to remove the trait, but the portrait didn't change back. Is there anyway to get Harley back?

Posted
1 minute ago, TentaclePentacle said:

Harley did become a succubus somehow. She got the tag dwf_demon, I have no idea how that could have happened.  Could it be because I recruited her into the chosen of lilith society?

Do you read the abilities of the societies you join?

 

1 minute ago, TentaclePentacle said:

I used the console command to remove the trait, but the portrait didn't change back. Is there anyway to get Harley back?

The easiest fix is probably for dewguru to edit the weight of his character portraits so that they have priority over DWF portraits.

Posted
2 minutes ago, TentaclePentacle said:

Harley did become a succubus somehow. She got the tag dwf_demon, I have no idea how that could have happened.  Could it be because I recruited her into the chosen of lilith society?

I used the console command to remove the trait, but the portrait didn't change back. Is there anyway to get Harley back?

Use the console to remove the trait demon_portraitXX from Harley. XX being a number from 1-20. You'll need to repeat this for each number until you remove the right trait.

Posted

Ok, I just updated Heaven & Hell, so now NPCs with the special_npc character flag wont ever get demon portraits. This will prevent special NPCs who join the Chosen of Lilith and become a full-blooded demon from getting their special portrait overwritten.

 

@dewguru will need to add flag = special_npc to the create_character block of this mod's special NPCs. This can also prevent them from getting their portrait overwritten if using DWF's Racial Seeding host change mechanic too.

Posted
40 minutes ago, lockeslylcrit said:

Use the console to remove the trait demon_portraitXX from Harley. XX being a number from 1-20. You'll need to repeat this for each number until you remove the right trait.

removing the traits worked. But then I got a blank number 12 on the portraits. But using the dwf remove custom picture option in the context menu seem to work. Just had to add in harley02_pic back in.

Posted
44 minutes ago, Cheri Song said:

Do you read the abilities of the societies you join?

 

The easiest fix is probably for dewguru to edit the weight of his character portraits so that they have priority over DWF portraits.

I thought the society would turn me into a demon not the npcs. And I thought you had to be a half demon for that to even work. I guess there is a little bit of a demon in harley?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...