"Toggle Impassable Cells" should mark more cells
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Start by locating the “Toggle Impassable Cells” entry point and reading how it currently identifies Rock terrain and overlays. Use the terrain examples in the issue to understand the red, blue, and purple categories, then inspect how terrain objects, structures, and units expose their movement and immunity properties. Done means the toggle reflects the specified terrain and object categories, including passable overlays; the issue does not name tests or files to run.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The "Toggle Impassable Cells" function currently only marks cells with the Rock Terrain Type, which makes it unreliable because units are unable to move onto many other cells as well.
To improve this WAE should instead check the values of every Terrain Type and mark every cell that has a Terrain Type for which all values (aside for Winged, which can always be ignored) are 0% (or are missing) in red.
For example:
[Rock]
Foot=0%
Track=0%
Wheel=0%
Float=0%
Hover=0%
Amphibious=0%
FloatBeach=0%
Creep=0%
Winged=10%
Buildable=no
Terrain Types for which only (at least one of) Float, Amphibious and Hover (and FloatBeach for YR) have a value above 0% (and aren't missing) should be marked in blue:
[Water]
Foot=0%
Track=0%
Wheel=0%
Hover=59%
Float=59%
Amphibious=59%
FloatBeach=59%
Creep=0%
Winged=100%
Buildable=no
And Terrain Types for which only (at least one of) Amphibious and Hover (and FloatBeach for YR) have a value above 0% (and aren't missing) should be marked in purple:
[Beach]
Foot=0%
Track=0%
Wheel=0%
Float=0%
Hover=59%
Amphibious=59%
FloatBeach=59%
Creep=0%
Winged=100%
Buildable=no
While "Toggle Impassable Cells" already also marks cells with overlay using the Rock Terrain Type, it doesn't remove marked cells when you place passable overlay on impassable terrain to make it passable (like when you place NOBUILD overlay on a rock in DTA).
In addition to this WAE should also mark objects (terrain objects, structures and ideally also units).
Indestructible objects (check for Immune=yes) should be marked in red just like impassable terrain is, while destructible objects could instead be marked in yellow.
Maybe some special cases such as units that are both crushable and immune and indestructible trees that infantry can still walk through could be marked in orange (any terrain object that does have not a TemperateOccupationBits or SnowOccupationBits key/value at all or has a value of 7 is impassable for all units, while values from 0 to 6 make them passable for infantry only).
Edit:
Added FloatBeach to the examples to take YR into consideration (this wouldn't have any effect in TS).
- Ngôn ngữ chính
- C#
- Star
- 148
- Fork
- 49
- Merge trung bình
- 4 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CnCNet/WorldAlteringEditor
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
CnCNet/WorldAlteringEditor#343 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
CnCNet/WorldAlteringEditor#276 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
CnCNet/WorldAlteringEditor#333 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
CnCNet/WorldAlteringEditor#326 ·
-
HouseType Parameter for Trigger Actions 3, 37, 38, & 74 do not Match Final Alert 2 for RA2 MissionsĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
CnCNet/WorldAlteringEditor#318 · 4 bình luận ·
Tất cả issue của CnCNet/WorldAlteringEditor
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Dashboard renders attachment links that resolve to 404 when the FILES binding is absentĐang mởbug 優先: 低
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
.NET area: storage bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Larson-Logan/medal-sync#61 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày