I'm trying to change the portrait through the console. I already have the .tga images on Portraits folder
This seems to be the code, but no parameter seem to work
party.party:getChampion(1):setPortrait("")
Changing your portrait while in game
- Skuggasveinn
- Posts: 562
- Joined: Wed Sep 26, 2012 5:28 pm
Re: Changing your portrait while in game
If you are talking about a mod you are making then the portrait needs to be inside your mod_assets folder ("mod_assets/portraits")
Then the command works , you simple type the full mod_assets path to your portrait
e.g.
party.party:getChampion(1):setPortrait("mod_assets/portraits/mypic.tga") -- I just did this and it works.
If you are talking about the main campaign then I think (and I could be wrong) that you can't call something that's outside the asset folder of the main campaign.
you could call the portraits that are predefined within the game, given that you know there file names, but I don't think you can call for a picture that's laying in your portraits folder under "documents/almost human/Legend of Grimrock 2/portraits" , that's something you can only to when creating a new party.
Skuggasveinn.
Then the command works , you simple type the full mod_assets path to your portrait
e.g.
party.party:getChampion(1):setPortrait("mod_assets/portraits/mypic.tga") -- I just did this and it works.
If you are talking about the main campaign then I think (and I could be wrong) that you can't call something that's outside the asset folder of the main campaign.
you could call the portraits that are predefined within the game, given that you know there file names, but I don't think you can call for a picture that's laying in your portraits folder under "documents/almost human/Legend of Grimrock 2/portraits" , that's something you can only to when creating a new party.
Skuggasveinn.
Re: Changing your portrait while in game
Yeah I wanted to change the portraits of the party members of the main mission I'm playing. I named them after friends and now that I saw the portrait tutorial I figured I'd replace the portraits with pictures of them
- Dr.Disaster
- Posts: 2876
- Joined: Wed Aug 15, 2012 11:48 am
Re: Changing your portrait while in game
You can do this but you have to give the fullpath to your custom portrait as parameter.Skuggasveinn wrote:If you are talking about the main campaign then I think (and I could be wrong) that you can't call something that's outside the asset folder of the main campaign.
Code: Select all
party.party:getChampion(n):setPortrait("/Users/<your user profile name>/Documents/Almost Human/Legend of Grimrock 2/Portraits/your_custom_portrait.tga")