Rotate Interaction Cells

Started by PreDiabetic, December 08, 2017, 08:35:11 AM

Previous topic - Next topic

PreDiabetic

Hi I just want to make a furniture with Interaction Cells inside due to bills. Yet even if I rotate furniture Paws always look North while doing bill. I guess because I also want to I.cell on furniture I set loc to "0 0 0" Is there way to fixate I.cell to rotation of furniture?

kaptain_kavern

Hi there, It's me from Reddit.

Just with this, I don't have an answer to your problem. Care to share your complete code so we have look, please ?

PreDiabetic

Quote from: kaptain_kavern on December 10, 2017, 01:56:43 AM
Hi there, It's me from Reddit.

Just with this, I don't have an answer to your problem. Care to share your complete code so we have look, please ?


Standart chair works well with Bills yet I can't rotate interaction cell to fixate to rotation of furniture.
    <ThingDef ParentName="FurnitureWithQualityBase">
    <defName>ExampleFurniture</defName>
    <label>example furniture</label>
    <graphicData>
      <texPath>Things/Building/Furniture/Armchair</texPath>
      <graphicClass>Graphic_Multi</graphicClass>
      <drawSize>(3,3)</drawSize>
      <shadowData>
        <volume>(0.6, 0.6, 0.6)</volume>
      </shadowData>
      <damageData>
        <rectN>(0,0,1,0.703125)</rectN>
        <rectS>(0.09375,0,0.84375,1)</rectS>
        <rectE>(0,0,0.84375,0.625)</rectE>
        <rectW>(0.15625,0,0.84375,0.625)</rectW>
      </damageData>
    </graphicData>
    <altitudeLayer>Building</altitudeLayer>
    <statBases>
      <MaxHitPoints>220</MaxHitPoints>
      <WorkToBuild>7500</WorkToBuild>
      <Mass>18</Mass>
      <Flammability>1.0</Flammability>
      <Beauty>1</Beauty>
      <Comfort>0.8</Comfort>
    </statBases>
    <description>A large, soft, comfy seat. Great for relaxation.</description>
    <socialPropernessMatters>true</socialPropernessMatters>
    <stuffCategories>
      <li>Fabric</li>
      <li>Leathery</li>
    </stuffCategories>
    <costStuffCount>100</costStuffCount>
    <pathCost>30</pathCost>
    <fillPercent>0.40</fillPercent>
    <building>
      <isSittable>true</isSittable>
    </building>
       <inspectorTabs>
      <li>ITab_Bills</li>
    </inspectorTabs>
    <recipes>   
      <li>NewRecipe01</li>               
    </recipes>
  </ThingDef>

mrofa

Becouse you`re missing interaction cell lines
<hasInteractionCell>true</hasInteractionCell>
<interactionCellOffset>(0,0,1)</interactionCellOffset>
All i do is clutter all around.