Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Feature Request] Add Warning About Trains at Edges

Abierto
#220 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
csharp
Área
game-dev

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C#
Estrellas
148
Forks
49
Merge medio
4 d 9 h
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CnCNet/WorldAlteringEditor

Todos los issues de CnCNet/WorldAlteringEditor

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.