forked from RimWorld-CCL-Reborn/JecsTools
-
Notifications
You must be signed in to change notification settings - Fork 18
CompAnimatedOver
Matthew Walls edited this page Oct 29, 2018
·
1 revision
New child of CompProperties_Animated that allows xml and programmatic instance hooks to move an animated image over a thing def. Not intended to be used by pawns unless scaling is needed.
Example Github: https://github.com/alycecil/CompProperties_AnimatedOverExample
<comps>
...
<li Class="CompAnimated.CompProperties_AnimatedOver">
<secondsBetweenFrames>0.55</secondsBetweenFrames>
<xOffset>-0.5</xOffset>
<yOffset>1.1</yOffset>
<stillFrames>
<li>
<texPath>yemma/demonfat</texPath>
<drawSize>0.5</drawSize>
<graphicClass>Graphic_Multi</graphicClass>
</li>
<li>
<texPath>yemma/demonfat_1</texPath>
<drawSize>0.5</drawSize>
<graphicClass>Graphic_Multi</graphicClass>
</li>
</stillFrames>
<sound/>
</li>
<li Class="CompAnimated.CompProperties_Animated">
<secondsBetweenFrames>0.15</secondsBetweenFrames>
<stillFrames>
<li>
<texPath>yemma/yemma_0</texPath>
<shaderType>CutoutComplex</shaderType>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(3,2)</drawSize>
</li>
...
Add Abilities to Characters
Add Abilities to Equipment
Add Genes to PawnKindDefs
Add Animations and Sounds
- CompAnimated
- CompAnimatedOver
- CompOverlays
- CompExtraSounds
- CompOversizedWeapon
- CompActivatableEffect
- CompLumbering
- CompDelayedSpawer
- CompToggleDef
Add Vehicles
Add Weapon / Armor / Health Effects
Add World Jobs
Misc