예시 :

 

https://steamcommunity.com/sharedfiles/filedetails/?id=2981211719&searchtext=decorative

 

Steam Workshop::[MUS]捕鱼装饰 FishingDecorative

 

steamcommunity.com

 

[MUS]捕鱼装饰 FishingDecorative

     <ThingDef ParentName="ArtableFurnitureBase">
    <defName>MUS_Fishingstyle_SmallFishTank</defName>
    <label>Small Fish Tank</label>
    <description>Small decorative fish tank, illuminated by fluorescent algae.</description>
    <graphicData>
      <texPath>Fishingfurniture/MUS_Fishingstyle_SmallFishTank</texPath>
      <graphicClass>Graphic_Multi</graphicClass>
      <shaderType>CutoutComplex</shaderType>
	  <drawSize>(1.65,1.65)</drawSize>
    </graphicData>
    <altitudeLayer>Building</altitudeLayer>
    <passability>PassThroughOnly</passability>
    <fillPercent>1</fillPercent>
    <pathCost>4</pathCost>
    <stuffCategories>
      <li>Metallic</li>
      <li>Woody</li>
      <li>Stony</li>
    </stuffCategories>
	 <costStuffCount>30</costStuffCount>
    <statBases>
      <MaxHitPoints>100</MaxHitPoints>
      <WorkToBuild>200</WorkToBuild>
	  <Mass>1</Mass>
      <Flammability>0.3</Flammability>
      <Beauty>10</Beauty>
    </statBases>
    <size>(1,1)</size>
	<staticSunShadowHeight>0.3</staticSunShadowHeight>
	<designationCategory>Museum_Decoration</designationCategory>
	 <building>
      <paintable>true</paintable>
    </building>
	<comps>
	  <li Class="CompProperties_Glower">
        <glowRadius>3</glowRadius>
        <glowColor>(178,60,80,0)</glowColor>
        <colorPickerEnabled>true</colorPickerEnabled>
        <darklightToggle>true</darklightToggle>
      </li>
    </comps>
  </ThingDef>

 

 

부분만 따오면 아래와 같음

	<comps>
	  <li Class="CompProperties_Glower">
        <glowRadius>3</glowRadius>
        <glowColor>(178,60,80,0)</glowColor>
        <colorPickerEnabled>true</colorPickerEnabled>
        <darklightToggle>true</darklightToggle>
      </li>
    </comps>

 

이렇게 

 

 

 

반응형
Posted by 이름이 익명
: