用户登录
|忘记密码

新用户注册

登录

其他登陆



KSHair FaceGen出口装备-Modder的资源

作者:Herowynne
发布:mianbaoz
发布日期:2020-03-28 04:18:45
更新时间:2020-03-28 04:18:45
头像
2753
1203 人收藏
4223 次下载
10568 次浏览
1.0
上古卷轴5:重置版
本地下载 高速下载 需要优先下载下载器,50%提速

概述

我创建这个模块是为了创建另一个模块所有香草NPC的KSHair,并且我想与MODING社区共享这个资源。

这是一个用于NPC FaceGen从CreationKit导出的调制解调器的资源。

此模式适用KS Hairdos在FaceGen期间从CreationKit导出到香草NPC。

不要将此模块安装到游戏的常规加载顺序中。

此MOD只打算安装到一个最小的加载顺序,仅供NPC FaceGen从CreationKit导出。

您必须将此MOD及其所有需求安装到最小的加载顺序中。


学分

这个Mod的灵感来自香草NPCS我非常感谢鲁哈德与模特儿社区分享知识。在这个岗位上.

然而,如果面膜是在CK,那么你是幸运的,因为你可以再生这些。

首先,你必须准备好你的装备。卸载几乎所有的东西。你真的想要香草Skyrim+EEO。没有任何影响玩家或NPC的其他网格或纹理。接下来,您安装SUEMR,Eyes AO Fix,ENB Brow Fix,BVFE的播放器牙,双面顶点人类口腔修复,如果您计划使用它,可以选择地表达面部动画。(我推荐。牙齿看起来好多了。

然后加载创建工具包,选择演员,按种族排序.然后向下使用Shift+单击按种族选择每一组演员。忽略那些空白的种族。只要做精灵种族和他们的吸血鬼的等价物。忽视孩子。一旦你有一个选择,点击Ctrl+F4开始再生。不要在CK做这件事的时候捣乱。即使CK看起来在这个过程中崩溃了,别管它.让它结束吧。一旦它完成,它会神奇地自行解除崩溃,让你继续前进。完成后,关闭CK。你应该有新造的精灵与所有的网格改进烘焙,与所有其他编辑的EEO应用。这是很重要的声明,CK讨厌化妆文件是太高的分辨率。当NPC突然出现红/紫前额缺陷时,您就会知道您做了一个错误的着色文件。EEO随色调文件,所以我将假设它要么与CK友好的化妆精灵,或只是改变了他们的化妆方式出现在CK。使EEO与所有的补丁同时兼容.简单。加载香草Skyrim+EEO+任何与你机器上的补丁相关的ESP。重复我上面说过的话。

犯了个错误?没问题。删除你做的颜色,然后重新开始。

所需

将以下MODS安装到最低限度的加载顺序中,以便与CreationKit一起使用。


安装完所有所需的MOD后,再安装此MOD。


背景

此模式的目标是将KS Hairdos应用于npc,而不是在CreationKit的FaceGen导出过程中使用香草发型。保持兼容性与香草NPC记录中定义的基本游戏和贝塞斯达DLC展开。

NPC记录兼容性是此模式的主要目标。这个FaceGen出口平台生产的NPC头部网格是100%兼容香草NPC记录。不需要覆盖NPC记录。由该钻机生产的NPC头网格是对香草头网格的一种滴入式替代。

在此模块的开发过程中,我了解了以下有关NPC发型的信息,您可能会发现.

首先,一些定义:

A 发型记录是具有字段PNAM-type=HEAD的头部HDPT记录

A 头发多余记录是由发型引用的头部部分HDPT记录,带有数据--标志-是额外的部分=是额外的部分

发型或头发的额外部分名字由字段edid-Editor id指定,而不是由字段全名指定。

NPC记录可以指定一个发型,或者NPC记录(比如Tullius)可以省略一个发型,而使用NPC的种族记录发型。

为了保持与香草NPC记录的兼容性,钻机的覆盖发型记录名必须与香草名称匹配。

为了保持与普通NPC记录的兼容性,钻机的覆盖发型记录名称必须以相应节点的名称字符串索引的形式出现在头网格中。

为了保持与香草NPC记录的兼容性,每个钻机的覆盖发型记录必须包括所有最初定义的头发额外部分名称,并且它们必须匹配香草名称。

所有原来定义的头发额外的部分名称必须出现在每个生成的NPC头部网格中,作为相应节点的名称字符串索引。

额外的头发额外的部分是可以在钻机的覆盖发型记录,也可以在生成的NPC头部网格,他们不会造成黑头NPC。

不过,任何额外的头发部分必须与帽子兼容,因为额外的部分保持在头上,当一顶帽子是装备。只有原来定义的发型和头发的额外部分是隐藏时,一顶帽子是装备。

帽子和头发多余部分之间的相互作用严重限制了将头发多余部分添加到钻机的超发型记录的能力。在开发这个模式时,我非常小心,以确保与香草NPC记录的兼容性,并将每一种KS Hairdos发型正确地与它所取代的香草发型相匹配。


注记

1.单目香草发型

KS Hairdos发型看起来不错,因为它们使用两个重叠的网格,形状和纹理相同,但透明度属性不同。这两个重叠的网格是指定在(1)发型记录和(2)头发额外部分记录。

大多数香草发型至少有一个额外的部分,这使得它直接取代那些香草发型的KS Hairdos发型。

然而,一些香草发型没有头发的额外部分,这使得用KS Hairdos发型取代那些香草发型更加复杂。

我开发了一种技术,将双网格KS Hairdos发型转换为单一网状发型,以与缺乏额外头发的香草发型兼容:

首先,我复制了主要的头发网,并使用NifSkope将NiAlphaProperty旗帜从4845更改为4846。

第二,我改变了钻机的发型记录,以参考修改后的主要头发网的副本。

最后,我在游戏中进行了测试。如果头皮的额外部分通过主头发网剪裁,那么我从钻机的发型记录中去掉了头皮头发的额外部分。

复制和修改的主要头发网格包括在此模式。它们位于独立于KS Hairdos文件路径的文件路径上,以避免与KS Hairdos发生冲突。

由此产生的单目KS Hairdos发型看起来不像相应的双网眼KS Hairdos发型那么好,但它们看起来比香草发型好得多。在57种女性发型中,这一问题只影响到9种,而在87种男性发型中,仅影响到8种。

2.发色

这套装备覆盖了几种香草的头发颜色,因此当与KS Hairdos发型搭配使用时,它们看起来更自然。

头发颜色被嵌入到NPC头部网格中,因为它们是由CreationKit生成的,因此修改后的头发颜色将用于NPC,而不管您的游戏中的头发颜色是如何配置的。

3.Halldir‘s Gausn CTD

在Halldir‘s凯恩中产卵的幽灵巫师强盗在使用由该钻机生成的NPC的FaceGen导出头网格时,由于未知的原因导致了CTD。据报道,Mod也有类似的问题。香草NPCS.

Npc的编辑ID是DunHalldirs_LvlBanditGhostWizard,他的头部网格位于meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm/000B289E.NIF.文件中。

由于CTD,NPC生成的头部网格不能在游戏中使用,因此必须排除在包含所有生成的NPC头部网格的输出BSA文件中的打包。


女性发型

下表显示了哪种KS Hairdos发型取代了每种香草发型,并列出了一些使用这种发型的NPC。请注意,NPC的“使用”列表是一个子集,不是一个全面的列表。

VanillaHairstyleName-KshairdosHairStyle-使用.

DLC1HairFemaleSerana-FontanaDiTrevi-Serana

DLC1HairFemaleSeranaHuman-FontanaDiTrevi-Serana

DLC1HairFemaleValerica-天鹅-Valerica

HairFemaleDarkElf 01-Kylie-吸血鬼

HairFemaleDarkElf 02-Hanna-Nenya,Avrusa Sarethi,Tilisu Severin,吸血鬼,Thalmor,土匪,义务警员

HairFemaleDarkElf 03-DaBomb-Faralda,Taarie,VoldseGirian,吸血鬼,Thalmor,土匪

HairFemaleDarkElf 04-DaBomb-Anuriel,Arivanya,Reldith,Brelyna,Dravy内亚

HairFemaleDarkElf05-Blitz-Nimriel,Luaffyn,Dreyla Alor,Gabriella,Marise Aravel,Milore Iance,吸血鬼,Thalmor,土匪

HairFemaleDarkElf 06-月亮-Idesa Sadri,Thalmor,土匪

HairFemaleDarkElf 07-缓慢-Niluva Hlaalu,Galathil,Merilar Rendas,吸血鬼,Thalmor,土匪

HairFemaleDarkElf08-Sky224-Ardwen,土匪

HairFemaleElder01-Sky124-Helgird,仪式大师

HairFemaleElder02-Sky241

HairFemaleElder03-Guajira-(未使用)

HairFemaleElder04-SweetSumber-Anise,Vigdis Salvius

HairFemaleElf 01-Thornbird-Suvaris Atheron,Wylandriah,吸血鬼,Thalmor,土匪

HairFemaleElf 02-公主-吸血鬼,泰尔摩,土匪

HairFemaleElf 03-Pixie-Nivenor,Aphia Velothi,Varona Nelas,吸血鬼,Thalmor,土匪

HairFemaleElf04-陈词滥调-Irileth,ElyneaMothern,Thalmor,土匪

HairFemaleElf05-Icefruit-Jenassa,Cindiri Arano,土匪

HairFemaleElf 06-明信片-Niranye,Thalmor,土匪

HairFemaleElf07-Lamb-Synda Llanith,Aranea Ienith,Brelas,土匪

HairFemaleElf08-光年-Karliah,Bralsa Drel,吸血鬼,土匪

HairFemaleElf09-Luckystar-Endarie,medresi Dran,吸血鬼,Thalmor,土匪

HairFemaleElf10-LilacFogChoped-Dinya Balu,Curwe,Belval,Thalmor,土匪

海尔女性帝国1-Envy 2-道恩卫士

HairFemaleNord01-Perry-Thaena,Evette San,Threki the Innove,Bjartur,Greta,OLava,the弱者,夜间活动者,土匪,被遗弃的,受折磨的,暴风斗篷

HairFemaleNord02-RosieCloud-Lydia,Ingun Black-Briar,Gerda,Olda,土匪,未经宣誓的暴风

HairFemaleNord03-Sky228-Rikke,Gerdur,Astrid,Idgrod Ravencrone,吸血鬼,土匪,Dawn卫兵

HairFemaleNord04-Mollie-Fralia Gray-Mane,Constance Michel,Gima Uriel,吸血鬼,土匪

HairFemaleNord05-Guajira-Grelka,Frea,Angi,Susanna the Wiced,Laila Law-Giver,Karita the Pilenger,Betild,Lisbet,Argi,Adisla,Asta,Bodil,土匪,吸血鬼

HairFemaleNord06-AzureSky-Carlotta,Eydis,Faleen,Karita the Bard

HairFemaleNord07-合成-Iona,Alfhild野战出生,Annekke Crag跳投,Lynly Star-Sung,Temba宽臂

HairFemaleNord08-泡沫夏季-Ria,Illdi,Narri,Daighre,Colette Marence

HairFemaleNord09-白日梦-Svana Far-Shield,Jala,Hillevi残忍-Sea,Sorli the Builder,Nana Ildene

HairFemaleNord10-新月-Arcadia,Njada,Elisif

HairFemaleNord11-Sky245-Hulda,Iddra,Hroki,Swanhvir,Adelaisa Vendicci

HairFemaleNord12-Asity-Delphine,Lillith Maiden-织机,Gisli,Alessandra

HairFemaleNord13-不祥的-盘面茶、伯纳、法斯特雷德、莫文、哈伊迪斯、尼雅

HairFemaleNord14-ButterFly128-Sigrid,Adrienne Avenicci,Ahlam,Olfina Gray-Mane,Haelga,Difa,Illia,Senna,Idgrod the Young

HairFemaleNord15-Sky205-Ysolda,Erdi,Lami,Fruki,Boti,Muiri,Aeri,Tekla

HairFemaleNord16-酸性-萨菲亚,Sabine Nytte

HairFemaleNord17-SweetSumber-Camilla,Bryling,Inge六个手指,Sosia,Voada,Mena,Tova Shatt-Shield

HairFemaleNord18-Jackdaw-Aela,Lisette,Vivienne Onis,Edda,Silda the Unsight,Bothela,Hert

HairFemaleNord19-Viakity-Uthgerd,Maven Black-Briar,Vittoria Vici,Alva

HairFemaleNord20-Sky116-Sybille Stentor,Tilma the Haggard,Irgnir

HairFemaleNord21-XOXO-Eriana

HairFemaleOrc 01-葡萄酒-Shel,Sharamph

HairFemaleOrc 02-葡萄酒-(未使用)

HairFemaleOrc 03-只有你-拉什格拉-杜什尼赫,阿巴比

HairFemaleOrc 04-只有你-(未使用)

HairFemaleOrc 05-Lovesick-Gharol

HairFemaleOrc 06-DiscoHeavenShort-urog

HairFemaleOrc 07-Aviary-Murbul,Bagrak

HairFemaleOrc08-Papaya-Bor

HairFemaleOrc09-Sky293-ghorza Gra-Bagol,Garakh,Bolar,Dulug,Mogdurz

HairFemaleOrc10-Sky293-(未使用)

HairFemaleOrc11-Envy-Shuftharz,Ghak

HairFemaleOrc 12-Envy

HairFemaleOrc13-Cancia-UGOR,Gul

HairFemaleOrc 14-修女-Borgakh,Urzoga Gra-Shugerz,Aroba

HairFemaleOrc 15-姐妹-Yatul

HairFemaleOrc 17-碾压饼-(未使用)

HairFemaleRedGuardian 01-Sky195-Salonia Calia

HairFemaleRed卫队02-声波-Saadia,Umana,Oriella,Bujold

HairFemaleRedGuard 03-梦幻女郎

HairFemaleRedGuardian 04-迷宫-Rayya

男性发型

下表显示了哪种KS Hairdos发型取代了每种香草发型,并列出了一些使用这种发型的NPC。请注意,NPC的“使用”列表是一个子集,不是一个全面的列表。

VanillaHairstyleName-KshairdosHairStyle-使用.

HairMaleDarkElf 01-Bloom-吸血鬼

HairMaleDarkElf 02-Bacchus-Aringoth,Melaran,Maluril,Vanryth Gatharian,Sanyon,Otherloth,土匪,警卫

HairMaleDarkElf 03-Eclipse-Dravin,Tythis,Anoriath,Ambarys,Athis,Wyndeus,Gwilin,Garan Marethi,Geldis Sadri,Revus Sarvani,土匪

HairMaleDarkElf04-Leon-Valindor,Enthir,Drelas,Lleril,吸血鬼,土匪

HairMaleDarkElf 05-Adnis-TeldrynSero,Veren,Syndus,Linwe,土匪,警卫

HairMaleDarkElf06-RoughSketch-Drevis,Viarmo,Revyn,Ronthil,Galdrus,Vals,吸血鬼,Thalmor,土匪

HairMaleDarkElf07-约书亚-印达伦,昂格里恩,翁多莱马尔,奥里尼,内洛斯,韦勒斯,土匪

HairMaleDarkElf08-Cloud-Orthon,Malhyr,Arvel,Sarthis,Ravyn,吸血鬼,Thalmor,土匪,警卫

HairMaleDarkElf 09-BitterSweet-Faendal,Belyn,Aval,Fethis,Rulindil,吸血鬼,土匪

HairMaleDremora01-Benjamin-dremora,召唤得莫拉

HairMaleElder1-Jasper-Esbern,Lemkil,Wilhelm,An手雷,Varnius,土匪,被遗弃,受苦受难,士兵,Dawn卫兵

HairMaleElder2-Cup蛋糕-Kjar,Thonar,Torbjorn,Horik,土匪

HairMaleElder3-Laplace-Heimskr,Proventus,Sabjorn,Arniel,Sergius,Beirand,Thongvor,Dengeir,Rorik,土匪

HairMaleElder4-工业-Phinis,Caius,Septimus,土匪,Dawn卫兵

HairMaleElder5-Zod-Noster,Bersi,Degaine,土匪,被遗弃者,义务警员,警卫

HairMaleElder6-Adonis-Sinmir,Skjor,Giraud,吸血鬼,土匪,被遗弃的士兵

HairMaleElf 01-Macho-Slitts,土匪

HairMaleElf 02-真相-Elrindir。吸血鬼,土匪

HairMaleElf 03-吸血鬼,土匪,警卫

HairMaleElf04-Djinn-土匪

HairMaleElf05-Fallout-土匪,警卫

HairMaleElf06-Benjamin-Vingalmo,警卫

HairMaleElf07-Haunting2-土匪,警卫

HairMaleElf08-心脏地震-Erandur,吸血鬼,土匪

HairMaleElf09-RoughSketch-Nelacar,土匪

黑尔·马雷帝国1-拉普拉斯-图利乌斯,福克,罗德,罗格维尔,土匪,受灾国,士兵,卫兵

HairMaleNord01-RedRobin-Skulvar,Farkas,Brynjof,VIPIR,Morven,吸血鬼,土匪,宣誓,受折磨,义务警员

HairMaleNord02-解开锁链-拉洛夫,博尔吉尔,乔恩,瓦尔德尔,甘玛尔,土匪,背信弃义的士兵

HairMaleNord03-Camisado-Sven,Jarl Balruuf,吸血鬼,土匪

HairMaleNord04-Dip-Tolfdir,Balimund,Vignar,吸血鬼,土匪,受折磨

HairMaleNord05-回弹-附庸简森,卡尔德,吸血鬼,土匪,被遗弃,守卫

HairMaleNord06-激情-Ulfric,Erik,Kodlak,Orgnar,吸血鬼,土匪

HairMaleNord07-链式反应-H协进尔,Alvor,Vilkas,Bjorlam,Mikael,Galmar,Mercer,DBInitiate,吸血鬼

HairMaleNord08-SoledadGorm,Thorald,About,Dawn卫兵,士兵

HairMaleNord09-OpenUp-Addvar,土匪

HairMaleNord10-UltraLover-Cosnach,土匪

HairMaleNord11-OneMinutt-迪尔奇,土匪,被遗弃者

HairMaleNord12-电气-Hod,Jon,Severio,Maul,吸血鬼,土匪

HairMaleNord13-骑士-伊多拉夫,土匪

HairMaleNord14-Zero Embry,Imskar,土匪

HairMaleNord15-NiceGuy-Aerin,Vekel,Jorleif,土匪

HairMaleNord16-褪色匪徒

HairMaleNord17-土匪,被遗弃,道恩卫兵

HairMaleNord18-出没-Bassianus,Eorlund,Arnbjorn,Arngeir,吸血鬼,土匪,被遗弃,Dawn卫兵

HaireNord19-Zac-Belrand,Louis Letrush,Kleppr,土匪

HairMaleNord20-Nightwind-Fihada,Tutul,Odvan,吸血鬼,土匪,被遗弃者

HairMaleOrc 01-REACH-Durak

HairMaleOrc 02-REACH-Dawn卫兵

HairMaleOrc 03-REACH-Moth GROG-Bagul,猎人

HairMaleOrc 04-REACH

HairMaleOrc 05-REACH-(未使用)

HairMaleOrc 06-REACH-Larak,Olur,土匪

HairMaleOrc 07-REACH-(未使用)

HairMaleOrc08-Obscura-Urag格罗-Shub,Ogol,mahk

HairMaleOrc 09-Obscura-格罗马尔,莫格鲁尔,猎人

HairMaleOrc10-Obscura-(未使用)

HairMaleOrc 11-Obscura-Mauhulakh,土匪,Dawn卫兵

HairMaleOrc 12-REACH-(未使用)

HairMaleOrc 13-REACH-Yar

HairMaleOrc 14-REACH-Burguk

HairMaleOrc 15-REACH-Mulush,土匪

HairMaleOrc 16-REACH-匪徒

HairMaleOrc 17-REACH-BERWLER

HairMaleOrc 18-LikeLust3-Kharag,Umum,Lob,Gadba,土匪

HairMaleOrc 19-LikeLust 3-(未使用)

HairMaleOrc 20-LikeLust3-NagRUB,Gularzob,Dawn卫兵

HairMaleOrc 21-LikeLust3-Gat

HairMaleOrc 22-LikeLust 3-(未使用)

HairMaleOrc23-LikeLust3-土匪

HairMaleOrc24-LikeLust3-Ghorbash,土匪,猎人

HairMaleOrc25-LikeLust3-Oglb,Mul,土匪,猎人

HairMaleOrc 26-LikeLust3-Lurbuk,土匪

HairMaleOrc 27-LikeLust3-Borkul,Yamarz,猎人

黑尔·马莱·雷德卫士1-蓝-克里姆克,费斯图斯,德尔文,土匪,被遗弃者,士兵,义务警员,警卫

黑尔·马莱·雷德卫德2-Wavves-Nazeem,Elgrem,Sibbit,土匪,被遗弃的士兵

海尔·马莱·雷德卫德-撒哈拉-纳齐尔,土匪,道恩卫兵

HairMaleRedGuard 4-撒哈拉-Razelan,土匪,Dawn卫兵,警卫

HairMaleRedGuard 5-脚印-Brenuin,土匪

黑尔·马莱·雷德卫德6-马乔-阿塔,土匪

HairMaleRedGuard 7-Zombrex-Amren,Falion,土匪

HairMaleRedGuard 8-LikeLust2-Kemtu,土匪

HairMale斯诺Elf 01-Gantz-Vyrthur

HairMale斯诺Elf02-Benjamin-Athring

HairMale斯诺Elf 03-NightSprings-Celeriath

HairMale斯诺Elf06-Lex-Gelebor

MaleDremoraHair01-Benjamin-Velehk Sain,Dremora

MaleDremoraHair02-Maine

生产管线

我建造这个钻机是为了创造另一个Mod所有香草NPC的KSHair.

我正在向MOD社区提供这些资源,以帮助其他Mod作者创建NPC外观大修MODS。

制作NPC外观大修模式是一个反复试验的过程.您可以做一个更改,构建一个新版本的mod,安装mod,并在游戏中进行测试。您必须多次重复此开发周期。与任何类型的软件项目一样,一个可重复的生产管道是必不可少的。

下面是我要构建的生产管道所有香草NPC的KSHair.

步骤1

开始创建工具包。

步骤2

单击工具栏上的“文件/打开”图标。
在“数据”对话框中,双击列出的每个文件:Skyrim Update Dawn卫士HEarth Fires DragonBorn USSEP KSHairdos KSHairRig
(不要设置活动文件。)
点击OK。

步骤3

单击“是”可在没有活动文件的情况下继续。

步骤4

当CreationKit加载资源时,它将弹出各种错误消息。
单击“是”以忽略所有错误。

步骤5

最后,CreationKit将完成资源加载。
在树视图中,展开Actors,展开Actor,单击Actor
单击Race列标题按种族排序

步骤6

在右窗格中,向下滚动并跳过所有具有“--”竞赛的NPC记录,这意味着基于模板的NPC。
向下滚动到带有BretonRace的第一个NPC记录,并单击该记录来选择它。
进一步向下滚动到使用BretonRace的上一条NPC记录,然后Shift+单击该记录以选择BretonRace的整个记录序列。

步骤7

向下滚动到第一个NPC记录与BretonRaceV吸血鬼和Ctrl+点击记录来选择它,同时保留您现有的选择以上的BretonRace记录。
请注意,Ctrl+单击延展您的选择,同时保留您现有的选择。
向下滚动到最后的NPC记录,并使用BretonRace吸血鬼和Shift+Ctrl+单击记录来选择它,同时保留您现有的选择。
通过这种方式,您将为每个NPC种族选择每个记录序列,同时继续保留您现有的选择。

步骤8

重复您在第7步中为其他非野兽非儿童NPC种族所做的工作:

DA13亲缘种族

黑暗精灵

黑暗精灵吸血鬼

DLC2DremoraRace

梦想赛跑

老年种族

老年吸血鬼

高ElfRace

高埃尔法西吸血鬼

帝国竞赛

帝国吸血鬼

北方种族

NordRaceAstrid

北欧吸血鬼

兽族

兽人吸血鬼

红卫士

红卫士

雪人赛跑

伍德福斯

[医]吸血

Ctrl+单击每个序列的第一个记录,向下滚动到序列的最后一个记录,Shift+Ctrl+单击序列的最后一个记录。
如果您意外地单击而不是Ctrl+Click,您将丢失所有以前的选择序列,并且需要从步骤6重新开始。

步骤9

按Ctrl+F4
在“确认导出”弹出窗口中单击“是”。

步骤10

单击“是”以忽略所有错误。

步骤11

创建工具包将出现锁定,并变得没有响应。
别担心。不要单击CreationKit窗口中的任何内容。就让它起作用吧。需要几分钟才能生成所有的人大代表网格。
等“完成”弹出窗口出现。
点击OK。

步骤12

关闭创建工具包。
没有必要保存任何东西。

步骤13

在执行FaceGen导出时,CreationKit会同时生成NPC头部网格和面形纹理文件。

假设你的SkyRIM SE安装在C:/ProgramFiles(X86)/蒸汽/蒸汽应用/公共/Skyrim特别版中
然后生成的facetint纹理文件将位于:
C:/程序文件(X86)/蒸汽/蒸汽/普通/SkyRIM特殊Edition/Data/textures/Actors/Character/FaceGenData

根据您的目标,您可以将facetint纹理文件移动到您的mod构造文件夹中,或者在不需要时简单地删除它们。

步骤14

假设你的SkyRIM SE安装在C:/ProgramFiles(X86)/蒸汽/蒸汽应用/公共/Skyrim特别版中
然后生成的NPC头部网格将位于:
C:/程序文件(X86)/蒸汽/蒸汽/普通/SkyRIM特殊Edition/Data/meshes/actors/character/FaceGenData

您应该将生成的NPC头网格移动到您的mod构造文件夹中。

步骤15

这个平台将产生2933个头部网格,如果您遵循上述步骤并选择所有列出的NPC记录序列,总计约4.8GB的文件。BSA文件的大小限制在大约2GB,如果您尝试使用太大的BSA,SkyRIM SE将使用CTD。

在将头网格打包到BSA文件之前,必须将头网格划分为多个文件夹。您可以使用任何适合您的组织方案。

我将头部网格划分为三个文件夹:

文件夹1-从meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm开始的文件,以0001,0002或0003开头-总计约1.5GB。

文件夹2--来自meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm的其余文件--总计约2.3GB。(这将减少BSA压缩后的空间。)

文件夹3-来自贝塞斯达dlc扩展(如meshes/actors/character/FaceGenData/FaceGeom/Dawnguard.esm和其他文件)的文件总计约1GB。

步骤16

你必须排除造成CTD的Halldir‘s凯恩幽灵盗贼头网格。删除或将该文件移动到一个单独的文件夹中:
meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm/000B289E.NIF

步骤17

最后,您可以使用BSArch将NPC头网格的每个分离文件夹打包到自己的BSA文件中。
确保使用压缩来最小化BSA文件大小。


脚本文件

我创建了一个西格温shell脚本文件来自动化步骤13到17,并且我自己使用脚本来构造bsa文件所有香草NPC的KSHair.

请不要按原样在您的系统上运行此脚本,因为所有的文件路径都是特定于我的系统的。

我提供这个脚本作为其他mod作者学习的资源,但是每个mod作者都需要编辑和定制这个脚本才能在他们的系统上工作。


#!/bin/csh

cd /cygdrive/d/NewrimMods/unpacked

# Delete FaceGen textures:

rm -r 'C:/Program Files (x86)/Steam/steamapps/common/Skyrim Special Edition/Data/textures/Actors/Character/FaceGenData'

# Move FaceGen meshes to mod dir:

rm -r KSHairVanilla/original/part*

mkdir -p KSHairVanilla/original/part3/meshes/actors/character

mv 'C:/Program Files (x86)/Steam/steamapps/common/Skyrim Special Edition/Data/meshes/actors/character/FaceGenData' \
KSHairVanilla/original/part3/meshes/actors/character

# Split up FaceGen meshes into 3 parts:

mkdir -p KSHairVanilla/original/part2/meshes/actors/character/FaceGenData/FaceGeom

mv KSHairVanilla/original/part3/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm \
KSHairVanilla/original/part2/meshes/actors/character/FaceGenData/FaceGeom

mkdir -p KSHairVanilla/original/part1/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm

mv KSHairVanilla/original/part2/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm/000{1,2,3}* \
KSHairVanilla/original/part1/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm

# Exclude files that cause CTD:
# dunHalldirs_LvlBanditGhostWizard 000B289E

mkdir -p KSHairVanilla/original/part-ctd/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm

mv KSHairVanilla/original/part2/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm/000B289E.NIF \
KSHairVanilla/original/part-ctd/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm

# Clean up prior texture file symlinks

rm -rf 'KSHairVanilla/original/tex'

mkdir -p "KSHairVanilla/original/tex/textures/KS Hairdo's/hairline"

# Identify all texture files used in meshes, and create symlinks

find KSHairVanilla/original/part? -type f -print0 \
| xargs -0 strings -af \
| grep -i "ks hairdo's.*\.dds" \
| sed -e 's|.*: ||' -e 's|\(\.dds\).$|\1|' \
| sort \
| uniq \
| tr '\\' / \
| sed -e 's|^|find KSHairdos -ipath "*/|' -e 's|$|"|' \
| csh \
| sed -e 's|^\([^/]*\)\(.*\)|ln -s "../../../../../\1\2" "KSHairVanilla/original/tex\2"|' -e '/\/hairline\//s|"|"../|' \
| csh -v

# Pack .bsa files:

BSArch/bsarch.exe pack KSHairVanilla/original/part1 KSHairVanilla/KSHairVanilla1.bsa -sse -z

BSArch/bsarch.exe pack KSHairVanilla/original/part2 KSHairVanilla/KSHairVanilla2.bsa -sse -z

BSArch/bsarch.exe pack KSHairVanilla/original/part3 KSHairVanilla/KSHairVanilla3.bsa -sse -z

BSArch/bsarch.exe pack KSHairVanilla/original/tex 'KSHairVanilla/KSHairVanilla1 - Textures.bsa' -sse -z

——————————————————————————————————

Overview

I built this mod in order to create another mod KSHair For All Vanilla NPCs, and I wanted to share this resource with the modding community.

This is a modder's resource intended for NPC facegen export from Creation Kit.

This mod applies KS Hairdos to vanilla NPCs during facegen export from Creation Kit.

Do not install this mod into your regular load order for gameplay.

This mod is only intended to be installed into a minimal load order just for NPC facegen export from Creation Kit.

You must install this mod and all its requirements into a minimal load order.


Credits

This mod was inspired by Vanilla NPCs SSE Ruhmastered and I am extremely grateful to Ruhadre for sharing knowledge with the modding community in this post.

However, if the facegens were made in the CK, then you are in luck as you can regenerate those.

First, you have to prepare your rig. Uninstall almost everything. You seriously want vanilla skyrim + EEO. NO other meshes or textures for anything affecting player or NPCs. Next, you install SUEMR, Eyes AO Fix, ENB Brow Fix, BVFE's player fangs, Double Sided Vertex Human Mouth Fix, and optionally Expressive Facial Animations if you plan on using it. (I recommend it. The teeth look sooo much better.)

Then you load up Creation Kit, select actors, sort by race....then go down and use shift+click to select each group of actors by their race. Ignore the ones with a blank for race. Just do the elven races and their vampire equivalents. Ignore children. Once you have a selection made, hit Ctrl+F4 to begin regenerating. Don't mess with CK while it does this. Even if CK appears to have crashed in the process, leave it alone...let it finish. Once it finishes, it'll magically uncrash itself allowing you to move on. After you are done, close CK. You should have freshly made elves with all the mesh improvements baked in, with all the other edits made by EEO applied. It's important to state that CK HATES makeup files that are too high resolution. You'll know you made a bad tint file when that NPC suddenly has red/purple forehead bug. EEO comes with tint files, so I am going to assume that it either comes with CK friendly makeup for Elves, or just changed how their makeup appears in the CK. To make EEO compatible with all it's patches at once...simple. Load up Vanilla Skyrim + EEO + any esps related to it's patches on your machine. Repeat what I stated above.

Made a mistake? No problem. Delete the facgens/tints you made and start again.

Requirements

Install the following mods into a minimal load order intended for use with Creation Kit.

Unofficial Skyrim Special Edition Patch

SUEMR SSE with Bijin AIO 2019 Support

Eyes AO Clipping Fix

ENB Brow Fix

Just Fangs From BVFE - Modder's Resource

Double Sided Vertex Human Mouth Fix SSE

KS Hairdos SSE

KS Hairdos Maine Normal Map Fix


After installing all the required mods, then install this mod.


Background

The goal of this mod is to apply KS Hairdos to NPCs instead of vanilla hairstyles during facegen export from Creation Kit, while maintaining compatibility with vanilla NPC records as defined in the base game and Bethesda DLC expansions.

NPC record compatibility is the primary goal of this mod. This facegen export rig produces NPC head meshes that are 100% compatible with the vanilla NPC records. No override NPC records are needed. The NPC head meshes produced by this rig are a drop-in replacement for the vanilla head meshes.

During the development of this mod, I learned the following information about NPC hairstyles, which you may find useful...

First, some definitions:

A hairstyle record is a head part HDPT record with field PNAM - Type = Hair

A hair extra part record is a head part HDPT record referenced by a hairstyle, with DATA - Flags - Is Extra Part = Is Extra Part

A hairstyle or hair extra part name is specified by field EDID - Editor ID, not field FULL - Name



An NPC record can specify a hairstyle, or an NPC record (like Tullius) can omit a hairstyle and use the NPC's Race record hairstyle instead.

To preserve compatibility with vanilla NPC records, the rig's override hairstyle record names must match vanilla names.

To preserve compatibility with vanilla NPC records, the rig's override hairstyle record names must appear in the head mesh as the corresponding node's Name String Index.

To preserve compatibility with vanilla NPC records, each of the rig's override hairstyle records must include all originally-defined hair extra part names, and they must match vanilla names.

All originally-defined hair extra part names must appear in each generated NPC head mesh as the corresponding node's Name String Index.

Additional hair extra parts are OK in the rig's override hairstyle record, and are OK in the generated NPC head mesh, and they don't cause dark head NPC.

However, any additional hair extra parts must be compatible with hats because additional extra parts are kept on kept on the head when a hat is equipped. Only originally-defined hairstyle and hair extra parts are hidden when a hat is equipped.

The interaction between hats and hair extra parts severely limits the ability to add hair extra parts to the rig's override hairstyle records. I took care during the development of this mod to ensure compatibility with vanilla NPC records and to fit each KS Hairdos hairstyle correctly to the vanilla hairstyle it replaced.


Notes

1. Single-Mesh Vanilla Hairstyles

KS Hairdos hairstyles look nice because they use two overlapping meshes with the same shape and texture but different transparency attributes. Those two overlapping meshes are specified in the (1) hairstyle record and the (2) hair extra part record.

Most vanilla hairstyles have at least one hair extra part, which makes it straightforward to replace those vanilla hairstyles with a KS Hairdos hairstyle.

However, some vanilla hairstyles do not have a hair extra part, which makes it more complicated to replace those vanilla hairstyles with a KS Hairdos hairstyle.

I developed a technique to convert a two-mesh KS Hairdos hairstyle into a single-mesh hairstyle, for compatibility with vanilla hairstyles that lack a hair extra part:

First, I made a copy of the main hair mesh and used NifSkope to change the NiAlphaProperty Flags from 4845 to 4846.

Second, I changed the rig's hairstyle record to reference the modified copy of the main hair mesh.

Finally, I tested in game. If the scalp extra part clipped through the main hair mesh, then I removed the scalp hair extra part from the rig's hairstyle record.


The copied-and-modified main hair meshes are included with this mod. They are located on file paths that are separate from KS Hairdos file paths, to avoid any conflict with KS Hairdos.

The resulting single-mesh KS Hairdos hairstyles don't look quite as nice as the corresponding double-mesh KS Hairdos hairstyles, but they look much better than vanilla hairstyles. This issue affects just 9 of the 57 total female hairstyles and affects just 8 of the 87 total male hairstyles.

2. Hair Colors

This rig overrides several vanilla hair colors so they look more natural when used with KS Hairdos hairstyles.

The hair colors are embedded into the NPC head meshes as they are generated by Creation Kit, so the modified hair colors will be used for the NPCs regardless of how the hair colors are configured in your game.

3. Halldir's Cairn CTD

The ghost wizard bandit who spawns in Halldir's Cairn causes a CTD for unknown reasons when using that NPC's facegen export head mesh generated by this rig. A similar problem was reported for the mod Vanilla NPCs SSE Ruhmastered.

That NPC's EditorID is dunHalldirs_LvlBanditGhostWizard, and his head mesh is located in file meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm/000B289E.NIF.

That NPC's generated head mesh cannot be used in game due to the CTD, and must be excluded from packaging in the output BSA file that contains all the generated NPC head meshes.


Female Hairstyles

The following table shows which KS Hairdos hairstyle replaces each vanilla hairstyle, and lists some of the NPCs that use that hairstyle. Please note that the "used by" list of NPCs is a subset and is not a comprehensive list.

VanillaHairstyleName - KSHairdosHairstyle - used by...

DLC1HairFemaleSerana - FontanaDiTrevi - Serana

DLC1HairFemaleSeranaHuman - FontanaDiTrevi - Serana

DLC1HairFemaleValerica - Swan - Valerica

HairFemaleDarkElf01 - Kylie - vampires

HairFemaleDarkElf02 - Hanna - Nenya, Avrusa Sarethi, Tilisu Severin, vampires, Thalmor, bandits, Vigilants

HairFemaleDarkElf03 - DaBomb - Faralda, Taarie, Voldsea Giryon, vampires, Thalmor, bandits

HairFemaleDarkElf04 - DaBomb - Anuriel, Arivanya, Reldith, Brelyna, Dravynea

HairFemaleDarkElf05 - Blitz - Nimriel, Luaffyn, Dreyla Alor, Gabriella, Marise Aravel, Milore Ienth, vampires, Thalmor, bandits

HairFemaleDarkElf06 - Moonrise - Idesa Sadri, Thalmor, bandits

HairFemaleDarkElf07 - Slowly - Niluva Hlaalu, Galathil, Merilar Rendas, vampires, Thalmor, bandits

HairFemaleDarkElf08 - Sky224 - Ardwen, bandits

HairFemaleElder01 - Sky124 - Helgird, Ritual Master

HairFemaleElder02 - Sky241

HairFemaleElder03 - Guajira - (unused)

HairFemaleElder04 - SweetSlumber - Anise, Vigdis Salvius

HairFemaleElf01 - ThornBirds - Suvaris Atheron, Wylandriah, vampires, Thalmor, bandits

HairFemaleElf02 - Princess - vampires, Thalmor, bandits

HairFemaleElf03 - Pixie - Nivenor, Aphia Velothi, Varona Nelas, vampires, Thalmor, bandits

HairFemaleElf04 - Cliche - Irileth, Elynea Mothren, Thalmor, bandits

HairFemaleElf05 - Icefruit - Jenassa, Cindiri Arano, bandits

HairFemaleElf06 - Postcard - Niranye, Thalmor, bandits

HairFemaleElf07 - Lamb - Synda Llanith, Aranea Ienith, Brelas, bandits

HairFemaleElf08 - Lightyear - Karliah, Bralsa Drel, vampires, bandits

HairFemaleElf09 - LuckyStar - Endarie, Medresi Dran, vampires, Thalmor, bandits

HairFemaleElf10 - LilacFogChopped - Dinya Balu, Curwe, Beleval, Thalmor, bandits

HairFemaleImperial1 - Envy2 - Dawnguard

HairFemaleNord01 - Perry - Thaena, Evette San, Threki the Innocent, Bjartur, Greta, Olava the Feeble, Nocturnal, bandits, forsworn, afflicted, stormcloaks

HairFemaleNord02 - RosieCloud - Lydia, Ingun Black-Briar, Gerda, Olda, bandits, forsworn, stormcloaks

HairFemaleNord03 - Sky228 - Rikke, Gerdur, Astrid, Idgrod Ravencrone, vampires, bandits, Dawnguard

HairFemaleNord04 - Mollie - Fralia Gray-Mane, Constance Michel, Gemma Uriel, vampires, bandits

HairFemaleNord05 - Guajira - Grelka, Frea, Angi, Susanna the Wicked, Laila Law-Giver, Karita the pilgrim, Beitild, Lisbet, Argi, Adisla, Asta, Bodil, bandits, vampires

HairFemaleNord06 - AzureSky - Carlotta, Eydis, Faleen, Karita the bard

HairFemaleNord07 - Synthesis - Iona, Alfhild Battle-Born, Annekke Crag-Jumper, Lynly Star-Sung, Temba Wide-Arm

HairFemaleNord08 - FoamSummer - Ria, Illdi, Narri, Daighre, Colette Marence

HairFemaleNord09 - Daydream - Svana Far-Shield, Jala, Hillevi Cruel-Sea, Sorli the Builder, Nana Ildene

HairFemaleNord10 - Crescent - Arcadia, Njada, Elisif

HairFemaleNord11 - Sky245 - Hulda, Iddra, Hroki, Swanhvir, Adelaisa Vendicci

HairFemaleNord12 - Asity - Delphine, Lillith Maiden-Loom, Gisli, Alessandra

HairFemaleNord13 - Ominous - Pantea, Birna, Fastred, Morwen, Hjordis, Niyya

HairFemaleNord14 - Butterfly128 - Sigrid, Adrienne Avenicci, Ahlam, Olfina Gray-Mane, Haelga, Drifa, Illia, Senna, Idgrod the Younger

HairFemaleNord15 - Sky205 - Ysolda, Erdi, Lami, Fruki, Boti, Muiri, Aeri, Tekla

HairFemaleNord16 - Acid - Safia, Sabine Nytte

HairFemaleNord17 - SweetSlumber - Camilla, Bryling, Inge Six Fingers, Sosia, Voada, Mena, Tova Shatter-Shield

HairFemaleNord18 - Jackdaw - Aela, Lisette, Vivienne Onis, Edda, Silda the Unseen, Bothela, Hert

HairFemaleNord19 - Vivacity - Uthgerd, Maven Black-Briar, Vittoria Vici, Alva

HairFemaleNord20 - Sky116 - Sybille Stentor, Tilma the Haggard, Irgnir

HairFemaleNord21 - XOXO - Eriana

HairFemaleOrc01 - Wine - Shel, Sharamph

HairFemaleOrc02 - Wine - (unused)

HairFemaleOrc03 - OnlyYou - Lash gra-Dushnikh, Atub

HairFemaleOrc04 - OnlyYou - (unused)

HairFemaleOrc05 - Lovesick - Gharol

HairFemaleOrc06 - DiscoHeavenShort - Urog

HairFemaleOrc07 - Aviary - Murbul, Bagrak

HairFemaleOrc08 - Papaya - Bor

HairFemaleOrc09 - Sky293 - Ghorza gra-Bagol, Garakh, Bolar, Dulug, Mogdurz

HairFemaleOrc10 - Sky293 - (unused)

HairFemaleOrc11 - Envy - Shuftharz, Ghak

HairFemaleOrc12 - Envy

HairFemaleOrc13 - Cancia - Ugor, Gul

HairFemaleOrc14 - Sister - Borgakh, Urzoga gra-Shugurz, Arob

HairFemaleOrc15 - Sister - Yatul

HairFemaleOrc17 - Rollcake - (unused)

HairFemaleRedguard01 - Sky195 - Salonia Caelia

HairFemaleRedguard02 - Soundwave - Saadia, Umana, Oriella, Bujold

HairFemaleRedguard03 - Dreamgirl

HairFemaleRedguard04 - Labyrinth - Rayya



Male Hairstyles

The following table shows which KS Hairdos hairstyle replaces each vanilla hairstyle, and lists some of the NPCs that use that hairstyle. Please note that the "used by" list of NPCs is a subset and is not a comprehensive list.

VanillaHairstyleName - KSHairdosHairstyle - used by...

HairMaleDarkElf01 - Bloom - vampires

HairMaleDarkElf02 - Bacchus - Aringoth, Melaran, Maluril, Vanryth Gatharian, Sanyon, Othreloth, bandits, guards

HairMaleDarkElf03 - Eclipse - Dravin, Tythis, Anoriath, Ambarys, Athis, Wyndelius, Gwilin, Garan Marethi, Geldis Sadri, Revus Sarvani, bandits

HairMaleDarkElf04 - Leon - Valindor, Enthir, Drelas, Lleril, vampires, bandits

HairMaleDarkElf05 - Adnis - Teldryn Sero, Veren, Syndus, Linwe, bandits, guards

HairMaleDarkElf06 - RoughSketch - Drevis, Viarmo, Revyn, Ronthil, Galdrus, Vals, vampires, Thalmor, bandits

HairMaleDarkElf07 - Joshua - Indaren, Ungrien, Ondolemar, Orini, Neloth, Veleth, bandits

HairMaleDarkElf08 - Cloud - Orthorn, Malthyr, Arvel, Sarthis, Ravyn, vampires, Thalmor, bandits, guards

HairMaleDarkElf09 - Bittersweet - Faendal, Belyn, Aval, Fethis, Rulindil, vampires, bandits

HairMaleDremora01 - Benjamin - dremora, summoned dremora

HairMaleElder1 - Jasper - Esbern, Lemkil, Wilhelm, Angrenor, Varnius, bandits, forsworn, afflicted, soldiers, Dawnguard

HairMaleElder2 - Cupcake - Kjar, Thonar, Torbjorn, Horik, bandits, forsworn

HairMaleElder3 - Laplace - Heimskr, Proventus, Sabjorn, Arniel, Sergius, Beirand, Thongvor, Dengeir, Rorik, bandits, forsworn, Vigilants, guards

HairMaleElder4 - Industrial - Phinis, Caius, Septimus, bandits, Dawnguard

HairMaleElder5 - Zod - Noster, Bersi, Degaine, bandits, forsworn, Vigilants, guards

HairMaleElder6 - Adonis - Sinmir, Skjor, Giraud, vampires, bandits, forsworn, soldiers

HairMaleElf01 - Macho - Slitter, bandits

HairMaleElf02 - TheTruth - Elrindir. vampires, bandits

HairMaleElf03 - Faux - vampires, bandits, guards

HairMaleElf04 - Djinn - bandits

HairMaleElf05 - Fallout - bandits, guards

HairMaleElf06 - Benjamin - Vingalmo, guards

HairMaleElf07 - Haunting2 - bandits, guards

HairMaleElf08 - Heartquake - Erandur, vampires, bandits

HairMaleElf09 - RoughSketch - Nelacar, bandits

HairMaleImperial1 - Laplace - Tullius, Falk, Lod, Roggvir, bandits, afflicted, soldiers, guards

HairMaleNord01 - RedRobin - Skulvar, Farkas, Brynjolf, Vipir, Morven, vampires, bandits, forsworn, afflicted, Vigilants

HairMaleNord02 - Unchained - Ralof, Bolgeir, Jorn, Valdr, Gunmar, bandits, forsworn, soldiers

HairMaleNord03 - Camisado - Sven, Jarl Balgruuf, vampires, bandits

HairMaleNord04 - Divide - Tolfdir, Balimund, Vignar, vampires, bandits, afflicted

HairMaleNord05 - Blowback - Acolyte Jenssen, Calder, vampires, bandits, forsworn, guards

HairMaleNord06 - Passion - Ulfric, Erik, Kodlak, Orgnar, vampires, bandits

HairMaleNord07 - ChainReaction - Hadvar, Alvor, Vilkas, Bjorlam, Mikael, Galmar,Mercer, DBInitiate, vampires, forsworn

HairMaleNord08 - Soledad - Gorm, Thorald, forsworn, Dawnguard, soldiers

HairMaleNord09 - OpenUp - Addvar, bandits, forsworn

HairMaleNord10 - UltraLover - Cosnach, bandits

HairMaleNord11 - OneMinute - Dirge, bandits, forsworn

HairMaleNord12 - Electric - Hod, Jon, Severio, Maul, vampires, bandits

HairMaleNord13 - Knighthood - Idolaf, bandits

HairMaleNord14 - Zero - Embry, Imskar, bandits, forsworn

HairMaleNord15 - NiceGuy - Aerin, Vekel, Jorleif, bandits, forsworn

HairMaleNord16 - Fade - bandits

HairMaleNord17 - Higher - bandits, forsworn, Dawnguard

HairMaleNord18 - Haunting - Bassianus, Eorlund, Arnbjorn, Arngeir, vampires, bandits, forsworn, Dawnguard

HairMaleNord19 - Zac - Belrand, Louis Letrush, Kleppr, bandits, forsworn, afflicted

HairMaleNord20 - NightWind - Fihada, Tuthul, Odvan, vampires, bandits, forsworn

HairMaleOrc01 - Reach - Durak

HairMaleOrc02 - Reach - Dawnguard

HairMaleOrc03 - Reach - Moth gro-Bagul, hunters

HairMaleOrc04 - Reach

HairMaleOrc05 - Reach - (unused)

HairMaleOrc06 - Reach - Larak, Olur, bandits

HairMaleOrc07 - Reach - (unused)

HairMaleOrc08 - Obscura - Urag gro-Shub, Ogol, Mahk

HairMaleOrc09 - Obscura - Grogmar, Mogrul, hunters

HairMaleOrc10 - Obscura - (unused)

HairMaleOrc11 - Obscura - Mauhulakh, bandits, Dawnguard

HairMaleOrc12 - Reach - (unused)

HairMaleOrc13 - Reach - Yar

HairMaleOrc14 - Reach - Burguk

HairMaleOrc15 - Reach - Mulush, bandits

HairMaleOrc16 - Reach - bandits

HairMaleOrc17 - Reach - brawler

HairMaleOrc18 - LikeLust3 - Kharag, Umum, Lob, Gadba, bandits

HairMaleOrc19 - LikeLust3 - (unused)

HairMaleOrc20 - LikeLust3 - Nagrub, Gularzob, Dawnguard

HairMaleOrc21 - LikeLust3 - Gat

HairMaleOrc22 - LikeLust3 - (unused)

HairMaleOrc23 - LikeLust3 - bandits

HairMaleOrc24 - LikeLust3 - Ghorbash, bandits, hunters

HairMaleOrc25 - LikeLust3 - Oglub, Mul, bandits, hunters

HairMaleOrc26 - LikeLust3 - Lurbuk, bandits

HairMaleOrc27 - LikeLust3 - Borkul, Yamarz, hunters

HairMaleRedguard1 - Blue - Klimmek, Festus, Delvin, bandits, forsworn, soldiers, Vigilants, guards

HairMaleRedguard2 - Wavves - Nazeem, Elgrim, Sibbit, bandits, forsworn, soldiers

HairMaleRedguard3 - Sahara - Nazir, bandits, Dawnguard

HairMaleRedguard4 - Sahara - Razelan, bandits, Dawnguard, guards

HairMaleRedguard5 - Footprint - Brenuin, bandits

HairMaleRedguard6 - Macho - Ahtar, bandits

HairMaleRedguard7 - Zombrex - Amren, Falion, bandits

HairMaleRedguard8 - LikeLust2 - Kematu, bandits

HairMaleSnowElf01 - Gantz - Vyrthur

HairMaleSnowElf02 - Benjamin - Athring

HairMaleSnowElf03 - NightSprings - Celegriath

HairMaleSnowElf06 - Lex - Gelebor

MaleDremoraHair01 - Benjamin - Velehk Sain, dremora

MaleDremoraHair02 - Maine



Production Pipeline

I built this rig in order to create another mod KSHair For All Vanilla NPCs.

I am making this resource available to the modding community to help other mod authors create NPC appearance overhaul mods.

Making an NPC appearance overhaul mod is a trial-and-error process. You make a change, build a new version of the mod, install the mod, and test in game. You must repeat this development cycle many times. As with any kind of software project, a repeatable production pipeline is essential.

Here is the production pipeline that I follow in order to construct KSHair For All Vanilla NPCs.

Step 1

Start Creation Kit.

Step 2

Click the File/Open icon on the toolbar.
In the Data dialog box, double-click each of the files listed: Skyrim Update Dawnguard HearthFires Dragonborn USSEP KSHairdos KSHairRig
(Do not set an active file.)
Click OK.

Step 3

Click Yes to continue without an active file.

Step 4

As Creation Kit loads resources, it will pop up a variety of error messages.
Click Yes to All to ignore every error.

Step 5

Eventually Creation Kit will finish loading resources.
In tree view, expand Actors, expand Actor, click Actor
Click on Race column header to sort by race

Step 6

In the right pane, scroll down and skip over all NPC records that have the "--" race which means a template-based NPC.
Scroll down to the first NPC record with BretonRace and click the record to select it.
Scroll down further to the last NPC record with BretonRace and Shift+click the record to select the whole sequence of records with BretonRace.

Step 7

Scroll down to the first NPC record with BretonRaceVampire and Ctrl+click the record to select it while preserving your existing selection above of the BretonRace records.
Please note that Ctrl+click extends your selection while preserving your existing selection.
Scroll down to the last NPC record with BretonRaceVampire and Shift+Ctrl+click the record to select it while preserving your existing selection.
In this manner, you will select each sequence of records for each race of NPCs, while continually preserving your existing selection.

Step 8

Repeat what you did in Step 7 for each of the rest of the non-beast non-children NPC races:

DA13AfflictedRace

DarkElfRace

DarkElfRaceVampire

DLC2DremoraRace

DremoraRace

ElderRace

ElderRaceVampire

HighElfRace

HighElfRaceVampire

ImperialRace

ImperialRaceVampire

NordRace

NordRaceAstrid

NordRaceVampire

OrcRace

OrcRaceVampire

RedguardRace

RedguardRaceVampire

SnowElfRace

WoodElfRace

WoodElfRaceVampire


Ctrl+click the first record of each sequence, scroll down to the last record of the sequence, and Shift+Ctrl+click the last record of the sequence.
If you accidentally click instead of Ctrl+click, you will lose all your previous selection sequences, and you will need to start over from Step 6.

Step 9

Press Ctrl+F4
Click Yes in the Confirm Export popup window.

Step 10

Click Yes to All to ignore every error.

Step 11

Creation Kit will appear to lock up and become unresponsive.
Do not worry. Do not click on anything in the Creation Kit window. Just let it work. It will take several minutes to generate all the NPC head meshes.
Wait until the Done popup appears.
Click OK.

Step 12

Close Creation Kit.
There is no need to save anything.

Step 13

When doing facegen export, Creation Kit produces both NPC head meshes and facetint texture files.

Assuming that your Skyrim SE is installed in C:/Program Files (x86)/Steam/steamapps/common/Skyrim Special Edition
then the generated facetint texture files will be located in:
C:/Program Files (x86)/Steam/steamapps/common/Skyrim Special Edition/Data/textures/Actors/Character/FaceGenData

Depending on your goal, you can move the facetint texture files to your mod construction folder, or simply delete them if you don't need them.

Step 14

Assuming that your Skyrim SE is installed in C:/Program Files (x86)/Steam/steamapps/common/Skyrim Special Edition
then the generated NPC head meshes will be located in:
C:/Program Files (x86)/Steam/steamapps/common/Skyrim Special Edition/Data/meshes/actors/character/FaceGenData

You should move the generated NPC head meshes to your mod construction folder.

Step 15

This rig will produce 2933 head meshes if you followed the steps above and selected all the listed sequences of NPC records, which totals to about 4.8 GB of files. BSA files are limited in size to approximately 2 GB, and Skyrim SE will CTD if you try to use a BSA that is too large.

You must separate the head meshes into multiple folders before packing them into BSA files. You can use whatever organization scheme works for you.

I separate the head meshes into 3 folders:

Folder 1 - files from meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm that begin with 0001, 0002, or 0003 - totaling about 1.5 GB.

Folder 2 - the rest of the files from meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm - totaling about 2.3 GB. (This will take less space after compression into the BSA.)

Folder 3 - files from the Bethesda DLC expansions such as meshes/actors/character/FaceGenData/FaceGeom/Dawnguard.esm and the rest - totaling about 1 GB.


Step 16

You must exclude the Halldir's Cairn ghost bandit wizard head mesh that causes CTD. Either delete or move this file into a separate folder:
meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm/000B289E.NIF

Step 17

Finally, you can use BSArch to pack each separated folder of NPC head meshes into its own BSA file.
Be sure to use compression to minimize the BSA file sizes.


Script File

I created a Cygwin shell script file to automate Steps 13 through 17, and I use the script myself to construct the BSA files for KSHair For All Vanilla NPCs.

Please do not run this script on your system as is, because all the file paths are specific to my system.

I am offering this script as a resource for other mod authors to study, but each mod author would need to edit and customize this script to work on their system.


#!/bin/csh

cd /cygdrive/d/NewrimMods/unpacked

# Delete FaceGen textures:

rm -r 'C:/Program Files (x86)/Steam/steamapps/common/Skyrim Special Edition/Data/textures/Actors/Character/FaceGenData'

# Move FaceGen meshes to mod dir:

rm -r KSHairVanilla/original/part*

mkdir -p KSHairVanilla/original/part3/meshes/actors/character

mv 'C:/Program Files (x86)/Steam/steamapps/common/Skyrim Special Edition/Data/meshes/actors/character/FaceGenData' \
KSHairVanilla/original/part3/meshes/actors/character

# Split up FaceGen meshes into 3 parts:

mkdir -p KSHairVanilla/original/part2/meshes/actors/character/FaceGenData/FaceGeom

mv KSHairVanilla/original/part3/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm \
KSHairVanilla/original/part2/meshes/actors/character/FaceGenData/FaceGeom

mkdir -p KSHairVanilla/original/part1/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm

mv KSHairVanilla/original/part2/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm/000{1,2,3}* \
KSHairVanilla/original/part1/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm

# Exclude files that cause CTD:
# dunHalldirs_LvlBanditGhostWizard 000B289E

mkdir -p KSHairVanilla/original/part-ctd/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm

mv KSHairVanilla/original/part2/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm/000B289E.NIF \
KSHairVanilla/original/part-ctd/meshes/actors/character/FaceGenData/FaceGeom/Skyrim.esm

# Clean up prior texture file symlinks

rm -rf 'KSHairVanilla/original/tex'

mkdir -p "KSHairVanilla/original/tex/textures/KS Hairdo's/hairline"

# Identify all texture files used in meshes, and create symlinks

find KSHairVanilla/original/part? -type f -print0 \
| xargs -0 strings -af \
| grep -i "ks hairdo's.*\.dds" \
| sed -e 's|.*: ||' -e 's|\(\.dds\).$|\1|' \
| sort \
| uniq \
| tr '\\' / \
| sed -e 's|^|find KSHairdos -ipath "*/|' -e 's|$|"|' \
| csh \
| sed -e 's|^\([^/]*\)\(.*\)|ln -s "../../../../../\1\2" "KSHairVanilla/original/tex\2"|' -e '/\/hairline\//s|"|"../|' \
| csh -v

# Pack .bsa files:

BSArch/bsarch.exe pack KSHairVanilla/original/part1 KSHairVanilla/KSHairVanilla1.bsa -sse -z

BSArch/bsarch.exe pack KSHairVanilla/original/part2 KSHairVanilla/KSHairVanilla2.bsa -sse -z

BSArch/bsarch.exe pack KSHairVanilla/original/part3 KSHairVanilla/KSHairVanilla3.bsa -sse -z

BSArch/bsarch.exe pack KSHairVanilla/original/tex 'KSHairVanilla/KSHairVanilla1 - Textures.bsa' -sse -z


原贴地址
1.版本号: 1.0   更新时间: 2020-03-28 04:26:27

选择快速回复类型:
  • 感谢
  • 支持
  • 疑问
  • 卖萌
  • 关心
  • 傲娇
评论


    作者精品
    logo

    KSHair FaceGen出口装备-Modder的资源


    Mod大小:7.77MB
    上传时间:2020-03-28 04:18:45

    Mod简介:

    暂无更多介绍

    本地下载
    选择快速回复类型:
    • 感谢
    • 支持
    • 疑问
    • 卖萌
    • 关心
    • 傲娇
    回复

    closeAD