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

注册 登录

QQ登录

只需一步,快速开始

查看: 22557|回复: 475
打印 上一主题 下一主题

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

  [复制链接]

19

主题

198

帖子

1034

积分

游戏狂人

Rank: 6Rank: 6

贡献度
109
金元
5977
积分
1034
精华
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

主题

827

帖子

1046

积分

游戏狂人

Rank: 6Rank: 6

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

使用道具 举报

53

主题

1681

帖子

6448

积分

游戏精英

Rank: 8Rank: 8

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

G胖の微笑

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

使用道具 举报

6

主题

1620

帖子

1269

积分

游戏狂人

Rank: 6Rank: 6

贡献度
5
金元
12494
积分
1269
精华
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

主题

777

帖子

806

积分

超级玩家

Rank: 5Rank: 5

贡献度
2
金元
7976
积分
806
精华
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

主题

109

帖子

224

积分

中级玩家

Rank: 3Rank: 3

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

使用道具 举报

0

主题

314

帖子

355

积分

高级玩家

Rank: 4

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

使用道具 举报

0

主题

161

帖子

233

积分

中级玩家

Rank: 3Rank: 3

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

使用道具 举报

14

主题

278

帖子

342

积分

高级玩家

Rank: 4

贡献度
0
金元
3422
积分
342
精华
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

主题

496

帖子

1495

积分

游戏狂人

Rank: 6Rank: 6

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

小罗~

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

使用道具 举报

0

主题

1099

帖子

1178

积分

游戏狂人

Rank: 6Rank: 6

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

使用道具 举报

0

主题

1381

帖子

1669

积分

游戏狂人

Rank: 6Rank: 6

贡献度
0
金元
16693
积分
1669
精华
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

主题

739

帖子

866

积分

超级玩家

Rank: 5Rank: 5

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


回复 支持 反对

使用道具 举报

3

主题

1333

帖子

1322

积分

游戏狂人

Rank: 6Rank: 6

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

使用道具 举报

32

主题

1741

帖子

5394

积分

游戏精英

真蛋疼无双

Rank: 8Rank: 8

贡献度
129
金元
48783
积分
5394
精华
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

主题

648

帖子

756

积分

超级玩家

Rank: 5Rank: 5

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

使用道具 举报

0

主题

62

帖子

74

积分

初级玩家

Rank: 2

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

使用道具 举报

0

主题

62

帖子

74

积分

初级玩家

Rank: 2

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

使用道具 举报

0

主题

28

帖子

94

积分

初级玩家

Rank: 2

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

使用道具 举报

0

主题

38

帖子

52

积分

初级玩家

Rank: 2

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

使用道具 举报

1

主题

1291

帖子

1455

积分

游戏狂人

Rank: 6Rank: 6

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

使用道具 举报

2

主题

866

帖子

1137

积分

游戏狂人

Rank: 6Rank: 6

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

使用道具 举报

4

主题

398

帖子

778

积分

超级玩家

Rank: 5Rank: 5

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

使用道具 举报

0

主题

47

帖子

126

积分

中级玩家

Rank: 3Rank: 3

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

使用道具 举报

0

主题

170

帖子

247

积分

中级玩家

Rank: 3Rank: 3

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-7-17 04:49 , Processed in 0.041481 second(s), 19 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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