VR-Forces 4.1 Class Documentation
VR-Forces Back-end Examples

Table of Contents

VR-Forces comes with a number of code examples.

These examples can be useful as starting points for extending the VR-Forces back-end. See also VR-Forces Front-End (GUI) and Other Examples.

Plug-in Examples

Plug-in examples are dynamically linked libraries that are loaded using the GUI menu "Settings->Plugins" dialog.

Add ActuatorAdd a new kind of actuator to an entity
Add AttributePublish additional information by extending the VR-Forces entity state repository. Related to front-end example Add Attribute.
Add Comm ModelAdd a new communication model to control how radio messages are sent between entities.
Add EntityAdd a new kind of entity (space shuttle)
Add Lua FunctionAdd a new bound function to be available in Lua scripts
Add Set (Back-End)Add a new set data request command. Related to front-end example Add Set.
Add PSR (Process State Repository)Add a new component and PSR (process state repository) for saving/restoring component's state
Add a new sensor propagatorAdd a new sensor propagator for calculating how to detect other entities
Add Simulation CommandAdd a new simulation command. Related to front-end example Add Simulation Command.
Add TaskAdd a new task. Related to front-end example Add Task.
Add ConditionalAdd a new conditional expression to plan language. Related to front-end example Add Conditional.
Importing/Exporting Scenarios from Different File Formats exampleAdd a new scenario import/export format for use with VR-Forces.
Decide to Give UpGive up a task based on user-defined criteria
State Repository ExtensionExtend existing state repository classes through composition instead of subclassing
Interface ContentSend an interface content message. Related to front-end example Interface Content.
metaDataEncryptDecryptExample of how to encrypt meta data language scripts.
Object Manager ExtensionSubclass and install your own version of the object manager
Radar WarningAdd the ability to detect and react to a threat to an aircraft
Settings Manager ExtensionDemonstrates how to install your own settings manager
SubtaskingCreate a new turn and move behavior using subtasking mechanism and existing tasks

Standalone Examples

Standalone examples are self-contained executables.

Simple CGFSimple application that loads a terrain, creates an entity, and gives the entity a task to perform
Simple PlanSimple application that loads a terrain, creates an entity, constructs a plan for the entity to execute

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)