Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Feature Request] Add Warning About Trains at Edges

Đang mở
#220 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
game-dev

Hướng nghiên cứu

Start by reading the map-save validation and unit-placement logic, focusing on units with IsTrain=yes near map edges. Check how the editor determines whether a train is too close to an edge and how save warnings are presented. Done means saving warns when such a unit could crash recruitment, including when it is a follower.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem:

  • TS crashed when trains were being recruited off map.

Reason:

  • Unit with IsTrain=yes was placed too close to the map edge (refer to the attached screenshot where the sandy terrain area indicates where crashes happen).

Control:

  • Infantry with followers were placed in the sandy terrain areas. Game did not crash when recruited.
  • Vehicle with followers were placed in the sandy terrain areas. Game did not crash when recruited.
  • Vehicle was given IsTrain=yes flag. Game crashed.
  • A lone locomotive was placed in the sandy terrain area on a track. Game crashed.

Image

Solution:
Warning on save when a unit with IsTrain=yes is placed too close to the map edge. Warning message will state that when the unit is recruited or if it is a follower, the game will crash when a team containing the unit/follower is recruited.

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CnCNet/WorldAlteringEditor

Tất cả issue của CnCNet/WorldAlteringEditor

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.