|
|
While working on developing missions for our campaign, I started wondering how both Sweden and Finland could fit in the scheme of things as both companies have "non-alignment" military policies. I would think that either country would prefer not to have either NATO or Russian forces enter their country during a war. My original thoughts were that I would like to see unauthorized aircraft escort out of neutral air space.
After thinking about it for while, even though the AI pilots act pretty realistic, the pilots that have the best chance of wandering into unauthorized air space would be human pilots, possibly up to 8 of them in a multiplayer game. So I set about to see if I could model this.
After doing a lot of messing with moving area events, area events, flags, escort commands etc., I found this was getting very complicated to do and was adding a lot of conditions and the real mission wasn't even built yet! I could see that I needed to follow the "KISS" method but how?
Then it dawned on me. Use a combination of the cap waypoint command and moving area event. The basic idea is place the cap close enough to the border so that when the player is near it, a warning message is display. If the player doesn't turn around pretty much right away, he will be engaged by the neutral country's cap within a minute. At 420kts, the player would cover 7 nm in a minute. Since a Russian air base is near by, I made the assumption that the cap would be forced to engage quickly to avoid a possible NATO/Russian air battle over their homeland and maybe an escalation of the war in their homeland.
To represent the Swedish caps, I used the Blue Russian Mig-29s, assuming some kind of leasing arrangement with Russia. There are no Swedish planes in the mission builder, so this was the next best choice for me. I set the planes to "neutral" the first time, but, being that they were neutral, they did not react unless I fired on them. Since that wasn't working, I set the Blue Mig-29s to enemy status.
I then set the 2-plane flight up with a single cap command with a detection radius of 33nm. I made sure the waypoint was set so it was away from the Swedish border with a radius of roughly 40 nm. To do this, I added a second temporary waypoint, then moved it around the cap waypoint at various point along the border to find the 40nm distance(s). I will explain the distance difference soon. I would then move the cap waypoint right, left, up, down as needed. The fence borders were turned on for Norway and Sweden, so the player would also see "fence in" and "fence out" messages if he was flying all the way from the carrier.
Finally, I added 2 moving area events to the Blue Mig-29s. The first one was set for ANY friendlies ENTERING the moving area with a message command saying that unauthorized air space was entered. The second one was set for ANY friendlies LEAVING the moving area with a message saying that the player has left the unauthorized air space. Both were set for a 40 nm range, same as the distance from the cap waypoint.
So here is what happens: When any friendly (read human player) enters the moving area of the Mig-29s, they will get a message saying that they are unauthorized and need to leave immediately. Depending upon the Mig-29s positions around the cap, you may also get a "fence in" message at the same time or 30 seconds earlier or later. (Human factor involved here.) Since the distance between the movement area and cap detection radius is 7 nm (40nm - 33nm), if the player is traveling 420 knots, he has approximately 1 minute before the caps detect him. Once detected, the Mig-29s will attack until either the player or they are downed. If the player turns around right away and leaves the second moving area of the Mig-29s, he will get the second message saying that he has left Sweden's air space. If the player receives this message, then he knows that he is definitely out of the cap detection range. The player may also get a "fence out" message but that does not always coincide with the moving area message.
This set up will continue to work until the player pushes things too far and enters the Mig-29s' 33 nm cap range. After that it is a fight to the death and there is no turning back.
One can make things even more interesting by adding a goal to the Mig-29s that they can't be destroyed, then set up a goal state event that if they are destroyed, flag 30 is set. I picked that flag number so it wouldn't always be in the way of the real mission development flags. From there, you can do things like add invisible SAMS down below that appear and fire when the flag is set. Or add a second cap sitting on the runway at the nearest airbase with an initial take-off command that also triggers when the flag is set. Add the cap waypoint for this flight so it is just 30 miles from the border but make the detection range 40 nm.
Using those examples, what I did was set up both the SAMS and the second cap. When you kill the first Swedish cap, the SAMS usually engage you in another minute or so. You can usually avoid the SAMS; however by the time you do it, the second cap, which is now a 4-plane flight :-), has detected you and you are now in a fight to the death with 4 planes. All because you didn't leave Swedish air space when asked. ;-D
Other notes: You have to play with ranges till you find something that satisfies you. For our missions, with a 2-plane cap, I have decided to use a cap radius of 35 nm and 33 nm if I add a 4-plane cap. The AI programming is really great and will sometimes detect you only when you are closer than the 33nm and sometime it will detect you a little farther away than the 33 nm. For me, the 35 nm detection range seems to work better with the main mission that I am setting up nearby.
So there it is. One mission builder idea that can add a little realism immersion factor to your missions. I have no doubts that there are lots of other ways also.
To read more about Tailspin and Timber's campaign, go here.
|
|