-
Notifications
You must be signed in to change notification settings - Fork 0
ModExt_FlickableTexture
flango edited this page Jan 9, 2023
·
6 revisions
Makes a building with this modExtension change its texture when flicked on/off.
The building must have a CompProperties_Flickable for swapping to work and a couple of textures - one for the enabled state (original file name), one for disabled (original file name + "_Off").
(Credits to Sovereign for these cool textures.)
<ThingDef ParentName="BuildingBase" >
<defName>my_flickable_building</defName>
<label>my flickable building</label>
...
<graphicData>
<texPath>Things/Building/MyFlickableBuilding</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
...
<comps>
<li Class="CompProperties_Flickable"/> <!-- Necessary! -->
</comps>
<modExtensions>
<li Class="flangoCore.ModExt_FlickableTexture"/>
</modExtensions>
</ThingDef>🦩 Home
🚧 - 404 Page not found.
🖼 - Preview needed.
🟡 - Works but has some TODOs.
🟠 - Basic functionality implemented.
🔴 - Not working properly.
❓ - Not tested.
🟡 Should recode some stuff 🟡
🟠 WIP, work/kill XP gain not implemented 🟠
-
🚧Give Hediff Severity Extended (aka Autobong)
-
Weapon Animations 🟡 (Not included)