Jump to content

Is it possible for Ships to fire flares


Recommended Posts

GSHWK_Houndstone_Hawk
Posted

Title pretty much sums it up. I wanted ships to fire flares so did the usual logic using the following: Mission Begin -> 2s Timer -> trigger checkzone -> 2s timer -> Command Flare (then object link the flare to a ship). No show with the flare!

Is it a case of needing to somehow attach a 'fake vehicle to the ship maybe?).

 

Thanks for any help.

AEthelraedUnraed
Posted

I successfully fired flares from a ship, with pretty much exactly the logic you describe. In my case it's a Schnellboot, not sure if the ship type matters?

Posted

I've done it with all the ship types with exactly the same logic as you described. Is the Checkzone MCU correctly set to closer and the correct faction? 

 

Maybe post the mission and screenshots?

GSHWK_Houndstone_Hawk
Posted

Hi Sketch. Here's what I've got so far. (I sent the Single Player version so that the time acceleration can be utilised).

I wanted the illusion of the odd ship sending up a friendly identification flare.

It's on trhe Normandy map, using Daks & the group files can be found by 1st opening the 'Neptune_Flight' group (in the middle of the channel), then the groups are split ... Invasion_Group & Invasion_Group2.

Thank you.

(I've also disabled the media files so hope the mission won't ask for them).

 

HH

D-Day Para Drop.rar

Posted (edited)

Okay, I did a little bit of investigating... Here's my findings:

 

 

 

Firstly, you do not have the Plane Coalition setup correctly in the Checkzone MCU. I asked about it previously, but maybe it was missed; so I've highlighted it below. For other mission designers out there, you have to double check this stuff!  It's basically the semi-colon of the mission editor and I miss stuff like this too.

23 hours ago, Sketch said:

I've done it with all the ship types with exactly the same logic as you described. Is the Checkzone MCU correctly set to closer and the correct faction? 

 

Maybe post the mission and screenshots?

 

 

If you change the faction to true, then the Checkzone will fire correctly.

image.thumb.png.98b4da65d962c1647d761b997e9e4669.png

 

image.thumb.png.aa8472afb8706d3140acf795e5b7c3da.png

Don't forget to set the faction you want to trigger the Checkzone as true!

 

 

Next, only the leader will fire a flare, not the children ships. So, you'll have to work out how you want to handle that. Honestly, I do not really build ships as children. Each ship has its own waypoints and commands.

image.thumb.png.a63b0e24e0c5b60bd575a062c61cb97f.png

Not all commands are equal... Command: Flare being one of them, and will only work on the leader. The children do not shoot a flare too.

 

image.thumb.png.3f1ea1a2252e0c75715bb0c27f126a87.png

Because the ships are linked, only the leader is firing a flare.

 

 

image.thumb.png.3104915b9b011b8069407d7a9a4560d1.png

In this image, only the red marked checkzone will work and force the ship to fire a flare. That's because it's linked to the leader. The blue marked checkzones will not work because these ships are children of the parent and do not really have a 'brain'. They only follow the commands of their parent ship.

 

image.thumb.png.1c036fbd8facc9f91085e79ee9a06e21.png

Here we can see the ships all firing flares once I've delinked them from their parent. (I set all ships to fire repeatedly once I crossed the Checkzone MCU in my enemy plane, to take a screenshot, but your mission will only fire once.)

Edited by Sketch
GSHWK_Houndstone_Hawk
Posted (edited)

Sorry Sketch, I should've explained that I prefer NOT to use the factions with CZ's  as there is too much in the mission that could trigger the event (mosquitos flying there & back etc)... so I 'always' object link the trigger Checkzone to the unit I wish to trigger the event, which has always worked for me.

Thank you for your findings though ... I'm guessing I'll have to create a whole plethora of waypoints for the different ships. A lot of work for a single flare but hell ... wouldn't be an IL-2 mission without blood, sweat & tears.

 

Thanks Sketch. I always value your time given, findings shared & help greatly.

 

Edited by GSHWK_Houndstone_Hawk
  • Like 1
Posted

Ah I see the object links from the Checkzone to your planes. Yes, that will work too. My fault! 

 

For ships, I normally make one ship completely with all the logic I want, then duplicate it over and over again for as many ships as I need.

  • Thanks 1
AEthelraedUnraed
Posted (edited)
5 hours ago, Sketch said:

Firstly, you do not have the Plane Coalition setup correctly in the Checkzone MCU. I asked about it previously, but maybe it was missed; so I've highlighted it below. For other mission designers out there, you have to double check this stuff!  It's basically the semi-colon of the mission editor and I miss stuff like this too.

You don't need the Plane Coalition if you've object-linked it to an object. It'll trigger when the linked object enters the CheckZone regardless of its coalition. In fact, it changes its behaviour if you do set the Plane Coalition as that'll make it trigger on *any* plane of that coalition rather than only the plane you want.

 

You're right about ships though, they all need their separate waypoint otherwise they often won't work as expected.

 

EDIT: I see you already noticed your mistake and corrected it yourself :P

Edited by AEthelraedUnraed
  • Like 2
Posted (edited)

It's better that everyone comes in and corrects any misinformation. Thanks guys! 

Edited by Sketch
  • Upvote 1

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...