Recently, the possibility of the generation and interaction of unipolar half-cycle electromagnetic pulses with quantum systems has been the subject of active research. Such pulses can find many different and interesting applications. They are able to excite quantum systems very fast. Based on the numerical solution of Maxwell-Bloch equations, this paper studies theoretically the possibility of guiding and ultrafast controlling population difference gratings by a sequence of half-cycle attosecond pulses in a three-level resonant medium. The parameters of the model medium (transition frequencies and transition dipole moments) match those in a hydrogen atom. We show the possibility of guiding periodic gratings and dynamic microcavities on different resonant transitions in the medium. We also consider the superradiance of polarization waves and atomic gratings produced by half-cycle pulses.