The technology of modeling various situations in virtual environment systems, which are computer tree-dimensional models of a real or artificial environment, is considered. The user can view these scenes directly on the computer screen, wall screen, stereo glasses, virtual reality glasses, etc. He can also move inside a virtual scene and interact with its objects. In turn, the environment can also change. This allows modeling of various situations (situational modeling) in the virtual environment system. With such modeling, some static or dynamic situation is set in the virtual environment system in which the operator must perform the tasks assigned to him. A mechanism for setting situations by changing a virtual three-dimensional scene using configuration files and virtual control panels is proposed. A special language and editor has been developed for writing configuration files and for creating virtual control panels. The approbation of the proposed methods is presented on the example of two virtual scenes: a training ground for mobile robots and a jet backpack of an astronaut in outer space.