I'm trying to learn DIS for a small project that I've in mind.
Basically I've a process that run a scenario, and it can receive external commands for creating and removing entities.
I've another process, a map, that can send commands to the scenario process, and I've two cases:
- The map process send a command for creating a new entity, the scenario process receives it, and creates the new entity.
- The map process can create a new entity without external commands (i.e. triggered by internal scenario logic). This new entity should be notified in DIS.
DIS CreateEntity PDU has following fields:
- OriginatingEntityID
- ReceivingEntityID
Which data should be inserted here by the map process in order to send the CreteEntity command? How can I specify which kind of player I want to create (F15, Soldier)?
In the second case, how can I notify that a new player was created without external commands?
In second case