The cl_editor / materials editor currently saves the modified materials definitions to maps/${map}-1234.mat. The random numeric suffix dates back to when stages were not fully supported by Cm_WriteMaterial, and saving materials to file was lossy. Now that materials and stages are correctly serialized, we can and should simply write the actual maps/${map}.mat directly, as this is a better workflow for mappers.
The cl_editor / materials editor currently saves the modified materials definitions to
maps/${map}-1234.mat
. The random numeric suffix dates back to when stages were not fully supported by Cm_WriteMaterial, and saving materials to file was lossy. Now that materials and stages are correctly serialized, we can and should simply write the actualmaps/${map}.mat
directly, as this is a better workflow for mappers.