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

注册 登录

QQ登录

只需一步,快速开始

查看: 16436|回复: 424

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

  [复制链接]

18

主题

156

帖子

929

积分

超级玩家

Rank: 5Rank: 5

贡献度
103
金元
5167
积分
929
精华
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对话来修改头像,可以自己机翻一下
游客,如果您要查看本帖隐藏内容请回复

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

评分

1

查看全部评分

回复

使用道具 举报

6

主题

609

帖子

705

积分

超级玩家

Rank: 5Rank: 5

贡献度
5
金元
6854
积分
705
精华
0
注册时间
2014-1-22
发表于 2023-1-7 18:08 | 显示全部楼层
1111111111111111111111111111111111111
回复 支持 反对

使用道具 举报

53

主题

1619

帖子

6069

积分

游戏精英

Rank: 8Rank: 8

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

G胖の微笑

发表于 2023-1-7 18:12 | 显示全部楼层
666666666666666666
回复 支持 反对

使用道具 举报

6

主题

1159

帖子

1004

积分

游戏狂人

Rank: 6Rank: 6

贡献度
5
金元
9837
积分
1004
精华
0
注册时间
2010-2-26
发表于 2023-1-9 18:45 | 显示全部楼层
dddddddddddddddddddddddddddddddddddddd
回复 支持 反对

使用道具 举报

0

主题

157

帖子

225

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
2249
积分
225
精华
0
注册时间
2012-2-25
发表于 2023-1-11 00:22 | 显示全部楼层
回复 支持 反对

使用道具 举报

4

主题

746

帖子

753

积分

超级玩家

Rank: 5Rank: 5

贡献度
2
金元
7446
积分
753
精华
0
注册时间
2011-7-4
发表于 2023-1-11 18:19 | 显示全部楼层
这个真的需要...好多头像真的是...
回复 支持 反对

使用道具 举报

12

主题

2269

帖子

1841

积分

游戏狂人

Rank: 6Rank: 6

贡献度
10
金元
18014
积分
1841
精华
0
注册时间
2007-2-23
发表于 2023-1-15 23:02 | 显示全部楼层
感谢分享
回复 支持 反对

使用道具 举报

0

主题

54

帖子

120

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
1200
积分
120
精华
0
注册时间
2009-12-9
发表于 2023-1-17 10:57 | 显示全部楼层
感谢楼主分享
回复 支持 反对

使用道具 举报

0

主题

284

帖子

306

积分

高级玩家

Rank: 4

贡献度
0
金元
3061
积分
306
精华
0
注册时间
2020-2-4
发表于 2023-1-18 19:07 | 显示全部楼层
感谢楼主分享
回复 支持 反对

使用道具 举报

0

主题

98

帖子

120

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
1199
积分
120
精华
0
注册时间
2020-2-25
发表于 2023-1-22 22:06 | 显示全部楼层
感谢楼主分享
回复 支持 反对

使用道具 举报

12

主题

252

帖子

299

积分

高级玩家

Rank: 4

贡献度
0
金元
2987
积分
299
精华
0
注册时间
2010-1-19
发表于 2023-1-23 08:32 | 显示全部楼层
GAN XIE FEN XIANG

回复 支持 反对

使用道具 举报

0

主题

30

帖子

30

积分

初级玩家

Rank: 2

贡献度
0
金元
304
积分
30
精华
0
注册时间
2021-9-21
发表于 2023-1-23 15:51 | 显示全部楼层
1111111111111111
回复 支持 反对

使用道具 举报

1

主题

479

帖子

1458

积分

游戏狂人

Rank: 6Rank: 6

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

小罗~

发表于 2023-1-23 23:18 | 显示全部楼层
niuniuniu
回复 支持 反对

使用道具 举报

0

主题

992

帖子

1040

积分

游戏狂人

Rank: 6Rank: 6

贡献度
0
金元
10399
积分
1040
精华
0
注册时间
2008-2-22
发表于 2023-1-24 22:25 | 显示全部楼层
666666666666666666666666666
回复 支持 反对

使用道具 举报

0

主题

1117

帖子

1193

积分

游戏狂人

Rank: 6Rank: 6

贡献度
0
金元
11929
积分
1193
精华
0
注册时间
2019-7-16
发表于 2023-1-26 23:47 | 显示全部楼层
66666666666666666
回复 支持 反对

使用道具 举报

0

主题

16

帖子

25

积分

新手玩家

Rank: 1

贡献度
0
金元
254
积分
25
精华
0
注册时间
2023-1-12
发表于 2023-1-27 09:48 | 显示全部楼层
。。。。。。。。。。。。。。。。。。。。。
回复 支持 反对

使用道具 举报

0

主题

604

帖子

664

积分

超级玩家

Rank: 5Rank: 5

贡献度
0
金元
6640
积分
664
精华
0
注册时间
2014-7-9
发表于 2023-1-27 10:12 | 显示全部楼层
而ear色弱


回复 支持 反对

使用道具 举报

3

主题

1123

帖子

1026

积分

游戏狂人

Rank: 6Rank: 6

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

使用道具 举报

32

主题

1559

帖子

4891

积分

游戏精英

真蛋疼无双

Rank: 8Rank: 8

贡献度
119
金元
44153
积分
4891
精华
0
注册时间
2010-3-13

国庆铭牌庆国庆迎中秋3DM小黄鸡3DMAPP专属

发表于 2023-1-29 22:28 | 显示全部楼层
感谢分享
回复 支持 反对

使用道具 举报

0

主题

41

帖子

102

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
1020
积分
102
精华
0
注册时间
2016-8-25
发表于 2023-1-29 23:07 | 显示全部楼层
66666666666
回复 支持 反对

使用道具 举报

0

主题

563

帖子

605

积分

超级玩家

Rank: 5Rank: 5

贡献度
0
金元
6050
积分
605
精华
0
注册时间
2014-7-16
发表于 2023-1-30 19:35 | 显示全部楼层
啊啊啊啊啊啊
回复 支持 反对

使用道具 举报

0

主题

17

帖子

17

积分

新手玩家

Rank: 1

贡献度
0
金元
170
积分
17
精华
0
注册时间
2022-6-5
发表于 2023-2-2 19:17 | 显示全部楼层
谢谢分享
回复 支持 反对

使用道具 举报

0

主题

17

帖子

17

积分

新手玩家

Rank: 1

贡献度
0
金元
170
积分
17
精华
0
注册时间
2022-6-5
发表于 2023-2-2 19:18 | 显示全部楼层
谢谢分享
回复 支持 反对

使用道具 举报

0

主题

18

帖子

78

积分

初级玩家

Rank: 2

贡献度
0
金元
780
积分
78
精华
0
注册时间
2017-7-2
发表于 2023-2-2 23:38 | 显示全部楼层
好人一生平安
回复 支持 反对

使用道具 举报

0

主题

22

帖子

26

积分

新手玩家

Rank: 1

贡献度
0
金元
255
积分
26
精华
0
注册时间
2019-4-18
发表于 2023-2-3 22:51 | 显示全部楼层
111111111111111
回复 支持 反对

使用道具 举报

1

主题

1031

帖子

1047

积分

游戏狂人

Rank: 6Rank: 6

贡献度
0
金元
10467
积分
1047
精华
0
注册时间
2015-9-5
发表于 2023-2-3 22:52 | 显示全部楼层
感谢楼主分享
回复 支持 反对

使用道具 举报

2

主题

642

帖子

793

积分

超级玩家

Rank: 5Rank: 5

贡献度
2
金元
7848
积分
793
精华
0
注册时间
2014-2-26
发表于 2023-2-4 01:08 | 显示全部楼层
6666666666666666666666
回复 支持 反对

使用道具 举报

2

主题

257

帖子

394

积分

高级玩家

Rank: 4

贡献度
12
金元
3457
积分
394
精华
0
注册时间
2022-12-7
发表于 2023-2-4 22:55 | 显示全部楼层
感谢分享
回复 支持 反对

使用道具 举报

0

主题

33

帖子

95

积分

初级玩家

Rank: 2

贡献度
0
金元
948
积分
95
精华
0
注册时间
2011-12-5
发表于 2023-2-4 23:04 | 显示全部楼层
234234234234234
回复 支持 反对

使用道具 举报

0

主题

143

帖子

205

积分

中级玩家

Rank: 3Rank: 3

贡献度
0
金元
2051
积分
205
精华
0
注册时间
2012-8-9
发表于 2023-2-5 01:06 | 显示全部楼层
的点点滴滴多多多多多多多多多多多多多多多多多
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-3-29 07:22 , Processed in 0.159093 second(s), 46 queries , Memcache On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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