DeathByEnemyProximity
< Modding | Projectile (modding) | Projectile ComponentsModding/Projectile/Components/DeathByEnemyProximity
Jump to navigation
Jump to search
Components
Code location (what's this?):
Cosmoteer.Bullets.Death.BulletDeathByEnemyProximity
Causes the bullet to explode when it is near an enemy ship or bullet.
Note that "bullet" here really means any projectile. This is what mines use for example.
Technically, it's a projectile component ("bullet component" in source code).
Parameters
Name | Type | Required? | Buffable? | Default value | Description |
---|---|---|---|---|---|
Interval | time | Yes | Yes | - | |
Range | float | Yes | Yes | - | |
StartDelay | float | Yes | Yes | - | |
AccumulateThreshold | float | No | Yes | 1 | |
AccumulateRate | float | No | Yes | 1 | |
DeaccumulateRate | float | No | Yes | 1 | |
DetectsShips | bool | No | No | true | |
DetectsBullets | bool | No | No | - | |
DetectsBulletCategories | ID<BulletTargetableRules>[]?
meaning : list of projectile categories |
No | No | - | A list names of .rules files for projectile types, which the projectile will react to.
E.g. |
OutputFactorRange | float | No | No | - | This is a float but looks special.
Probably a random number between 0 and 1. |
Extra
Quick developer comment about this component on the forum.