Jump to content

Suggestion: Default CIGI type and DIS type


photo

Recommended Posts

Hello,

I know 2.11 is on its way, so this is a suggestion for the NEXT version:

- Add the possibility in ig_config.xml to define a default node when an entity type is requested by the host but not defined:

Exemple:

<entity_types>
	<entity id="1.2.71.1.1.0.0" name="Mirage"> <!-- exact representation -->
		<path>ig/entities/aircrafts/mirage/mirageFR.node</path>
	</entity>
	<entity id="1.2.71.-1.-1.-1.-1" name="FrenchFighter"> <!-- a generic fighter jet, with FR livery -->
		<path>ig/entities/aircrafts/fighter/fighterFR.node</path>
	</entity>
	<entity id="-1.-1.-1.-1.-1.-1.-1" name="Unknown">
		<path>ig/entities/dis/unknown.node</path> <!-- a simple red cube? -->
	</entity>
	<entity id="200" name="be-200">
		<path>ig/entities/aircrafts/be-200/be_200.node</path>
	</entity>
	<entity id="-1" name="Unknown">
		<path>ig/entities/cigi/unknown.node</path> <!-- a simple yellow cube? -->
	</entity>
        

This would be very helpful when integrating an existing scenario, as we would at least SEE something instead of nothing (and wonder if the network is ok...) (note also that this is why it's important to be able to query via API an Entity to know its DIS type or CIGI type, not the internal type, for debug purposes).

(note the "-1" above are just a suggestion, maybe a "*" would be better for legibility)

Thanks !

 

Link to comment
×
×
  • Create New...