超级玩家
- 贡献度
- 103
- 金元
- 5167
- 积分
- 929
- 精华
- 0
- 注册时间
- 2015-8-4
|
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
查看全部评分
-
|