I've made it!!!
The 'problem' of getting recon missions disabled (by targets having the wrong coalition)
It's either a missunderstanding how RoF handles in game objects
or a bug in RoF (spawning units could overwrite a formerly existing unit using the same id)
But in any case, this 'problem' would affect any version of the tool from the very beginning....
The latest version (attached here) should run and be allmost(!) compatible to every previous one.
Changes (technical information)
The 'trigger' targets (!PR ...) are no longer saved by ingame id, but by their names on mission creation.
So overwriting an existing trigger when a unit spawned with the same id should not happen any more.
Trigger names have to be unique on mission creating (but that should have been done even before...)
Triggers for a 'HOME' area now have to be unique, too.
Instead of naming them all '!PR HOME' as before give them a unique name.
You can also set a specific radius for each of them (in case none is set the default 1000 meters will be used).
Ex: '!PR HOME 001 r1' would create a home trigger, the unique part is the 001 and the radius for this trigger is 100 meters)
And the 'coalition' for there triggers is checked. 'Neutral' won't work. Only coalition of team the trigger belongs to is accepted.
And the most important change:
If you use them ONLY these triggers mark a point, where you can complete a recon by landing within their radius.
Everything else is no longer accepted.
If you don't use them every airfield (except enemy ones) is an accepted place to land as before.
Changes (usage information)
As before you can use
stationary single targets
and let them require a % of area coverage with a set radius of the area
!PR E00 r5 75%
or a fixed number of shots to be taken with the 'trigger' inside that shot
!PR E00 x5
(radius will be ignored in that case, even if entered)
or use moving single targets with a fixed number of shots
!PR E00 m5 x5
(the 'm' has to be used, but the radius (5) after that m will be ignored in that case, even if entered)
Using a percentage won't work (or was never tested...)
or init a stationary line with multiple targets
!PR E00-A r5 75%
!PR E00-A r5 x3
where the first trigger sets radius and conditions (% or number)
for the entire line
and the further triggers
form the line
You can also use multiple single targets
to have a mission where you must make shots of several targets
This is initiated by
!PR E00-A v5 50%
!PR E00-A v5 x5
(the radius given after the v (5) is ignored, too)
Further triggers AND conditions are added with the following triggers
Maybe even using 'moving' targets is possible here...
!PR E00-D m5
If you have only one condition set with the triggers (like shown above)
- 50% will mean you'ld have to complete 50% of all triggers by taking ONE shot of each trigger
- 3x will mean you'ld have to complete ALL triggers by taking 3 shots of each
If you've got both conditions set
!PR E00-A v5 75%
!PR E00-B v5 x2
you would have to take 2 shots to complete a trigger
and complete 75% of all triggers to complete the mission
In any case, to complete a recon you'l have to land within the required area (own airfield or close to a special trigger)
and your pilot has to be alive.
Crashing your plane doesn't matter, only the pilot and the right spot to stop your plane count.