The simplest way to create a VBS-IG scenario from scratch is to use the VBS-IG template.
It will load the necessary environment, including the CIGI packets and the CIGI model container.
In vsTASKER, to create a new database:
Select VBS-IG then
Now, select a terrain. Let's take Porto from the list:
Time to load the corresponding terrain.
Click on Environment::Terrains then VectorGraphics and select Porto.vgm :
Elevation terrain is also important as the SVG do not include them and requesting Height of Terrain by CIGI for each entity can become too network and CPU intensive. As most of the time, height of a terrain do not change, this could be done before going runtime.
Select layer and load porto.elev.
You can keep the elevations visible or hide the layer to only keep visible the SVG map.
Now zoom in this area and save the database under whatever name you want.
Now select the Scenario Player and give it the Player logic and the Gamepad component:
It is mandatory to give the camera a default focus when nothing (no entity) is selected.
This can be any entity of the scenario or a particular one.
In the Catalog, there is a defcam (ghost) entity which serves this purpose. You can instanciate it anywhere on the scenario. The IG camera will look at this point at startup.
Create this entity on the map:
Then, open the CameraPos Packet which is in the System folder of the category:
If you have added the defcam entity, select it from the list. You also could have selected m1a1 so that to have the camera directly focusing the tank at startup without the need to select it on the map.
Below, camera focused on defcam entity. You can drag it on the map to explore the area in 3D (this works best with 2 screens).