Portrait and loadout modding questions

Axarca
Scavenger
Posts: 3
Joined: 27 Sep 2016, 10:42

Portrait and loadout modding questions

Postby Axarca » 27 Sep 2016, 10:44

First of all, great job guys, you are amazing!

Which files determine the portrait available to each faction? Or at least I'd like to be able to replace the default Strelok one so I can use the same
portrait for all factions.
Also, is character_desc_general still the file to edit if I want to alter starting loadouts?

User avatar
Alundaio
S.T.A.L.K.E.R.
Posts: 1368
Joined: 26 May 2012, 22:26

Re: Portrait and loadout modding questions

Postby Alundaio » 27 Sep 2016, 13:39

In gamedata\configs\ui\textures_descr\ui_actor_portrets.xml are the definitions for Strelok portrait.

Once you add your own portrait to the ui_actor_portrets.dds (Save as DXT5 no mipmaps). You can alter:

Code: Select all

<texture id="ui_inGame2_Strelok" x="246" y="174" width="123" height="87"/>


x and y should be the top-left starting corner of where you put the icon.


Loadouts can be changed in:
gamedata\configs\plugins\faction_loadouts.ltx
"I have a dream that one day this community will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident; that all mods are created equal."

Axarca
Scavenger
Posts: 3
Joined: 27 Sep 2016, 10:42

Re: Portrait and loadout modding questions

Postby Axarca » 27 Sep 2016, 15:28

I take it I need to use the AXR Toolset to unpack the .xml file you mentioned? I don't see ui_actor_portrets nor ui_actor_portrets.dds, but I do see factions_loadouts.ltx

User avatar
Alundaio
S.T.A.L.K.E.R.
Posts: 1368
Joined: 26 May 2012, 22:26

Re: Portrait and loadout modding questions

Postby Alundaio » 27 Sep 2016, 16:49

Yes
"I have a dream that one day this community will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident; that all mods are created equal."

Axarca
Scavenger
Posts: 3
Joined: 27 Sep 2016, 10:42

Re: Portrait and loadout modding questions

Postby Axarca » 27 Sep 2016, 18:34

Thanks! Managed to do it.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests