Go Back   Orbiter-Forum > Projects > ORBITER: 2010-P1 and newer > Feature
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Vessel to Vessel communication Issue Tools
issueid=940 04-11-2012 03:24 PM
shoemaker without legs
Vessel to Vessel communication
A suggestion of a simple means for vessels to exchange custom data with each other

This isn't about radio communication, this is about exchange of data between individual vessels that is not contained in the standard VESSEL class.

As far as I can see so far, there is no way for an add-on developer to have different vessels that are designed to exchange advanced data with each other that is part of the specific vessel's sub-class.

Here's what I have in mind to remedy that situation:

A function like
char* oapiTagVessel(OBJHANDLE vessel, char* data)
could be implemented. Tagging a vessel would execute a clbkIsVesselTagged(char* data) for this vessel, in which the programmer could evaluate the string passed to it and define an answer (or execute instructions), which the oapiTagVessel function would return to be evaluated by the sender.

I chose a chararray because I think that would be most flexible, but it is well possible that there are better solutions.

This would enable add-on developers to easily create vessels that are designed to work with each other and exchange information between each other without having to abuse attachment points or other publicly available vessel attributes to construct a means of communication.
Issue Details
Issue Type Feature
Project ORBITER: 2010-P1 and newer
Status Request
Priority 10 - Lowest
Suggested Version 111105
Implemented Version (none)
Votes for this feature 5
Votes against this feature 1
Assigned Users (none)
Tags (none)

05-21-2012 07:05 AM
Crazy about real time sims
I use clbkGeneric() to send messages and data to and fro. Its fast and simple to use
05-29-2012 08:39 AM
shoemaker without legs
Yeah, I noticed that a while after I made this request. I also learned how to get a pointer to the vessel's subclass, so this feature request is pretty much superfluous now.

Issue Tools
Subscribe to this issue

All times are GMT. The time now is 03:10 AM.

Quick Links Need Help?

About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.