Jump to content

Recommended Posts

Posted

As an event, someone can tell me what the interest or means to use « onmoveto »?

Posted

I assume it's an event triggered after a move command, but I've never managed to get that to do anything - @JimTM's guide indicates it's not implemented 

Posted

Thank you so much. 

When something is asked, you come from nowhere to give the answer. That’s amazing 

Posted

I've got a "shoot pile" of virtual sticky notes in my "WIP" manual that come in handy for stuff like this.  :)

  • Thanks 1
RedBravo65
Posted

JimTM is like the resident "Gandalf the White" of the IL-2 Great Battles community.  

  • Haha 1
  • Upvote 1
IckyATLAS
Posted (edited)

Excellent Information from this French Tutorial.

OnMoveTo will make a plane MoveTo a Waypoint if a certain MCU is Tiggered.

In the parameters of the OnMoveTo you have to set the ID of the MCU to be triggered and the ID of the Waypoint to which you have to go.

But it could also be something different from a Waypoint. Maybe an object like a vehicle, ship, airfield who knows. If this works it opens some interesting perspectives. 

To be tested for sure.

 

Edited by IckyATLAS
Posted

I’ll do

  • 1 year later...
Posted (edited)
On 5/4/2020 at 5:12 AM, IckyATLAS said:

Excellent Information from this French Tutorial.

OnMoveTo will make a plane MoveTo a Waypoint if a certain MCU is Tiggered.

In the parameters of the OnMoveTo you have to set the ID of the MCU to be triggered and the ID of the Waypoint to which you have to go.

But it could also be something different from a Waypoint. Maybe an object like a vehicle, ship, airfield who knows. If this works it opens some interesting perspectives. 

To be tested for sure.

 

 

I was taking a close look at the French description of how to use the OnMoveTo message (no separate event and report messages) in Rise of Flight to see if I could figure out how to use the OnMovedTo event in IL-2 (if it's even possible).

 

I noticed that on pg. 4 of the document, he adds the OnMoveTo message to the "regleur artillerie" plane at the top. The message is set up like an IL-2 report and it accepts a pulse from the proximity trigger on the right and then pulses the waypoint "replis regleur" on the left. However, on pg. 5, he then pulses the same waypoint directly from the proximity trigger. This seems redundant and either there is some functionality going on that I'm not aware of or the author was not aware of the redundancy.

 

Note that the IL-2 OnMovedTo is an event, not a report, so it cannot be set up like the RoF French tutorial. Has anyone figured out yet how the IL-2 event works or whether it is functional?

 

FYI, here is a Google translate of the tutorial that I mentioned above:

 

Tuto07.pdf

 

Pg 1

We place the enemy plane in flight departure with its waypoints set at 650 m altitude. As you can see, I connect WPT 3 to WPT 1 so the plane performs a loop in its flight plan. For the regulars of IL2, it changes.

As usual, we place the begin and end translators.

Place a plane for the player set to "player", "Start in the Air".

 

Pg. 2

In case of trouble, the artillery adjustment planes could fall back to a predefined position in advance where the flak was pre-positioned to protect them.

We therefore place a waypoint which will indicate a fallback position. I set the altitude to 130 m so when the plane is engaged, it will dive in its lines above its DCA.

I place 2 DCA on a fallback position through 2 AAA daimler trucks

 

Pg 3

A proximity trigger is placed between the Spad and the aviatik which is set at 200 m. So as soon as the Spad is less than 200 m from the aviatik the trigger will go off.

(Remember to initialize the trigger at the start of the mission using the mission begin translator)

 

Pg. 4

1. We must now tell the plane that if the proximity trigger is triggered, the plane must flee towards the wpt named "retreat trimmer".

To do this, display the advanced properties window of the aircraft and click on the "Add message" button.

2. We are going to add an "OnMoveTo" command. This command is used to tell the plane to move towards a WPT, once a specific trigger has been validated.

In our case it is the proximity trigger (ID21) which will control the movement of the aircraft towards the folded WPT (ID 20).

 

Pg. 5

We end up putting the link that will activate the fallback WPT. We therefore link the proximity trigger with the folded WPT via the "Add Target" command.

Edited by JimTM
Posted

I have not tested it yet. But it can be also an event triggered when a given waypoint is reached or maybe an object. Still a mystery yet.

Posted
1 hour ago, IckyATLAS said:

I have not tested it yet. But it can be also an event triggered when a given waypoint is reached or maybe an object. Still a mystery yet.

 

I did a test (attached) similar to the tutorial setup. The proximity trigger pulses the waypoint when the two planes are close. The northern plane has the OnMovedTo event linked to a subtitle indicating when the event fires and the waypoint is target linked to a subtitle for when the waypoint fires (plane has reached it). The waypoint subtitle fires but not the OnMovedTo event subtitle.

 

JimTM - Test OnMovedTo Event.zip

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...