3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 21120|回复: 471
打印 上一主题 下一主题

[MOD] 【2023.1.7搬运】Custom Npc Portraits自定义NPC头像无汉化 2023.1.3更新版本

  [复制链接]

19

主题

191

帖子

1022

积分

游戏狂人

Rank: 6Rank: 6

贡献度
109
金元
5857
积分
1022
精华
0
注册时间
2015-8-4
跳转到指定楼层
主题
发表于 2023-1-7 10:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
n网原址:https://www.nexusmods.com/pathfi ... 346?tab=description
大家有余力的支持一下作者

The name Taneka is from Kingmaker, but this still applies:

So the logic is, whatever name you see during the conversation, in this case Taneka,
that will be the folder name where the mod looks for a custom portrait's Medium.png
Example:
c:\Users\YOURUSERNAME\AppData\LocalLow\Owlcat Games\Pathfinder Wrath Of The Righteous\Portraits - Npc\Taneka\Medium.png
(If you wan't custom tactical mode initiative tracker's portrait, then you need a Small.png too)

But you are free to replace these ones with anything.
You can just copy a Medium.png to the Taneka root folder
to overwrite the Medium.png there, in this case
into the Portraits - Npc/Taneka dir and you have a new portrait in game
from then on.

The "Game Default Portraits" is for the backup for game's own portraits,
for an npc.

Ok, so far we talked about the fallback (root Taneka) location (Portraits - Npc/Taneka),
which means this is the dialog name, the mod will only use this,
if you don't have a sub character for this dialog
name. (I'll explain that in a minute)
But first you should know about a folder you can make
"Portraits - Npc/Taneka/Taneka", which
is the dialog name twice, this is the override folder, if you have this
and a Medium.png in it, then nothing else will be used. ,(To further
mess with you the mod creates those sometimes, then if there is
something in it and the mod only uses that one, then that's why. I'm
ironing this out, so the mod won't do that)

Ok, so the way you can specify sub characters is when you
talk with the Taneka when she is cyclops, you open up
the mod menu Ctrl+10 and click on the create sub
folder button, it will tell you next to it what it will be called, like
Tan_Cyclops_act99_whateverunit, i just made this up, the point is it is
the programmatic name of that npc unit only of this variety.
(Hint: if a sub folder name has underscore in it:   _   then the mod almost
certainly uses the portraits in it for one or another dialog)
Then you will copy the cyclops Medium.png into that one and whenever the game
uses her cyclops unit for a conversation, then this portrait will be
shown.

So then you can do the whole process for when you talk with her as a human
unit, then it will also give you a dir like
"Portraits - Npc/Taneka/Taneka_gobbledygookunit/",
then you put your girl pic in it and you are set.
The drawback of doing this way is some units have dozens of sub units
under the same dialog name, one for each map
where they show up for a dialog sometimes, so you will have to create a
sub dir and copy the right Medium.png into each one.
So that's why it is good to keep one in the fallback, (Portraits - Npc/Taneka),
let's say she talks as human 9 times and cyclops in 1 dialog (i just made that up),
then you just make one for the cyclops subdir, it will be used only for
that cyclops if it show up in a dialog, and for everything else it will use the fallback one.

So:
Portraits - Npc/Taneka/Alt 01/Medium.png                                          (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Alt 02/Medium.png                                          (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Game Default Portraits/Medium.png              (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Game Doll Portraits/Medium.png                   (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Medium.png                                                     (Taneka root = fallback location)

This will always use the last one (fallback), because that's the only valid place, the fallback one.
(Because there is no Taneka/Taneka or Taneka/Tan_Cyclops_act99_whateverunit or Taneka/Taneka_gobbledygookunit)

Or
Portraits - Npc/Taneka/Alt 01/Medium.png                                          (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Alt 02/Medium.png                                          (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Game Default Portraits/Medium.png              (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Game Doll Portraits/Medium.png                   (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Tan_Cyclops_act99_whateverunit/Medium.png       (cyclops sub unit name for dialogs with Taneka)
Portraits - Npc/Taneka/Medium.png                                                      (Taneka root = fallback location)

This will use the last one in all Taneka-s in dialogs (fallback), except for the Taneka who is sporting this specifically named cyclops unit (Tan_Cyclops_act99_whateverunit) in game when Tan_Cyclops_act99_whateverunit shows up in your conversations with Taneka.

Or
Portraits - Npc/Taneka/Alt 01/Medium.png                                        (Backup, mod is notlooking for portrait here)
Portraits - Npc/Taneka/Alt 02/Medium.png                                          (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Game Default Portraits/Medium.png              (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Game Doll Portraits/Medium.png                   (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Tan_Cyclops_act99_whateverunit/Medium.png         (cyclopssub unit's name for dialogs with Taneka)
Portraits - Npc/Taneka/Taneka_gobbledygookunit/Medium.png                 (girl looking sub unit's name for dialogs with Taneka)
Portraits - Npc/Taneka/Medium.png                                                     (Taneka root = fallback location)

This will use the last one in all Taneka-s in dialogs (fallback), except for the Taneka who is sporting the specifically named cyclops or taneka units
(Tan_Cyclops_act99_whateverunit or Taneka_gobbledygookunit) in game when Tan_Cyclops_act99_whateverunit or Taneka_gobbledygookunit shows up
in your conversations with Taneka respectively.

Or
Portraits - Npc/Taneka/Alt 01/Medium.png                                        (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Alt 02/Medium.png                                          (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Game Default Portraits/Medium.png              (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Game Doll Portraits/Medium.png                   (Backup, mod is not looking for portrait here)
Portraits - Npc/Taneka/Tan_Cyclops_act99_whateverunit/Medium.png         (cyclopssub unit's name for dialogs with Taneka)
Portraits - Npc/Taneka/Taneka_gobbledygookunit/Medium.png                 (girl looking sub unit's name for dialogs with Taneka)
Portraits - Npc/Taneka/Taneka/Medium.png    <-- ALWAYS USED!!!!       (Taneka/Taneka override folder)
Portraits - Npc/Taneka/Medium.png                                                        (Taneka root = fallback location

This will always use the second to last one at all times, no matter what, as Taneka/Taneka is the override folder, it always overrides everything else.

Conclusion, it doesn't matter what dirs are present, the mod will only look for a Medium.png to use in dialog in taneka/taneka, or a specifically created sub unit dir from mod menu by you, (or in some cases like Kressle bandits by me), or in root taneka, (in this order).
All other dirs can be just used for backups/storage for alts.

Feel free to study the code:
https://github.com/edvin76/CustomNpcPortraits



大体就是通过和特定的NPC对话来修改头像,可以自己机翻一下
游客,如果您要查看本帖隐藏内容请回复

评分

1

查看全部评分

回复

使用道具 举报

6

主题

814

帖子

1014

积分

游戏狂人

Rank: 6Rank: 6

贡献度
5
金元
9941
积分
1014
精华
0
注册时间
2014-1-22
舒服的沙发
发表于 2023-1-7 18:08 | 只看该作者
1111111111111111111111111111111111111
回复 支持 反对

使用道具 举报

53

主题

1671

帖子

6385

积分

游戏精英

Rank: 8Rank: 8

贡献度
206
金元
55609
积分
6385
精华
0
注册时间
2010-4-5

G胖の微笑

硬硬的板凳
发表于 2023-1-7 18:12 | 只看该作者
666666666666666666
回复 支持 反对

使用道具 举报

6

主题

1174

帖子

1032

积分

游戏狂人

Rank: 6Rank: 6

贡献度
5
金元
10118
积分
1032
精华
0
注册时间
2010-2-26
冰凉的地板
发表于 2023-1-9 18:45 | 只看该作者
dddddddddddddddddddddddddddddddddddddd
回复 支持 反对

使用道具 举报

0

主题

195

帖子

289

积分

高级玩家

Rank: 4

贡献度
0
金元
2889
积分
289
精华
0
注册时间
2012-2-25
5#
发表于 2023-1-11 00:22 | 只看该作者
回复 支持 反对

使用道具 举报

4

主题

774

帖子

800

积分

超级玩家

Rank: 5Rank: 5

贡献度
2
金元
7921
积分
800
精华
0
注册时间
2011-7-4
6#
发表于 2023-1-11 18:19 | 只看该作者
这个真的需要...好多头像真的是...
回复 支持 反对

使用道具 举报

12

主题

2334

帖子

1954

积分

游戏狂人

Rank: 6Rank: 6

贡献度
10
金元
19141
积分
1954
精华
0
注册时间
2007-2-23
7#
发表于 2023-1-15 23:02 | 只看该作者
感谢分享
回复 支持 反对

使用道具 举报

0

主题

106

帖子

219

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
2186
积分
219
精华
0
注册时间
2009-12-9
8#
发表于 2023-1-17 10:57 | 只看该作者
感谢楼主分享
回复 支持 反对

使用道具 举报

0

主题

312

帖子

351

积分

高级玩家

Rank: 4

贡献度
0
金元
3505
积分
351
精华
0
注册时间
2020-2-4
9#
发表于 2023-1-18 19:07 | 只看该作者
感谢楼主分享
回复 支持 反对

使用道具 举报

0

主题

157

帖子

224

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
2244
积分
224
精华
0
注册时间
2020-2-25
10#
发表于 2023-1-22 22:06 | 只看该作者
感谢楼主分享
回复 支持 反对

使用道具 举报

14

主题

277

帖子

341

积分

高级玩家

Rank: 4

贡献度
0
金元
3407
积分
341
精华
0
注册时间
2010-1-19
11#
发表于 2023-1-23 08:32 | 只看该作者
GAN XIE FEN XIANG

回复 支持 反对

使用道具 举报

0

主题

30

帖子

30

积分

初级玩家

Rank: 2

贡献度
0
金元
304
积分
30
精华
0
注册时间
2021-9-21
12#
发表于 2023-1-23 15:51 | 只看该作者
1111111111111111
回复 支持 反对

使用道具 举报

1

主题

494

帖子

1490

积分

游戏狂人

Rank: 6Rank: 6

贡献度
0
金元
14900
积分
1490
精华
0
注册时间
2013-3-14

小罗~

13#
发表于 2023-1-23 23:18 | 只看该作者
niuniuniu
回复 支持 反对

使用道具 举报

0

主题

1085

帖子

1158

积分

游戏狂人

Rank: 6Rank: 6

贡献度
0
金元
11583
积分
1158
精华
0
注册时间
2008-2-22
14#
发表于 2023-1-24 22:25 | 只看该作者
666666666666666666666666666
回复 支持 反对

使用道具 举报

0

主题

1340

帖子

1603

积分

游戏狂人

Rank: 6Rank: 6

贡献度
0
金元
16028
积分
1603
精华
0
注册时间
2019-7-16
15#
发表于 2023-1-26 23:47 | 只看该作者
66666666666666666
回复 支持 反对

使用道具 举报

0

主题

18

帖子

31

积分

初级玩家

Rank: 2

贡献度
0
金元
309
积分
31
精华
0
注册时间
2023-1-12
16#
发表于 2023-1-27 09:48 | 只看该作者
。。。。。。。。。。。。。。。。。。。。。
回复 支持 反对

使用道具 举报

0

主题

723

帖子

841

积分

超级玩家

Rank: 5Rank: 5

贡献度
0
金元
8409
积分
841
精华
0
注册时间
2014-7-9
17#
发表于 2023-1-27 10:12 | 只看该作者
而ear色弱


回复 支持 反对

使用道具 举报

3

主题

1314

帖子

1289

积分

游戏狂人

Rank: 6Rank: 6

贡献度
0
金元
12891
积分
1289
精华
0
注册时间
2012-1-16
18#
发表于 2023-1-27 22:05 | 只看该作者
感谢楼主分享优质内容,希望继续努力!感谢分享!给你点赞!下载试用一下,如果用着不错就给楼主顶贴!先下载看看好不好用!
回复 支持 反对

使用道具 举报

32

主题

1687

帖子

5285

积分

游戏精英

真蛋疼无双

Rank: 8Rank: 8

贡献度
129
金元
47693
积分
5285
精华
0
注册时间
2010-3-13

2025国庆铭牌庆国庆迎中秋

19#
发表于 2023-1-29 22:28 | 只看该作者
感谢分享
回复 支持 反对

使用道具 举报

0

主题

44

帖子

107

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
1070
积分
107
精华
0
注册时间
2016-8-25
20#
发表于 2023-1-29 23:07 | 只看该作者
66666666666
回复 支持 反对

使用道具 举报

0

主题

623

帖子

717

积分

超级玩家

Rank: 5Rank: 5

贡献度
0
金元
7172
积分
717
精华
0
注册时间
2014-7-16
21#
发表于 2023-1-30 19:35 | 只看该作者
啊啊啊啊啊啊
回复 支持 反对

使用道具 举报

0

主题

20

帖子

21

积分

新手玩家

Rank: 1

贡献度
0
金元
205
积分
21
精华
0
注册时间
2022-6-5
22#
发表于 2023-2-2 19:17 | 只看该作者
谢谢分享
回复 支持 反对

使用道具 举报

0

主题

20

帖子

21

积分

新手玩家

Rank: 1

贡献度
0
金元
205
积分
21
精华
0
注册时间
2022-6-5
23#
发表于 2023-2-2 19:18 | 只看该作者
谢谢分享
回复 支持 反对

使用道具 举报

0

主题

23

帖子

87

积分

初级玩家

Rank: 2

贡献度
0
金元
865
积分
87
精华
0
注册时间
2017-7-2
24#
发表于 2023-2-2 23:38 | 只看该作者
好人一生平安
回复 支持 反对

使用道具 举报

0

主题

36

帖子

49

积分

初级玩家

Rank: 2

贡献度
0
金元
485
积分
49
精华
0
注册时间
2019-4-18
25#
发表于 2023-2-3 22:51 | 只看该作者
111111111111111
回复 支持 反对

使用道具 举报

1

主题

1254

帖子

1395

积分

游戏狂人

Rank: 6Rank: 6

贡献度
0
金元
13951
积分
1395
精华
0
注册时间
2015-9-5
26#
发表于 2023-2-3 22:52 | 只看该作者
感谢楼主分享
回复 支持 反对

使用道具 举报

2

主题

825

帖子

1077

积分

游戏狂人

Rank: 6Rank: 6

贡献度
2
金元
10692
积分
1077
精华
0
注册时间
2014-2-26
27#
发表于 2023-2-4 01:08 | 只看该作者
6666666666666666666666
回复 支持 反对

使用道具 举报

4

主题

325

帖子

659

积分

超级玩家

Rank: 5Rank: 5

贡献度
24
金元
5634
积分
659
精华
0
注册时间
2022-12-7
28#
发表于 2023-2-4 22:55 | 只看该作者
感谢分享
回复 支持 反对

使用道具 举报

0

主题

43

帖子

118

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
1178
积分
118
精华
0
注册时间
2011-12-5
29#
发表于 2023-2-4 23:04 | 只看该作者
234234234234234
回复 支持 反对

使用道具 举报

0

主题

163

帖子

237

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
2366
积分
237
精华
0
注册时间
2012-8-9
30#
发表于 2023-2-5 01:06 | 只看该作者
的点点滴滴多多多多多多多多多多多多多多多多多
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-3-17 22:14 , Processed in 0.038237 second(s), 19 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表