Cosmic rays and non-thermal emission in simulated galaxies – II. γ-ray maps, spectra, and the far-infrared–γ-ray relation. Issue 3 (10th May 2021)