Looking for asset reference
Looking for asset reference
Hello all,
Newbie to scripting here, I just begun last night following Kromag's excellent video tutorial.
I am working on a script to "force" a specific party upon the initial dungeon load/spawn. So far, I've got everything (almost!) covered: Class, gender, race, gear, names ... all I am missing is the PORTRAITS !
Where do I find a list or references of the portrait's file names for the game to be used with getChampion:setPortrait(xyz) ??
Thanks all....
Newbie to scripting here, I just begun last night following Kromag's excellent video tutorial.
I am working on a script to "force" a specific party upon the initial dungeon load/spawn. So far, I've got everything (almost!) covered: Class, gender, race, gear, names ... all I am missing is the PORTRAITS !
Where do I find a list or references of the portrait's file names for the game to be used with getChampion:setPortrait(xyz) ??
Thanks all....
Re: Looking for asset reference
I have used this and it worked great for me. Covers all of what you have, plus portraits, skills, and starting inventory. If you have any trouble, let us know, sure we can help you figure it out.
viewtopic.php?f=14&t=3201&p=32330&hilit=portrait#p32330
viewtopic.php?f=14&t=3201&p=32330&hilit=portrait#p32330
Currently conspiring with many modders on the "Legends of the Northern Realms"project.
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
Re: Looking for asset reference
Thanks msyblade for the link.
I looked it over and there's some great stuff in there. My script is already pretty much in the same direction, but with nuances...I got most of the same stuff right, but by taking another path.
What I cannot figure out is the default and alternate portrait NAMES: Where do I get the name of the portrait to choose which to put into my script ?
With item it's easy: It's all in the editor ... but basic portraits ?
Right now, I always end-up with the human, the minotaur, the female rogue and the mage. I want to force a change to those to my selections but do not know where to go look for the names of the alternates I want to use !
I looked it over and there's some great stuff in there. My script is already pretty much in the same direction, but with nuances...I got most of the same stuff right, but by taking another path.
What I cannot figure out is the default and alternate portrait NAMES: Where do I get the name of the portrait to choose which to put into my script ?
With item it's easy: It's all in the editor ... but basic portraits ?
Right now, I always end-up with the human, the minotaur, the female rogue and the mage. I want to force a change to those to my selections but do not know where to go look for the names of the alternates I want to use !
- Skuggasveinn
- Posts: 562
- Joined: Wed Sep 26, 2012 5:28 pm
Re: Looking for asset reference
The default portraits are under assets/textures/portraits
So if you want to change the portrait of the first hero to look like Toorum you would do something like this
if you want to make the portrait look like the lizardman female it would be
If you make your own or want to import someone portraits you just place them anywhere in your mod_assets folder and point to them
Just remember if you create your own they are 128x128 pixels in a DDS format
Hope that helps.
Skuggaveinn.
So if you want to change the portrait of the first hero to look like Toorum you would do something like this
Code: Select all
party:getChampion(1):setPortrait("assets/textures/portraits/toorum.tga")
Code: Select all
party:getChampion(1):setPortrait("assets/textures/portraits/lizardman_female_01.tga")
Code: Select all
party:getChampion(1):setPortrait("mod_assets/textures/portraits/skeletor.tga")
Hope that helps.
Skuggaveinn.
Re: Looking for asset reference
Skuggasveinn, thank you, that is very usefull info for my needs.
Is there a list of the portraits names and filenames? I been looking over the web and can,t find one and I've been looking through my local Steam folder and can't find anything either
THAT is really all that I am missing !
Is there a list of the portraits names and filenames? I been looking over the web and can,t find one and I've been looking through my local Steam folder and can't find anything either
THAT is really all that I am missing !
Re: Looking for asset reference
zanreth wrote:Is there a list of the portraits names and filenames?
Code: Select all
dead.tga
empty.tga
human_female_01.tga
human_female_02.tga
human_male_01.tga
human_male_02.tga
human_male_03.tga
human_male_04.tga
human_male_05.tga
insectoid_female_01.tga
insectoid_female_02.tga
insectoid_male_01.tga
insectoid_male_02.tga
lizardman_female_01.tga
lizardman_male_01.tga
lizardman_male_02.tga
lizardman_male_03.tga
minotaur_female_01.tga
minotaur_male_01.tga
minotaur_male_02.tga
minotaur_male_03.tga
toorum.tga
Re: Looking for asset reference
Thank you Isaac ! That's just what I needed !
- Skuggasveinn
- Posts: 562
- Joined: Wed Sep 26, 2012 5:28 pm
Re: Looking for asset reference
It occurs to me since you asked for the file names of the portraits that you haven't downloaded the asset pack.
If so you should really crap it here http://www.grimrock.net/modding/asset-pack/
Then you can easily see for yourself all the names of particles, models, gfxatlas item numbers, portraits, effects etc etc.
If so you should really crap it here http://www.grimrock.net/modding/asset-pack/
Then you can easily see for yourself all the names of particles, models, gfxatlas item numbers, portraits, effects etc etc.
Re: Looking for asset reference
Thanks Skuggasveinn, I just did and that really answer a lot of questions I had ...
I should have started there
I should have started there