"重构基沃托斯学生种族定义:调整父类引用、修正图形路径偏移、优化身体部件条件配置,并同步更新背景故事槽位与服装资源路径"

This commit is contained in:
ProjectKoi-Kalo\Kalo 2025-06-04 17:13:20 +08:00
parent 7b96ad8c9e
commit 0fde5bfaeb
14 changed files with 43 additions and 30 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Defs> <Defs>
<AlienRace.ThingDef_AlienRace ParentName="StudentThingBase"> <AlienRace.ThingDef_AlienRace ParentName="BANW_StudentThingBase">
<defName>BANW_KivotosStudent</defName> <defName>BANW_KivotosStudent</defName>
<label>阿拜多斯学生</label> <label>阿拜多斯学生</label>
<description>[PlaceHolder]</description> <description>[PlaceHolder]</description>
@ -9,9 +9,6 @@
<graphicPaths> <graphicPaths>
<body> <body>
<path>Pawns/General/Invisible/Inv</path> <path>Pawns/General/Invisible/Inv</path>
<extendedGraphics>
<Backstory For="BANW_StudentHikali">Pawns/Highland/Hikali/Body/Hikali_Body</Backstory>
</extendedGraphics>
</body> </body>
<head>Pawns/General/Invisible_Head/</head> <head>Pawns/General/Invisible_Head/</head>
<skinColor>(0,0,0,1)</skinColor> <skinColor>(0,0,0,1)</skinColor>
@ -41,15 +38,15 @@
<offsets> <offsets>
<north> <north>
<layerOffset>0.3</layerOffset> <layerOffset>0.3</layerOffset>
<offset>(0,0.6)</offset> <offset>(0,0.3)</offset>
</north> </north>
<south> <south>
<layerOffset>-0.29</layerOffset> <layerOffset>-0.29</layerOffset>
<offset>(0,0.6)</offset> <offset>(0,0.3)</offset>
</south> </south>
<east> <east>
<layerOffset>-0.29</layerOffset> <layerOffset>-0.29</layerOffset>
<offset>(0,0.6)</offset> <offset>(0,0.3)</offset>
</east> </east>
</offsets> </offsets>
<extendedGraphics> <extendedGraphics>
@ -87,6 +84,27 @@
<Backstory For="BANW_StudentHikali">Pawns/Highland/Hikali/Head/Hikali_Head</Backstory> <Backstory For="BANW_StudentHikali">Pawns/Highland/Hikali/Head/Hikali_Head</Backstory>
</extendedGraphics> </extendedGraphics>
</li> </li>
<!-- 身体 -->
<li>
<name>KivotosStudent_Body</name>
<path>Pawns/General/Invisible/Inv</path>
<inFrontOfBody>true</inFrontOfBody>
<conditions>
<BodyPart>
<bodyPart>Torso</bodyPart>
</BodyPart>
<Apparel>
<hiddenUnderApparelTag>
<li>BANW_Body</li>
</hiddenUnderApparelTag>
</Apparel>
<RotStage>Fresh,Rotting,Dessicated</RotStage>
</conditions>
<scaleWithPawnDrawsize>true</scaleWithPawnDrawsize>
<extendedGraphics>
<Backstory For="BANW_StudentHikali">Pawns/Highland/Hikali/Body/Hikali_Body</Backstory>
</extendedGraphics>
</li>
<!-- 头发前 --> <!-- 头发前 -->
<li> <li>
<name>KivotosStudent_hairfront</name> <name>KivotosStudent_hairfront</name>
@ -154,7 +172,7 @@
</alienRace> </alienRace>
</AlienRace.ThingDef_AlienRace> </AlienRace.ThingDef_AlienRace>
<AlienRace.ThingDef_AlienRace ParentName="BasePawn" Name="StudentThingBase" Abstract="True"> <AlienRace.ThingDef_AlienRace ParentName="BasePawn" Name="BANW_StudentThingBase" Abstract="True">
<alienRace> <alienRace>
<generalSettings> <generalSettings>
<maleGenderProbability>0.0</maleGenderProbability> <maleGenderProbability>0.0</maleGenderProbability>
@ -218,9 +236,14 @@
</li> </li>
</styleSettings> </styleSettings>
<raceRestriction> <raceRestriction>
<onlyUseRaceRestrictedApparel>false</onlyUseRaceRestrictedApparel>
<onlyUseRaceRestrictedWeapons>false</onlyUseRaceRestrictedWeapons>
<onlyBuildRaceRestrictedBuildings>false</onlyBuildRaceRestrictedBuildings>
<onlyEatRaceRestrictedFood>false</onlyEatRaceRestrictedFood>
<onlyHaveRaceRestrictedGenes>true</onlyHaveRaceRestrictedGenes>
<whiteGeneTags>
</whiteGeneTags>
</raceRestriction> </raceRestriction>
</alienRace> </alienRace>
<tools> <tools>

View File

@ -1,18 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Defs> <Defs>
<AlienRace.AlienBackstoryDef>
<defName>BANW_StudentChild</defName>
<title>基沃托斯学生</title>
<titleShort>学生</titleShort>
<baseDesc>[PAWN_nameDef]出生于基沃托斯。\n\n现在她准备好战斗了.</baseDesc>
<bodyTypeGlobal>Thin</bodyTypeGlobal>
<slot>Childhood</slot>
<spawnCategories>
<li>BANW_Backstory</li>
</spawnCategories>
</AlienRace.AlienBackstoryDef>
<AlienRace.AlienBackstoryDef> <AlienRace.AlienBackstoryDef>
<defName>BANW_StudentAdult</defName> <defName>BANW_StudentAdult</defName>
<title>基沃托斯学生</title> <title>基沃托斯学生</title>
@ -31,9 +19,8 @@
<titleShort>学生</titleShort> <titleShort>学生</titleShort>
<baseDesc>[PAWN_nameDef]15岁事学生.</baseDesc> <baseDesc>[PAWN_nameDef]15岁事学生.</baseDesc>
<bodyTypeGlobal>Thin</bodyTypeGlobal> <bodyTypeGlobal>Thin</bodyTypeGlobal>
<slot>Adulthood</slot> <slot>Childhood</slot>
<spawnCategories> <spawnCategories>
<li>BANW_Backstory</li>
<li>BANW_BackstoryHikali</li> <li>BANW_BackstoryHikali</li>
</spawnCategories> </spawnCategories>
</AlienRace.AlienBackstoryDef> </AlienRace.AlienBackstoryDef>

View File

@ -50,7 +50,6 @@
<nick>Hikali</nick> <nick>Hikali</nick>
<last>Tachibana</last> <last>Tachibana</last>
</name>--> </name>-->
<forcedHeadType>Female_AverageNormal</forcedHeadType>
<skills> <skills>
<li> <li>
<skill>Shooting</skill> <skill>Shooting</skill>

View File

@ -6,7 +6,7 @@
<label>橘光的衣服</label> <label>橘光的衣服</label>
<description>橘光的衣服</description> <description>橘光的衣服</description>
<graphicData><!--需要一个衣服的通用物品贴图--> <graphicData><!--需要一个衣服的通用物品贴图-->
<texPath>Things/General/Apparel_Generic</texPath> <texPath>Pawns/General/Apparel_Generic</texPath>
<graphicClass>Graphic_Single</graphicClass> <graphicClass>Graphic_Single</graphicClass>
</graphicData> </graphicData>
<apparel> <apparel>
@ -17,6 +17,10 @@
<layers> <layers>
<li>Middle</li> <li>Middle</li>
</layers> </layers>
<tags>
<li>BANW_Body_Hikali</li>
<li>BANW_Body</li>
</tags>
</apparel> </apparel>
</ThingDef> </ThingDef>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB