asmoreth asmoreth

Creating a Portrait Mod

Creating a Portrait Mod

I've been going through old threads, but I'm still having trouble finding complete information on modding the portrait files. I'm looking for the easiest way to do it with my image editors. Do both sets of files (the tga and dds files) have to be edited? Is there a tool available somewhere that would streamline this process cleanly? If all else fails, could someone at least direct me to a thread with some more information. I feel like I'm making this harder than it has to be. Thanks in advance! :p

91,563 views 29 replies
Reply #26 Top
TXT
pictureCount 8  <-- Total pic count each group
LargeScreenPicture
	textureName "Player_Portrait_Large.tga"
	startTopLeft [0,0]
	width 195
	height 219
	rowItemCount 8
	horizontalStride 198
	verticalStride 222
 
 You can set pictureCount to 20 and have 10 in each row, once the rowItemCount reaches 10 it uses the space value in horizontalStride to jump to the next row. The verticalStride is the space to the next picture in the row so if the avatar width is 195 and horizontalStide is 198 there is a 3 pixel space between each image. If the height of the avatar is 219 and the verticalStride is 222 there is also a 3 pixel space between rows.
Reply #27 Top

Good to know. In the player setup menu in-game where you change your name, logo, color, and picture set, will it automatically group the new pictures (presumably portraits 9 and 10 if I added 2 more to each row) into usable sets to choose from by just editing the pictureCount for each? 

Reply #28 Top

yes

 

+1 Loading…
Reply #29 Top

EDIT: I fixed the problem of the blank custom sets by adding a "Window" folder to the mod section and copying and pasting NPC, PlayerPhase, PlayerPsi, and PlayerTech .playerPictures files into the folder. They were not edited at all, just copied and... TADA. Fixed. However, the relationships page in the game is screwed up. It's entirely white. I can still move off of the page by selecting another tab at the top (I just have to click until I find it) and the game returns to normal. It's just this one page that screws up. Any ideas?

 

I don't know if anyone will see this post or not, but I downloaded a custom portrait pack and set up the mod folder exactly as was instructed and copied the large file and renamed it as a .dds. The portrait pack works with one slight problem... There are two blank portrait sets. I have looked at the file in gimp and it looks exactly like the original Sins file except with different pictures. I can't fathom why this is happening. The only files it came with are the button, large, small, and window .tga's so there is no .playerPicture file that could be changing the amount of allotted images. Does anyone have any ideas?