|
|
@@ -27,3 +27,69 @@
|
|
|
- LowImpassable
|
|
|
- MidImpassable
|
|
|
- HighImpassable
|
|
|
+
|
|
|
+- type: entity
|
|
|
+ name: grace wall germanyww2
|
|
|
+ id: MarkerGracewallGermanyWW2
|
|
|
+ parent: MarkerBase
|
|
|
+ components:
|
|
|
+ - type: Sprite
|
|
|
+ sprite: Civ14/Markers/areas.rsi
|
|
|
+ state: gracewall
|
|
|
+ - type: GracewallArea # Use the new component
|
|
|
+ gracewallActive: true
|
|
|
+ gracewallRadius: 1.5
|
|
|
+ blockingFactions: [Germany]
|
|
|
+ - type: GracewallRule
|
|
|
+ gracewallDuration: 1000
|
|
|
+ - type: Physics
|
|
|
+ bodyType: Static
|
|
|
+ - type: Fixtures
|
|
|
+ fixtures:
|
|
|
+ gracewall: # Define a fixture for the area
|
|
|
+ shape: !type:PhysShapeAabb
|
|
|
+ bounds: "-1.5, -1.5, 1.5, 1.5"
|
|
|
+ # Collision layer/mask will be managed by the GracewallRuleSystem
|
|
|
+ density: 100
|
|
|
+ hard: true
|
|
|
+ mask:
|
|
|
+ - LowImpassable
|
|
|
+ - MidImpassable
|
|
|
+ - HighImpassable
|
|
|
+ layer:
|
|
|
+ - LowImpassable
|
|
|
+ - MidImpassable
|
|
|
+ - HighImpassable
|
|
|
+
|
|
|
+- type: entity
|
|
|
+ name: grace wall sovietww2
|
|
|
+ id: MarkerGracewallSovietWW2
|
|
|
+ parent: MarkerBase
|
|
|
+ components:
|
|
|
+ - type: Sprite
|
|
|
+ sprite: Civ14/Markers/areas.rsi
|
|
|
+ state: gracewall
|
|
|
+ - type: GracewallArea # Use the new component
|
|
|
+ gracewallActive: true
|
|
|
+ gracewallRadius: 1.5
|
|
|
+ blockingFactions: [Soviet]
|
|
|
+ - type: GracewallRule
|
|
|
+ gracewallDuration: 1000
|
|
|
+ - type: Physics
|
|
|
+ bodyType: Static
|
|
|
+ - type: Fixtures
|
|
|
+ fixtures:
|
|
|
+ gracewall: # Define a fixture for the area
|
|
|
+ shape: !type:PhysShapeAabb
|
|
|
+ bounds: "-1.5, -1.5, 1.5, 1.5"
|
|
|
+ # Collision layer/mask will be managed by the GracewallRuleSystem
|
|
|
+ density: 100
|
|
|
+ hard: true
|
|
|
+ mask:
|
|
|
+ - LowImpassable
|
|
|
+ - MidImpassable
|
|
|
+ - HighImpassable
|
|
|
+ layer:
|
|
|
+ - LowImpassable
|
|
|
+ - MidImpassable
|
|
|
+ - HighImpassable
|