Skip to content

Adding custom portraits to non-joinable NPC's

CahirCahir Member, Moderator, Translator (NDA) Posts: 2,819
Hi guys,

I'd like to ask for advice how to add a bunch of custom portraits to selected group of non-joinable NPC's in the most easy way? All joinable NPC's will be covered by Paint BG pack, which I like a lot.
1. Does EE Keeper can handle this? I think I saw an option to add a portrait to specific NPC but, is this working only on a chosen save game or if once added, the portraits will show on any new game started?
2. I know, it's not yet converted to BGEE, but I saw a component in BG1 NPC Project that add a bunch of portraits to some NPC's. Is it possible to just drop your own portraits with the same name and overwrite existing ones? Is this work when I install this mod? How could I possible add a new lines within a code to add more portraits to other NPC's?

Anyway, I'd like to know how to do it easy way for someone who don't know how to code things (I understand a code a little, but cannot learn it for reasons that elude me).

Comments

  • WispWisp Member Posts: 1,102

    ACTION_DEFINE_ASSOCIATIVE_ARRAY portraits BEGIN
    aasim => fl#aasim
    abela => fl#abela
    END

    ACTION_PHP_EACH portraits AS res => portrait BEGIN
    COPY_EXISTING "%res%.cre" override
    WRITE_ASCIIE 0x34 "%portrait%" #8
    BUT_ONLY
    END

    COPY "%MOD_FOLDER%/portraits" override
    Simply change the mappings in the portraits array into the ones you want and place your portraits in "mymod/portraits". This example gives portraits to Aasim and Abela. Bear in mind the resource name of the portrait is limited to 8 characters and should include your prefix.
  • CahirCahir Member, Moderator, Translator (NDA) Posts: 2,819
    edited December 2013
    @Wisp thanks, I dug up through my drive resources just to found out a mod called Faces BGEE. I know it was pulled off from forums because of legal issues, but nevertheless it should work fine for my own purposes. I think if I just put my custom portraits to appropriate folder while retaining filenames that author chose to use in this mod, it will install with my portraits set.

    I'll take a look and see if it works for me. It's nice mode actually, this Faces, but the portrait selection is not quite ideal for me, but if my idea work as intended it will save me a lot of headaches customizing the look of all NPC's in game.
    Post edited by Cahir on
Sign In or Register to comment.