![]() |
VR-Forces 4.2 Class Documentation
|
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 are dynamically linked libraries that are loaded using the GUI menu "Settings->Plugins" dialog.
| Add Actuator | Add a new kind of actuator to an entity |
| Add Attribute | Publish additional information by extending the VR-Forces entity state repository. Related to front-end example Add Attribute. |
| Add Comm Model | Add a new communication model to control how radio messages are sent between entities. |
| Add Entity | Add a new kind of entity (space shuttle) |
| Add Lua Function | Add 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 propagator | Add a new sensor propagator for calculating how to detect other entities |
| Add Simulation Command | Add a new simulation command. Related to front-end example Add Simulation Command. |
| Add Task | Add a new task. Related to front-end example Add Task. |
| Add Conditional | Add a new conditional expression to plan language. Related to front-end example Add Conditional. |
| Importing/Exporting Scenarios from Different File Formats example | Add a new scenario import/export format for use with VR-Forces. |
| Decide to Give Up | Give up a task based on user-defined criteria |
| State Repository Extension | Extend existing state repository classes through composition instead of subclassing |
| Interface Content | Send an interface content message. Related to front-end example Interface Content. |
| Meta Data Script Encrypt/Decrypt | Example of how to encrypt meta data language scripts. |
| Object Manager Extension | Subclass and install your own version of the object manager |
| Radar Warning | Add the ability to detect and react to a threat to an aircraft |
| Settings Manager Extension | Demonstrates how to install your own settings manager |
Standalone examples are self-contained executables.
| Simple CGF | Simple application that loads a terrain, creates an entity, and gives the entity a task to perform |
| Simple Plan | Simple application that loads a terrain, creates an entity, constructs a plan for the entity to execute |