[Feature Request] Add Warning About Trains at Edges

オープン
#220 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp
領域
game-dev

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C#
スター
148
フォーク
49
平均マージ
4日 9時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CnCNet/WorldAlteringEditor のほかの issue

CnCNet/WorldAlteringEditor の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。