![]() |
VR-Forces 4.0.4 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.
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 Set | Add a new set data request command. Related to front-end example Add Set |
| Add PSR | Add a new component and PSR (process state repository) for saving/restoring component's state |
| 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 |
| Decide to Give Up | Give up a task based on user-defined criteria |
| Extend State Repostiory | Extend existing state repository classes through composition instead of subclassing |
| Interface Content | Send an interface content message. Related to front-end example Interface Content |
| Object Manager | Subclass and install your own version of the object manager |
| Radar Warn | Add the ability to detect and react to a threat to an aircraft |
| Settings Manager | Demonstrates how to install your own settings manager |
| Subtask | Create a new turn and move behavior using subtasking mechanism and existing tasks |
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 |