Custom Portrait Filter Mod
Garrick_MacLeod
Member Posts: 6
I created a little mod that filters any custom portraits put in the game's override folder by gender, so that male portraits only show up for male characters and female portraits only show up for female characters.
It checks if an image is already in the game's portrait-gender table so that it should not copy any portraits that are already on it.
As is, it works for bmp files with names 8 characters long ending with an "L", not including the file extension. It marks portrait names starting with "M" as male and portrait names starting with "F" as female.
For example:
M123456L.bmp would be marked male
F123456L.bmp would be marked female
D123456L.bmp would not be included
M123456P.bmp would also not be included
To install, simply unzip, then paste the .lua file into your game installation's override folder. It should work for BG:EE, BG2:EE, and IWD:EE.
It checks if an image is already in the game's portrait-gender table so that it should not copy any portraits that are already on it.
As is, it works for bmp files with names 8 characters long ending with an "L", not including the file extension. It marks portrait names starting with "M" as male and portrait names starting with "F" as female.
For example:
M123456L.bmp would be marked male
F123456L.bmp would be marked female
D123456L.bmp would not be included
M123456P.bmp would also not be included
To install, simply unzip, then paste the .lua file into your game installation's override folder. It should work for BG:EE, BG2:EE, and IWD:EE.
0