หากข้อมูลผิดพลาดก็ขออภัย ในข้อมูลด้วย
Tool ที่ ขาด ไม่ได้
FO4Edit at Fallout 4 Nexus - Mods and community (nexusmods.com)
AAFMakeXML.exe
1.หลักจากปั่น animation เสร็จ (Coming Soon)
หลังจาาก ได้ ไฟล์ ตัวอย่าง Pethzero_Test_F1.hkx
ให้เราทำโครงสร้าง Folder
PethZero
|
|____AAF___ (AAF รวมไฟล์ setting)
|____meshes____actors____character____Animations____(Folder ตามนักพัฒนาจะตั้งชื่อ)____ไฟล์อนิเมะชั่น .hkx
|_______PethZeroSEX.esp
เราสามารถ edit xml เองได้ หรือใช้ AAFMakeXML.exe ช่วย
2.ESP ใช้ระบุ ID
FO4Edit หรือ CreationKit ก็ได้ แต่บ้างอยากทำก็ใช้ FO4Edit ช่วยเพราะหาตัวแปรไม่เจอ
เบื้องต้นผมทำการ เทสแค่ 1P ท่านอาจจะดู modder ท่านอื่นเทียบตามก็ได้
ใน Idle Animation เราสร้าง
2.1 EditorID ชื่อ Pethzero_Test_F1 ดูเหมือน Pethzero_Test _F1 _M1 ดูเหมือนจำเป็นเรียกตัวละคร
2.2 ตั้งชื่อตาม น่าจะเรียก event ใช้งาน
DNAM - actors\Character\Behaviors\RaiderRootBehavior.hkx
ENAM - dyn_ActivationLoop
2.3.GNAM - actors\character\Animations\PethZeroSEX\Pethzero_Test_F1.hkx
3.AAF รวมไฟล์ setting
-common.xsd (ผมไม่ถนัด XML เท่าไร เท่าที่อ่านมันคือตัวเก็บ element attribute แบบ id อ้างอิงประมาณนี้
แนะนำ copy ไม่ควร Edit เอง
-(ตามนักพัฒนาจะตั้งชื่อ)_animationData.xml
-(ตามนักพัฒนาจะตั้งชื่อ)_animationGroupData.xml
-(ตามนักพัฒนาจะตั้งชื่อ)_positionData.xml
-(ตามนักพัฒนาจะตั้งชื่อ)_mfgsetData.xml
3.1_animationData.xml ทำให้ระบบรู้ถึง id อนิเมะชั่น
<animationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="common.xsd">
<defaults idleSource="PethZeroSEX.esp"/>
<animation id="Pethzero_Test" frames="80">
<actor gender="F" idleForm="000f99">
</actor>
</animation>
</animationData>
อธิบาย <defaults idleSource="PethZeroSEX.esp"/> เรียกอนิเมะชั่น จาก .esp
id="Pethzero_Test" ตัด F1 ออก frames= 80 น่าจะตั้งตามที่เรากำหนด ใน 3DS MAX
gender = F ผู้หญิง
idleForm = 000f99 เอามาจากตัว idle Anmation ตัด 01 ออก
3.2_animationGroupData.xml ทำให้ระบบรู้ถึง group ไว้ในการจัดกลุ่มมีผล กับ _positionData.xml
<animationGroupData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="common.xsd">
<defaults />
<animationGroup id="Pethzero_Test_Group" sequential="true">
<stage animation="Pethzero_Test" loops="1"/>
</animation Group>
</animationGroupData>
ผมจะมีผลตอนทำ ต่อเนื่อง
id="Pethzero_Test_Group" ตั้งชื่อตามใจ เพราะมันจะจัดกลุ่ม animation
sequential = true ตามลำดับ
loops="1" วนรอบ
ตรงส่วนนี้ก็ยังไม่เข้าใจเท่าไร 1 อาจจะหมายถึง true คือ ลูปเรื่อยๆ
3.3_positionData.xml เรียก AFF เห็นตัวแปรใช้งาน
<positionData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="common.xsd">
<defaults startEquipmentSet="unEquip" stopEquipmentSet="reEquip" startMorphSet="ready" stopMorphSet="unReady"/>
<!-- =============================== OLD Pethzero ================================ -->
<!-- <position id="Pethzero_Test" tags="PethZero,F"/> -->
คำสั่งแบบเก่า
<position id="Pethzero_A" animationGroup="Pethzero_Test_Group" tags="Brave,NoFurn,Missionary,FromFront,Loving,Held3,Stim9,Love3,Dom-3,NullToSelf,PenisToEither"/>
<position id="Pethzero_A 1" animation="Pethzero_Test" tags="PethZero,F" isHidden="true" />
</positionData>
ทำให้ตั้ง
ตัวแม่
ชื่อ id="Pethzero_A"
กลุ่ม animationGroup="Pethzero_Test_Group"
ตัวลูก
ชื่อ id="Pethzero_A 1"
ตัวอนิเมะชั่น Pethzero_Test
isHidden="true" ซ่อน
3.4_mfgsetData.xml แสดงสีน่า ตัวอย่างยังไม่มีในการสอน