-
Notifications
You must be signed in to change notification settings - Fork 63
Extended Biosculpter Pod
juanosarg edited this page Jun 4, 2026
·
1 revision
CompProperties_ExtendedBiosculpterPod extends the properties of the biosculpter pod building. Inherits from base game CompProperties_BiosculpterPod
public ThingDef copyCyclesFrom = null;
public bool drawPawn = true;
public Rot4? pawnFacingDirectionOverride = null;
public Vector3 pawnOffsetNorth = Vector3.zero;
public Vector3 pawnOffsetSouth = Vector3.zero;
public Vector3 pawnOffsetEast = Vector3.zero;
public Vector3 pawnOffsetWest = Vector3.zero;
public bool drawBackground = true;
public Vector3 backgroundOffsetNorth = Vector3.zero;
public Vector3 backgroundOffsetSouth = Vector3.zero;
public Vector3 backgroundOffsetEast = Vector3.zero;
public Vector3 backgroundOffsetWest = Vector3.zero;
public Vector3 backgroundSize = Vector3.zero;
public string backgroundMaterialPath = null;
[Unsaved]
public Material backgroundMaterial = null;It is a comp class, so you just add it in XML in the <comps> tag. For example here is the compact biosculpter pod in Vanilla Gravship Expanded:
<comps>
<li Class="VEF.Buildings.CompProperties_ExtendedBiosculpterPod">
<enterSound>BiosculpterPod_Enter</enterSound>
<exitSound>BiosculpterPod_Exit</exitSound>
<operatingEffecter>VGE_CompactBiosculpterPod_Operating</operatingEffecter>
<readyEffecter>VGE_CompactBiosculpterPod_Ready</readyEffecter>
<selectCycleColor>(0.321, 1, 0.349)</selectCycleColor>
<biotunedCycleSpeedFactor>1.25</biotunedCycleSpeedFactor>
<!-- Copy all biosculpter cycles from vanill BiosculpterPod def that we don't already have here (as in - no duplicate keys) -->
<copyCyclesFrom>BiosculpterPod</copyCyclesFrom>
<!-- In vanilla, (0.8 * drawSizeX, 1, 0.8 * drawSizeZ) -->
<backgroundSize>(0.8, 1, 1.5)</backgroundSize>
<backgroundOffsetNorth>(0, 0, 0.4)</backgroundOffsetNorth>
<backgroundOffsetEast>(0.45, 0, 0.2)</backgroundOffsetEast>
<backgroundOffsetWest>(-0.45, 0, 0.2)</backgroundOffsetWest>
<!-- Offset of the pawn in the biosculpter pod -->
<pawnOffsetNorth>(0, 0, 0.5)</pawnOffsetNorth>
<pawnOffsetSouth>(0, 0, -0.2)</pawnOffsetSouth>
<pawnOffsetEast>(0.5, 0, 0.1)</pawnOffsetEast>
<pawnOffsetWest>(-0.4, 0, 0.1)</pawnOffsetWest>
</li>
</comps>- Abilities
- Animal Behaviours
- Apparels
- Buildings
- Cooking
- Factions
- Genes
- Global
- Graphics
- Hediffs
- Maps
- Memes
- OptionalFeatures
- Pawns
- Planet
- Plants
- Storyteller
- Things
- Weapons
- Weathers
- PipeSystem basics
- Resource
- Resource storage
- Resource processor
- Resource to thing
- Resource to power
- Thing to resource
- Resource trader
- Refill building with pipes
- Pipe valve
- Advanced Resource Processor
- Update to KCSG 2.0
- Exporting buildings
- Customizing symbols
- Debug helpers options
- Custom faction settlement
- Custom structure and scenarios
- Custom structure in quests
- Custom structure in WorldObjects
- Biome based structures
- Spawning world object(s) at world generation
- Prevent settlement spawning for nomadic factions