-
Notifications
You must be signed in to change notification settings - Fork 63
CompProperties_Explosive_Shells
juanosarg edited this page Jun 3, 2026
·
1 revision
CompProperties_Explosive_Shells is a comp that will make a building explode into shell projectiles when destroyed. It inherits from base game CompProperties_Explosive
public ThingDef shell;
public IntRange shellCount;
public IntRange shellDist;It is a comp class, so you just add it in XML in the <comps> tag. For example, this is the military pallet of high-explosive shells in Vanilla Quests Expanded - Cryptoforge
<comps>
<li Class="VEF.Weapons.CompProperties_Explosive_Shells">
<wickTicks>60~240</wickTicks>
<explosiveRadius>9</explosiveRadius>
<explosiveDamageType>Bomb</explosiveDamageType>
<chanceNeverExplodeFromDamage>0</chanceNeverExplodeFromDamage>
<startWickHitPointsPercent>0.2</startWickHitPointsPercent>
<shell>Shell_HighExplosive</shell>
<shellCount>4~4</shellCount>
<shellDist>3~20</shellDist>
</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