Adds bullet collision to station lights (#34070)
Adds collision with bullets to lights
This commit is contained in:
@@ -44,6 +44,19 @@
|
||||
cost: 4
|
||||
delay: 2
|
||||
fx: EffectRCDDeconstruct2
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.4,0.5,0.4,0.35"
|
||||
density: 190
|
||||
mask:
|
||||
- TabletopMachineMask
|
||||
layer:
|
||||
- TabletopMachineLayer
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
@@ -253,6 +266,19 @@
|
||||
radius: 6
|
||||
softness: 1.1
|
||||
enabled: true
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.2,0.5,0.2,0.35"
|
||||
density: 190
|
||||
mask:
|
||||
- TabletopMachineMask
|
||||
layer:
|
||||
- TabletopMachineLayer
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
- type: Destructible
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
layer:
|
||||
- MidImpassable
|
||||
- LowImpassable
|
||||
- BulletImpassable
|
||||
- type: PointLight
|
||||
radius: 10
|
||||
energy: 2.5
|
||||
@@ -64,6 +65,7 @@
|
||||
collection: MetalGlassBreak
|
||||
- type: StaticPrice
|
||||
price: 75
|
||||
- type: RequireProjectileTarget
|
||||
|
||||
- type: entity
|
||||
id: PoweredLightPostSmallEmpty
|
||||
|
||||
@@ -38,6 +38,19 @@
|
||||
softness: 1
|
||||
offset: "0, 0.35"
|
||||
- type: RotatingLight
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.2,0.5,0.2,0.35"
|
||||
density: 190
|
||||
mask:
|
||||
- TabletopMachineMask
|
||||
layer:
|
||||
- TabletopMachineLayer
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
|
||||
Reference in New Issue
Block a user