![]() |
VR-Forces 4.5 Class Documentation
|
The Add Comm Model example demonstrates the following:
VR-Forces includes an architecture for plug-in communication models. Communication Models are used by VR-Forces to pass simulated messages such as spot reports from one entity to another. The communication model determines what messages can get through to their destination, and how long that takes.
This example creates a communcation model that uses the radio transmitter power of sending entities, and the range between the entities to determine if a message can get through. A derived sms is used that alters the commModelParams.mtl file to use the new comm model and to publish the objects' transmitters.
Since this example is loaded as a plugin, it can be used in conjunction with the released VR-Forces application
| MyCommModel | New comm model code, derived from VRF DtSimpleRadioCommModel. |