Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Question about portraits  (Read 2274 times)

Longsword01

  • Ensign
  • *
  • Posts: 7
    • View Profile
Question about portraits
« on: September 10, 2019, 10:30:10 AM »

Hi all I've been working on a merged portrait set of a few packs found here on the forums.  This will most likely be for personal use depending on what has to be done in regards to the authors of the packs that I've merged.  I did this since I saw in the character creation that there was a fair amount of duplicate portraits in the menu bloating it by a fair amount.  I wanted to trim that down so there were no or very few duplicates there and also so I can give most factions in my game a set of unique to their faction portraits with a pool of common ones.  I have fourteen faction mods in the game so I was wondering what could be done so that I just need to use the pack I bashed together so that only those portraits are used, or is that possible?  Would I have to make those changes individually in each faction mod I have in game?

Also what file controls which portraits show up in character creation is it the player.faction file?
Logged

Takion Kasukedo

  • Admiral
  • *****
  • Posts: 512
  • No longer drinking (Alcohol that is)
    • View Profile
Re: Question about portraits
« Reply #1 on: September 11, 2019, 02:51:26 AM »

The player.faction file indeed controls that.

As for ensuring the game only uses those...I have no idea.
Logged
Is now able to cook a decent Creamy Salmon Pasta, amok other things.

Still loves purple. Still not skilled enough to make a mod that doesn't get that one damn error.

Longsword01

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: Question about portraits
« Reply #2 on: September 11, 2019, 09:40:39 AM »

Thanks, I guess I'll either need to go into each faction file and add in the portraits or merge em all into one.
Logged

CariTheKitty

  • Ensign
  • *
  • Posts: 33
    • View Profile
Re: Question about portraits
« Reply #3 on: September 11, 2019, 09:49:03 AM »

You'll need to replicate the info in each faction file. Each faction needs its own faction file.
Logged

Longsword01

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: Question about portraits
« Reply #4 on: September 11, 2019, 09:59:29 AM »

Ok and then have it so my pack loads in after all the other faction mods?  Do I put a 'z' in front of the name in display to the user line in mod.json file?
Logged

Serenitis

  • Admiral
  • *****
  • Posts: 1470
    • View Profile
Re: Question about portraits
« Reply #5 on: September 13, 2019, 08:37:40 AM »

As for ensuring the game only uses those...I have no idea.

In the mod_info.json add the following new line:
Code
"replace":["data/world/factions/player.faction",],

This will overwrite the player.faction with whatever you create.
Note: You will need to define all the player flags and link to name lists plus a few other things as well, otherwise it may not work as intended (or at all).
The easiest way around this is to copy player.faction from core and alter that to suit, just to make sure anything you don't want/need to change is still being covered.

Logged

Longsword01

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: Question about portraits
« Reply #6 on: September 14, 2019, 10:08:24 PM »

Thanks for the info.  I'll try this still learning what I can about modding this game by doing edits here and there via other mods that work and seeing what sticks and what doesn't.
Logged