Skip to content

Commit

Permalink
Added new attributes from ASP PR 53
Browse files Browse the repository at this point in the history
  • Loading branch information
KSneijders committed Dec 6, 2024
1 parent 11ea013 commit e2baa71
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 0 deletions.
39 changes: 39 additions & 0 deletions docs/general/attributes/attributes.json
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,45 @@
],
"flags": {}
},
"78": {
"name": "Obstruction Type",
"desc": "Controls unit outline and collision",
"notes": [],
"flags": {
"0": "Square outline, and passable",
"1": "Same as 0",
"2": "Solid square outline, and has collision box",
"3": "Square outline, and has collision box",
"4": "No outline, and passable",
"5": "Round outline, and has collision box",
"10": "Same as 2, but designed for mountains"
}
},
"79": {
"name": "Blockage Class",
"desc": "Controls unit blockage class",
"notes": [],
"flags": {
"0": "Forces default obstruction type",
"1": "Resource",
"2": "Unit",
"3": "Building",
"4": "Wall",
"5": "Gate, allows trespassing",
"6": "Cliff, blocks walling"
}
},
"80": {
"name": "Selection Effect",
"desc": "Controls unit hit point bar and outline",
"notes": [],
"flags": {
"0": "Has hit point bar",
"1": "Has hit point bar, and outline",
"2": "No hit point bar, or outline",
"3": "No hit point bar, but has outline"
}
},
"100": {
"name": "Resource Costs",
"desc": "Refers to the first resource cost of a unit. Refer to A.G.E. to see which resource cost that is",
Expand Down
45 changes: 45 additions & 0 deletions docs/general/attributes/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,51 @@ This page is a list of all the unit attributes that can be modified in the scena

- Special abilities are an unused feature in AoE2, they were planned but never made it into AoK

## 78. Obstruction Type

- ID: 78

- Controls unit outline and collision

| Property | Flag Value |
| :- | -: |
| Square outline, and passable | 0 |
| Same as 0 | 1 |
| Solid square outline, and has collision box | 2 |
| Square outline, and has collision box | 3 |
| No outline, and passable | 4 |
| Round outline, and has collision box | 5 |
| Same as 2, but designed for mountains | 10 |

## 79. Blockage Class

- ID: 79

- Controls unit blockage class

| Property | Flag Value |
| :- | -: |
| Forces default obstruction type | 0 |
| Resource | 1 |
| Unit | 2 |
| Building | 3 |
| Wall | 4 |
| Gate, allows trespassing | 5 |
| Cliff, blocks walling | 6 |

## 80. Selection Effect

- ID: 80

- Controls unit hit point bar and outline

| Property | Flag Value |
| :- | -: |
| Has hit point bar | 0 |
| Has hit point bar, and outline | 1 |
| No hit point bar, or outline | 2 |
| No hit point bar, but has outline | 3 |

## 100. Resource Costs

- ID: 100
Expand Down

0 comments on commit e2baa71

Please sign in to comment.