A semiempiric approach has been developed for calculation of halfwidths and shifts of spectral lines. This approach incorporates corrections for the Anderson-Tsao-Curnutte approximation. Model parameters were determined by fitting the broadening and shift coefficients to experimental data. This allows sufficiently accurate prediction of the parameters of line profiles, which were not measured. The coefficients of CO2 spectral lines broadening and shifting by air and nitrogen pressure are calculated, as well as the coefficients of thermal dependence of line profiles. The calculated parameters are intended for use in spectroscopic databases.