To add a dormer to a roof, you must first convert the roof to roof slabs, and then create additional roof slabs, walls, and all other parts of the dormer.