Mod to add new portraits

I am wondering how to mod in new portraits for players as well as more pictures for the loading screen. Any suggestions?

13,878 views 20 replies
Reply #1 Top

Okay, for new portriats you are going to need to mod the Player(Race Name) files in the Window folder. These files define where in a Texture (.tga) folder the new portriats are located in. There are also files for the loading screen in the same file that you might want to take a look at.

Reply #2 Top

And what do I use to open these files?

Reply #3 Top

Photoshop is probably your best bet, but I think GIMP is also a good alternative, though I've never personally used it. I believe GIMP is free, though, whereas Photoshop is not.

Reply #4 Top

I tried GIMP. But it still says the image is unreadable. 

Reply #5 Top

For the tga files most decent graphics software should work (I used paint.net, though make sure you turn antilasting off). For the Player(Race) and other brushes files, just use notepad.

Reply #6 Top

But if I want to actually edit the pictures. What program do I use? All of the ones you have suggested, will not open them.

Reply #7 Top

Quoting Code_Geass, reply 6
But if I want to actually edit the pictures. What program do I use? All of the ones you have suggested, will not open them.
End of Code_Geass's quote

 

What is the file type of the file you are trying to open? I'm able to open them just fine...

Reply #8 Top

PlayerTech.playerpictures it wont open in any of the programs.

Reply #9 Top

Hmm, opens fine in notepad for me. It might be in binary format and thus is unreadable, but notepad should be able to open it just fine.

Reply #10 Top

codegeass, the playerpictures files ARE in text in the game files, and they DO open in ANY text editor like notepad and notepad++

harpo

Reply #11 Top

Does anyone know why an edit to a portrait does not show up in the selection screen, yet the button, and the one in the info card during gameplay have registered the changes. Yes I modified all the necessary files, including Player_Portrait_Large .

Reply #12 Top

No but I want to edit the picture, I can open in it notepad. But how do I edit it to change it? Sorry... Im a bit new at modding. 

Reply #13 Top

The PlayerTech.playerpictures file is not an image file, but you need it to modify portriats. It defines where in the picture file the portriat is located (as many of the portriats are grouped together in a single image). The pictures themselves are in the .tga files (located in the textures folder) that the PlayerTech file lists (I.e. Player_Portrait_Large.tga).

Reply #14 Top

I repeat my question, because this issue seems weird. I edit the picture in the Player_Portrait_Large and the modification, does not show up ingame, though the modifications to the buttons and info card one, work. What went worng and what to do.

Reply #15 Top

Quoting Raven6six6, reply 14
I repeat my question, because this issue seems weird. I edit the picture in the Player_Portrait_Large and the modification, does not show up ingame, though the modifications to the buttons and info card one, work. What went worng and what to do.
End of Raven6six6's quote

Did make any new picture files, or just edit ones that are their? Also, please list all the files you editted.

Reply #16 Top

Oh! the pictures arent in that file! Now i get it, so I go to the .tga files and edit those?

Reply #17 Top

Quoting Code_Geass, reply 16
Oh! the pictures arent in that file! Now i get it, so I go to the .tga files and edit those?
End of Code_Geass's quote

Yup, that file was just a text file to tell the game where to find the portriats. All actual artwork is stored in the texture folder in tga files (specefied by the text files).

Reply #18 Top

I edit the stock ones, aka I just edited I did not add any. I edited the .tga files, namely: Player_Portrait_Large; Player_Portrait_Button; Player_Portrait_Small; Player_Portrait_Window . However, seing as this particular portrait is from the Distant Stars mod, there was no Player_Portrait_Medium to edit, but this is irrelevant, because my modification does not apear only in the Player Options window, where you select portraits.

Reply #19 Top

Did you modify the Player(Race name).PlayerThemes file (also in the window folder) as well?

Reply #20 Top

Why would I, seing as I have only modified an already existing portrait? Or do I have to? From what I can see, that file deals with the location of portraits, but I have not added any, I have just edited an existing one, that does work, only that my edit does not show up in the selection screen, I thought that that screen was handled by PlyayerPortraitlarge