![]() |
VR-Forces 4.3.1 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 (addActuator) | Add a new kind of actuator to an entity |
| Add Attribute (addAttrSim) | Publish additional information by extending the VR-Forces entity state repository. Related to front-end example Add Attribute. |
| Add Comm Model (addCommModel) | Add a new communication model to control how radio messages are sent between entities. |
| Add Entity (addEntity) | Add a new kind of entity (space shuttle) |
| Add Lua Function (addLuaFunction) | Add a new bound function to be available in Lua scripts |
| Add Set (Back-End) (addSetSim) | Add a new set data request command. Related to front-end example Add Set. |
| Add PSR (Process State Repository) (addPsr) | Add a new component and PSR (process state repository) for saving/restoring component's state |
| Add a new sensor propagator (addSensorPropagator) | Add a new sensor propagator for calculating how to detect other entities |
| Add Simulation Command (addSimCommandSim) | Add a new simulation command. Related to front-end example Add Simulation Command. |
| Add Task (addTaskSim) | Add a new task. |
| Add Conditional (addConditionalSim) | Add a new conditional expression to plan language. Related to front-end example Add Conditional. |
| Importing/Exporting Scenarios from Different File Formats (csvScenarioImporterExporterSim) | Add a new scenario import/export format for use with VR-Forces. |
| Decide to Give Up (decideToGiveUpTask) | Give up a task based on user-defined criteria |
| State Repository Extension (extendStateRepository) | 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 (metaDataEncryptDecrypt) | Example of how to encrypt meta data language scripts. |
| Object Manager Extension (objectManager) | Subclass and install your own version of the object manager |
| Radar Warning (radarWarnRx) | Add the ability to detect and react to a threat to an aircraft |
| Settings Manager Extension (settingsManagerSim) | Demonstrates how to install your own settings manager |
Standalone examples are self-contained executables.
| Simple CGF (simpleCGF) | Simple application that loads a terrain, creates an entity, and gives the entity a task to perform |
| Simple Plan (simplePlan) | Simple application that loads a terrain, creates an entity, constructs a plan for the entity to execute |