I've been able to create a new backpack config and have it execute commands through addActions. That was a hurdle for me because I am not good at configs. Baraka created some separate parts for the Raven and I was able to create a sequence where they are built or broken down using my old friend attachTo. The two sequences look pretty good to me but I might tweak them a little bit.
The nice thing about this is that you don't have to add anything special to your mission like a module that you sync. You can just add the backpack to a unit or drop the backpack somewhere in the editor and have a unit retrieve it at mission start. To use the Raven, just take off your backpack, assemble the Raven, launch it, perform your mission, retrieve the Raven, break it down into the backpack, put on your backpack and move to your next location. This way, you can also hand off the backpack to someone else who can then build and launch a Raven. This is still untested in multiplayer, but I'm hopeful that there won't be too many problems.
I've also added a "reveal" command that I have to tweak a little. Basically, when the Raven overflies troops, laser markers, land vehicles, aircraft or ships, it will "reveal" them to the group of the person operating the Raven (i.e. add the information to the map the way you can see an enemy soldier on the map after you see him). It's a little hit or miss revealing them, having their locations show up on the map, then fade out over time. And it seems like when the Raven flies right over the same troops, the locations are not updated in real time. This might have to do with the way I'm using the reveal command:
This gets repeated every 2 seconds.Code:_scanDiameter = 250; // radius - not diameter _objects = nearestObjects [position _microAirVehicle, ["LaserTarget","Ship","Air","Man","LandVehicle"], _scanDiameter]; // _objects = _microAirVehicle nearTargets _scanDiameter; // TRIED THIS AND GOT NO RESULTS {(group _caller) reveal _x} forEach _objects;
I tried using nearTargets, but didn't get any results revealed, maybe because the _microAirVehicle doesn't have a "side". I'm not sure I'm using the command correctly so I just went back to nearestObjects.
Left to do is figure out how to make displays and make a better display for the RQ-11 Raven. I might also just rename this addon "RQ-11 Raven" rather than "Micro Aerial Vehicle Module". What do you all think?
Here's a video demonstrating the new functionality (reuploaded because of problems):
HOME


