-
Notifications
You must be signed in to change notification settings - Fork 63
Projectile_Attachments
juanosarg edited this page Jun 4, 2026
·
1 revision
Projectile_Attachments works in tandem with ProjectileExtension to attach a fleck or effecter to a projectile.
Projectile_Attachments inherits from Bullet, but we also have Projectile_Attachments_Explosive which inherits from Projectile_Explosive
Assign the Projectile_Attachments class to any projectile's def:
<ThingDef ParentName="BaseBullet">
<defName>Example_Puke_Bullet</defName>
<label>the puke bullet</label>
<thingClass>VEF.Weapons.Projectile_Attachments</thingClass>
<graphicData>
<texPath>Things/Projectile/Bullet_Big</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile>
<flyOverhead>false</flyOverhead>
<damageDef>Bullet</damageDef>
<damageAmountBase>14</damageAmountBase>
<stoppingPower>1.5</stoppingPower>
<armorPenetrationBase>0.22</armorPenetrationBase>
<speed>45</speed>
</projectile>
<modExtensions>
<li Class="VEF.Weapons.ProjectileExtension">
<attachedEffecter>Vomit</attachedEffecter>
</li>
</modExtensions>
</ThingDef>- 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