-
Notifications
You must be signed in to change notification settings - Fork 63
Building Calls
juanosarg edited this page May 29, 2026
·
1 revision
CompBuildingCalls makes a building produce periodic noises, like some animals do in base game. Sounds from soundDefs are randomly chosen each interval.
Interval is specified in long ticks (2000 regular ticks per long tick), same as plants operate.
public IntRange interval;
public List<SoundDef> soundDefs;It is a comp class, so you just add it in XML in the <comps> tag.
<comps>
<li Class="VEF.Buildings.CompProperties_BuildingCalls">
<soundDefs>
<li>Pawn_BigInsect_Call</li>
</soundDefs>
<interval>6~12</interval>
</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