Sins of a Solar Empire : Real-Time Strategy. Unrivalled Scale.
© 2003-2013 Ironclad Games Corporation Vancouver, BC. All rights reserved.
© 2006-2013 Stardock Entertainment

Mod to add new portraits

By on February 7, 2010 11:40:47 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Ehtya

Join Date 11/2009
+3

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

20 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
February 7, 2010 11:58:47 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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.

Reason for Karma (Optional)
Successfully updated karma reason!
February 8, 2010 6:33:40 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

And what do I use to open these files?

Reason for Karma (Optional)
Successfully updated karma reason!
February 8, 2010 6:43:42 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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.

Reason for Karma (Optional)
Successfully updated karma reason!
February 8, 2010 7:23:21 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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

Reason for Karma (Optional)
Successfully updated karma reason!
February 8, 2010 9:29:31 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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.

Reason for Karma (Optional)
Successfully updated karma reason!
February 8, 2010 9:59:40 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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.

Reason for Karma (Optional)
Successfully updated karma reason!
February 8, 2010 10:08:51 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting Code_Geass,
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.

 

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

Reason for Karma (Optional)
Successfully updated karma reason!
February 9, 2010 12:31:46 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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

Reason for Karma (Optional)
Successfully updated karma reason!
February 9, 2010 12:40:01 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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.

Reason for Karma (Optional)
Successfully updated karma reason!
February 9, 2010 5:53:36 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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

harpo

Reason for Karma (Optional)
Successfully updated karma reason!
February 9, 2010 12:55:46 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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 .

Reason for Karma (Optional)
Successfully updated karma reason!
February 9, 2010 7:11:20 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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. 

Reason for Karma (Optional)
Successfully updated karma reason!
February 9, 2010 10:37:33 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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).

Reason for Karma (Optional)
Successfully updated karma reason!
February 10, 2010 2:41:26 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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.

Reason for Karma (Optional)
Successfully updated karma reason!
February 10, 2010 3:25:11 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting Raven6six6,
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.

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

Reason for Karma (Optional)
Successfully updated karma reason!
February 10, 2010 9:11:59 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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

Reason for Karma (Optional)
Successfully updated karma reason!
February 10, 2010 9:23:42 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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

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).

Reason for Karma (Optional)
Successfully updated karma reason!
February 11, 2010 12:57:00 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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.

Reason for Karma (Optional)
Successfully updated karma reason!
February 11, 2010 5:05:09 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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

Reason for Karma (Optional)
Successfully updated karma reason!
February 12, 2010 2:07:51 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108436  walnut3   Server Load Time: 00:00:00.0000094   Page Render Time: