Adds bullet collision to station lights (#34070)
Adds collision with bullets to lights
This commit is contained in:
@@ -44,6 +44,19 @@
|
|||||||
cost: 4
|
cost: 4
|
||||||
delay: 2
|
delay: 2
|
||||||
fx: EffectRCDDeconstruct2
|
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
|
- type: Destructible
|
||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
@@ -253,6 +266,19 @@
|
|||||||
radius: 6
|
radius: 6
|
||||||
softness: 1.1
|
softness: 1.1
|
||||||
enabled: true
|
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
|
- type: Damageable
|
||||||
damageContainer: Inorganic
|
damageContainer: Inorganic
|
||||||
- type: Destructible
|
- type: Destructible
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
layer:
|
layer:
|
||||||
- MidImpassable
|
- MidImpassable
|
||||||
- LowImpassable
|
- LowImpassable
|
||||||
|
- BulletImpassable
|
||||||
- type: PointLight
|
- type: PointLight
|
||||||
radius: 10
|
radius: 10
|
||||||
energy: 2.5
|
energy: 2.5
|
||||||
@@ -64,6 +65,7 @@
|
|||||||
collection: MetalGlassBreak
|
collection: MetalGlassBreak
|
||||||
- type: StaticPrice
|
- type: StaticPrice
|
||||||
price: 75
|
price: 75
|
||||||
|
- type: RequireProjectileTarget
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: PoweredLightPostSmallEmpty
|
id: PoweredLightPostSmallEmpty
|
||||||
|
|||||||
@@ -38,6 +38,19 @@
|
|||||||
softness: 1
|
softness: 1
|
||||||
offset: "0, 0.35"
|
offset: "0, 0.35"
|
||||||
- type: RotatingLight
|
- 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
|
- type: Damageable
|
||||||
damageContainer: Inorganic
|
damageContainer: Inorganic
|
||||||
damageModifierSet: Metallic
|
damageModifierSet: Metallic
|
||||||
|
|||||||
Reference in New Issue
Block a user