Dave_America Posted November 26, 2017 Posted November 26, 2017 Can someone help me understand how the AI respawn works? The documentation is a little over my head sometimes. I’m trying to get a long and continuous air battle going on with 10 AI planes on each side. I want to start the game with all the planes in the air. I’m trying to set it up so that as one AI plane goes down, another will respawn. Or at least fly in and join the battle. Is this possible? Do AI need a fakefield to spawn from or is that just for players? What are the main settings I need to be aware of in the editor? Thanks for the help!
[Pb]Vapor Posted November 26, 2017 Posted November 26, 2017 (edited) To make a plane spawn on mission start you use the Mission Begin MCU, link that to a short timer (10s) then to a 'spawn' MCU and have is pointed to a Plane object (also some sort of trigger, for example tell the plane to trigger the spawner once it is killed). From there you need to use waypoints and the other MCU's like the Attack to get the planes to go where you want and fight where you want. The problem you are going to run into is that the in a MP game you CAN NOT spawn planes in formation, if you want a big 5 plane formation you will have to have them already in game and enable them at missions start and they all have to have their own waypoints (unless you want to risk them colliding). The alternative is to have a large number of planes disabled all with their own set of Waypoints, then use triggers (example a player flys into a grid square, a timer, etc.) to trigger the others. If you enable them (not spawn) they CAN fly in formation. This all means you can only have a set number AI 'planes' in MP. In the above 'enable' method you would just substitute 'spawn' MCU with 'enable' MCU, but now your plane is only used once. I get around all this by making sure my mission ends once all the planes are enabled. Or just run planes out of formation on their own waypoints if I wanted unlimited spawns. Edited November 26, 2017 by FFS_Vapor
[Pb]Vapor Posted November 26, 2017 Posted November 26, 2017 (edited) Jims guide (stickied in this forum) is one of the best guides we have. But if you have trouble with it you can check out Prankster's videos, set aside 30-40 minutes and watch these two and it should get you started. Setting up a map: The enable mechanic I was talking about: Edited November 26, 2017 by FFS_Vapor 1
Gambit21 Posted November 26, 2017 Posted November 26, 2017 I have a group built that does exactly this - 10 on 10, constant re-spawns. Basically when a plane is critically damaged it sends an "on critically damaged" report and spawns again at the outer perimeter of the air battle. I'm away for a few days and can't be of further help right now unfortunately.
Dave_America Posted November 26, 2017 Author Posted November 26, 2017 Oooo maybe I’ll try that, thanks!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now