forked from stalker-14-EN/stalker-14-EN
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase_structure.yml
More file actions
71 lines (67 loc) · 1.5 KB
/
Copy pathbase_structure.yml
File metadata and controls
71 lines (67 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
- type: entity
id: BaseStructure
abstract: true
placement:
mode: SnapgridCenter
components:
- type: Transform
anchored: true
- type: Clickable
- type: GravityAffected
- type: Physics
bodyType: Static
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.45,-0.45,0.45,0.45"
density: 60
mask:
- MachineMask
layer:
- MidImpassable
- LowImpassable
# - type: Pullable - Testing removal of Pulling from some structures
# Stalker en change, blame Szneks
- type: Tag
tags:
- Structure
- type: entity
# This means that it's not anchored on spawn.
id: BaseStructureDynamic
parent: BaseStructure
abstract: true
components:
# These might/might not be a good idea
# - type: MovedByPressure
# - type: DamageOnHighSpeedImpact
# - type: TileFrictionModifier
# modifier: 0.5
- type: Transform
anchored: false
- type: Clickable
- type: Physics
bodyType: Dynamic
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.45,-0.45,0.45,0.45"
density: 60
mask:
- MachineMask
layer:
- MidImpassable
- LowImpassable
- type: Anchorable
# For use with yaml composition, so that all wheeled structures can easily be changed.
- type: entity
id: StructureWheeled
abstract: true
components:
- type: TileFrictionModifier
modifier: 0.4
- type: Tag
id: Structure