This page has been translated automatically.
Programming
Fundamentials
Setting Up Development Environment
UnigineScript
High-Level Systems
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Core Library
Containers
Engine Classes
Node-Related Classes
Rendering-Related Classes
Physics-Related Classes
Bounds-Related Classes
GUI-Related Classes
Controls-Related Classes
Pathfinding-Related Classes
Utility Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

LVC Game Add-On

The Calytrix LVC Game library enables communication between components of distributed simulation systems via the standard protocols: DIS, HLA, C2.

An LVC Game add-on is used for integration with this library allowing you to seamlessly connect UNIGINE 2 into a training environment.

Warning
The add-on is available only in the Sim Unigine SDK under Windows.

Launching LVC Game

To launch the add-on, you should perform the following:

  1. Install the LVC Game add-on (available via UNIGINE SDK Browser in the Add-Ons section).
  2. Go to the Projects tab of the SDK Browser and choose Other Actions -> Configure Project -> Add-ons.
  3. Move the LVC Game 1.0 add-on to the In Use area and click Ok.
  4. Put the LVCGame plugin .dll into <project_folder>/bin.
  5. Copy the config folder which you get from Calytrix into <project_folder>/bin.
  6. Copy the Calytrix license file (LVCGame.lic) into <project_folder>/bin/config.
  7. Open your license file (LVCGame.lic) in the text editor and get the application name.

    For example:

    Shell commands
    <attribute name="application">Unigine</attribute>

    The application name is Unigine.

  8. In the config folder there are several configuration files starting with "Game" by default (GameClient.config, lvc_to_Game.config). Replace "Game" with your application name. For example:

    Lvc_to_Game.config -> Lvc_to_Unigine.config

    Game_to_Lvc.config -> Unigine_to_Lvc.config

    Renamed files
  9. If you want to run the project with the LVC Game addon, do the following:

    1. Open the application_name_to_lvc.config file, and write entity = 0 0 0 0 0 0 1.
    2. Open the lvc_to_application_name.config file, and write 0 0 0 0 0 0 1 = entity.
    Notice
    You can also define other entities in this file, please see the LVC Game software user manual for more details.

  10. Copy the LVC .dll files (LVCGameSDK.dll, LVCCore.dll, HLA-1.3dll, HLA1516.dll, HLA1516e.dll, LVCWebInterface.dll) to <project_folder>/bin.
  11. Click the additional field under the Run button. Choose Application -> Custom. The main_x64.exe will be set automatically. Specify the -extern_plugin LVCGame command line option in the Arguments field.

  12. Run the project by clicking Run.

If you couldn't run the project, the LVCGame.log file would be created in <project_folder>/bin.

Last update: 2017-07-03
Build: ()