What is the "base game archive"?

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
davehca
Posts: 21
Joined: Sat Sep 15, 2012 6:09 pm

What is the "base game archive"?

Post 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?
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: What is the "base game archive"?

Post 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.
davehca
Posts: 21
Joined: Sat Sep 15, 2012 6:09 pm

Re: What is the "base game archive"?

Post 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?
User avatar
Darklord
Posts: 2001
Joined: Sat Mar 03, 2012 12:44 pm
Location: England

Re: What is the "base game archive"?

Post by Darklord »

Petri mentions something similar here,

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

Daniel.
A gently fried snail slice is absolutely delicious with a pat of butter...
Post Reply