infclass / teeworlds-infclassR

InfClass server
Other
19 stars 19 forks source link

Make infected area visible in textureless UI mode #3

Closed Kaffeine closed 3 years ago

Kaffeine commented 3 years ago

We can in CMapConverter::CopyLayers():

  1. Find "icDamage" layers and find ZONE_DAMAGE_INFECTION tiles there
  2. Adjust GameLayer; change empty tiles with DDRace TILE_UNFREEZE or TILE_DUNFREEZE.

Note:

TILE_FREEZE = 9,
TILE_TELEINEVIL,
TILE_UNFREEZE,
TILE_DFREEZE,
TILE_DUNFREEZE,
Kaffeine commented 3 years ago

Also: show add turn off entities sign.

Kaffeine commented 3 years ago

Also: maybe we can manually add the tiles to the maps via editor. Just ensure that the tiles ignored by the server.

Kaffeine commented 3 years ago

https://github.com/InfectionDust/teeworlds-infclassR/commit/8a9c2eaebdc5251fcc3ba6a29ec70a801095c215

No "Turn off entities" sign. :disappointed: