Page 1 of 1

What is the "base game archive"?

Posted: Wed Sep 19, 2012 8:10 am
by davehca
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?

Re: What is the "base game archive"?

Posted: Wed Sep 19, 2012 10:28 am
by petri
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.

Re: What is the "base game archive"?

Posted: Thu Sep 20, 2012 7:17 am
by davehca
That works.. thank you!! :D

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"?

Posted: Thu Sep 20, 2012 11:12 am
by Darklord
Petri mentions something similar here,

viewtopic.php?f=14&t=3260#p32903

Daniel.