Greetings,
How is it possible to make a plane fly out of an airfield and perform it's task in multiple markers repeatedly?
For example,
A reconnaissance plane in group J0, it's objective is to recon over the locations 1, 2 and 3 for example, all of which are in different areas on the map. And how is it possible to make it repeatedly do recon over these 3 locations?
Answer would be much appreciated
Cheers.
Planes
- Comrade Kimo
- Hauptfeldwebel
- Beiträge: 479
- Registriert: 03.09.2020, 03:48
- Wohnort: Sharqia
- Kontaktdaten:
- zarathustra
- Stabsunteroffizier
- Beiträge: 295
- Registriert: 06.01.2015, 22:00
- Wohnort: Moskau, Russland
- Kontaktdaten:
Re: Planes
1. Start the air route.
2. Add a waypoint... (just fly through it).
3. Add a drop point (first reconnaissance).
4. Add a drop point (second reconnaissance).
5. Add a drop point (third reconnaissance).
6. Launch 1 plane along the air route.
If you need to go to the same points several times, set something as a condition, for example, “a number in a cell...). Then, if necessary, send a plane, just enter this number there. And then add to the first script:
7. Enter the number 0 into the cell...
You can create different routes for different values in a cell, then you just have to enter the required number if necessary.
2. Add a waypoint... (just fly through it).
3. Add a drop point (first reconnaissance).
4. Add a drop point (second reconnaissance).
5. Add a drop point (third reconnaissance).
6. Launch 1 plane along the air route.
If you need to go to the same points several times, set something as a condition, for example, “a number in a cell...). Then, if necessary, send a plane, just enter this number there. And then add to the first script:
7. Enter the number 0 into the cell...
You can create different routes for different values in a cell, then you just have to enter the required number if necessary.
- Comrade Kimo
- Hauptfeldwebel
- Beiträge: 479
- Registriert: 03.09.2020, 03:48
- Wohnort: Sharqia
- Kontaktdaten:
Re: Planes
Thank you very much for the answer, I will try it out.
- Gareth
- Hauptfeldwebel
- Beiträge: 472
- Registriert: 31.07.2006, 01:40
- Wohnort: nicht mehr Dortmund
- Kontaktdaten:
Re: Planes
Is it really possible to use avia tracks (air routes) for planes that are already on an airfield? I could not get this to work.
It works perfectly well if the plane is sent from outside the map.
It works perfectly well if the plane is sent from outside the map.
Free Ukraine from russian aggression!
- Gareth
- Hauptfeldwebel
- Beiträge: 472
- Registriert: 31.07.2006, 01:40
- Wohnort: nicht mehr Dortmund
- Kontaktdaten:
Re: Planes
Here is what I managed to do. Map sources for Vanilla SSRW, normal scheme.
Mission 000: No timer, no cells, only one patrol location for the recon plane
In this example the recon flights are controlled by moving an officer into or out of a zone.
When the plane is in zone 1 and the officer is in zone 2 the AI behaviour for the plane is set to "plane-move to location" and the AI locations are set to zone 3. So the plane starts and goes to zone 3.
When it returns it starts again, but only if the officer is still in zone 2. Otherwise the plane's AI behaviour is set to None so it does nothing.
Mission 001: Multiple patrol locations, one cell
Here the flights are controlled by the officer again. A cell is used to store information about the patrol zone. As there are three possible patrol zones it is necessary to know to which zone the plane should fly next.
Step 1a: plane at airfield, officer in zone 2 and C_0=3 => plane starts to zone 3 and C_0 is set to 30 so that the script is not triggered again before the plane has left the airfield.
Step 1b: plane has left the airfield and C_0=30 => AI behaviour is switched off and C_0 is set to 4 (indicating the next patrol zone)
Step 2a / 2b: Same but plane is sent to zone 4. When it leaves the airfield C_0 is set to 5.
Step 3a / 3b: Same but plane is sent to zone 5. When it leaves the airfield C_0 is set to 3. So the plane will begin with the same patrol flights again.
You can stop the plane from departing for the next zone at any time by moving the officer out of zone 2.
Mission 002: Avia track, no cells, just a timer
At Mission start the avia track (flight route) is set. For each waypoint a marker is needed. The route point at marker 1 is not necessary. I added it to demonstrate how the flight route can be used to avoid certain areas. Strike points are the points where the plane will carry out its mission (here: spying over a certain zone).
By sending the officer to the sandy area the recon plane is sent from outside the map along the defined flight route. The officer is then moved out of the sandy area. He will not be needed anymore. Timer 0 is started.
When timer 0 elapses the next recon plane is sent along the same flight path.
As I wrote earlier I was not able to get avia track to work with a plane that is already standing on an airfield on the map.
Mission 000: No timer, no cells, only one patrol location for the recon plane
In this example the recon flights are controlled by moving an officer into or out of a zone.
When the plane is in zone 1 and the officer is in zone 2 the AI behaviour for the plane is set to "plane-move to location" and the AI locations are set to zone 3. So the plane starts and goes to zone 3.
When it returns it starts again, but only if the officer is still in zone 2. Otherwise the plane's AI behaviour is set to None so it does nothing.
Mission 001: Multiple patrol locations, one cell
Here the flights are controlled by the officer again. A cell is used to store information about the patrol zone. As there are three possible patrol zones it is necessary to know to which zone the plane should fly next.
Step 1a: plane at airfield, officer in zone 2 and C_0=3 => plane starts to zone 3 and C_0 is set to 30 so that the script is not triggered again before the plane has left the airfield.
Step 1b: plane has left the airfield and C_0=30 => AI behaviour is switched off and C_0 is set to 4 (indicating the next patrol zone)
Step 2a / 2b: Same but plane is sent to zone 4. When it leaves the airfield C_0 is set to 5.
Step 3a / 3b: Same but plane is sent to zone 5. When it leaves the airfield C_0 is set to 3. So the plane will begin with the same patrol flights again.
You can stop the plane from departing for the next zone at any time by moving the officer out of zone 2.
Mission 002: Avia track, no cells, just a timer
At Mission start the avia track (flight route) is set. For each waypoint a marker is needed. The route point at marker 1 is not necessary. I added it to demonstrate how the flight route can be used to avoid certain areas. Strike points are the points where the plane will carry out its mission (here: spying over a certain zone).
By sending the officer to the sandy area the recon plane is sent from outside the map along the defined flight route. The officer is then moved out of the sandy area. He will not be needed anymore. Timer 0 is started.
When timer 0 elapses the next recon plane is sent along the same flight path.
As I wrote earlier I was not able to get avia track to work with a plane that is already standing on an airfield on the map.
- Dateianhänge
-
- map.002.zip
- (63.45 KiB) 151-mal heruntergeladen
Free Ukraine from russian aggression!
- zarathustra
- Stabsunteroffizier
- Beiträge: 295
- Registriert: 06.01.2015, 22:00
- Wohnort: Moskau, Russland
- Kontaktdaten:
Re: Planes
Sicherlich! Dies geschieht durch Verhalten.
In Wirklichkeit gibt es ziemlich viele Möglichkeiten.
In unserem Mod können Sie sich die Mission „Banzai“ ansehen, bei der die feindliche Luftfahrt eine der wichtigsten Komponenten der Verteidigung ist und sehr aktiv arbeitet.
In Wirklichkeit gibt es ziemlich viele Möglichkeiten.
In unserem Mod können Sie sich die Mission „Banzai“ ansehen, bei der die feindliche Luftfahrt eine der wichtigsten Komponenten der Verteidigung ist und sehr aktiv arbeitet.