On the Sripting Reference page is says:
Champion:setPortrait(filename)
Sets the image file to be used as champion’s portrait. The portrait must be a valid TGA file of size 128*128 pixels. The file must be located in “mod_assets” folder or contained in the base game archive.
What and where is this "base game archive" it refers to?
What are the portrait filenames for the already existing portraits?
What is the "base game archive"?
Re: What is the "base game archive"?
Base game archive refers to those assets bundled with the game.
Built-in portraits follow this naming convention:
assets/textures/portraits/<race>_<sex>_<index>.tga
where <race> is either human, insectoid, lizardman or minotaur, <sex> is either male or female and <index> is a two digit numeric variation index (01, 02, ...).
For example,
asset/textures/portraits/human_male_01.tga
asset/textures/portraits/human_female_01.tga
asset/textures/portraits/human_female_02.tga
asset/textures/portraits/insectoid_male_01.tga
asset/textures/portraits/insectoid_male_02.tga
etc.
Built-in portraits follow this naming convention:
assets/textures/portraits/<race>_<sex>_<index>.tga
where <race> is either human, insectoid, lizardman or minotaur, <sex> is either male or female and <index> is a two digit numeric variation index (01, 02, ...).
For example,
asset/textures/portraits/human_male_01.tga
asset/textures/portraits/human_female_01.tga
asset/textures/portraits/human_female_02.tga
asset/textures/portraits/insectoid_male_01.tga
asset/textures/portraits/insectoid_male_02.tga
etc.
Re: What is the "base game archive"?
That works.. thank you!!
Another question please.. when I first tried it I typed it in wrong, and the resulting error referenced a file type of ".dds" not found, not ".tga".
Is this correct?
Another question please.. when I first tried it I typed it in wrong, and the resulting error referenced a file type of ".dds" not found, not ".tga".
Is this correct?
Re: What is the "base game archive"?
A gently fried snail slice is absolutely delicious with a pat of butter...
