Jump to content

Recommended Posts

Posted (edited)

I am trying to get a subtitle and audio file to play when the player gets to within the specified distance from an enemy aircraft. I have two different types of bomber formations running off of a Random switch, so only 1 of the 2 formations will be active. The bombers are placed far enough apart that I want the audio/subtitle to play within a certain distance to each individual bomber. I have the proximity trigger at the specified distance and coalition, which is activated from the two ends of the Random Switch. The Proximity trigger is then object linked to each individual bomber, and target linked to a audio/subtitle daisy chain. However, in the mission I never get it to play? Screenshots:

 

Edit* - File below

 

 

 

 

 

Edited by NightFighter
Jaegermeister
Posted

Maybe you want to post your mission for some help. I personally can't read any of your logic with the white text on the map screen.

Posted (edited)

Couple of minor mistakes are causing you to have issues. In no particular order:

 

Your delay timer was set to 6 minutes 30 seconds... Way to long in my opinion. Proximity will pulse once the planes are close enough, so might as well decide which set of planes, through the randomizer, will have the proximity trigger logic at mission begin. I changed it to 30 seconds.

image.thumb.png.99e3ecc6fe2a355802f1eeb33230c420.png

 

Both sets of bombers start enabled. If you want only one set of bombers to spawn in, you'll need to uncheck the 'enabled' checkbox on every bomber, and then setup an activate MCU to pulse after the out of your randomizer (like you're doing with the waypoints and proximity triggers). This activate MCU will be object linked to your bombers, and therefore only one set will be activated (and enabled) in your mission at mission begin. If you don't do this, you will just have unused ai planes circling in the air where they spawned, since they never get a pulse to their waypoint.

image.thumb.png.dd429b0818bcba5db3568ea197ec8981.png

 

Here's how I'd do it. I'd also add a 1second delay and then pulse the waypoint. This way the bombers spawn in -> 1 sec delay -> set bomber's 1st waypoint

image.thumb.png.772fc236d089521399997bc37416a6d9.png

 

Both your subtitle texts were empty for me, and of course, I don't have your audio files to test... So, I filled in some random text and at least the subtitles are working (once I filled them in with something).

image.thumb.png.f32572494ee77d4a60340d0ef21ff2f9.png

 

In the South, there was no coalition set for the proximity trigger, so it'll never pulse.

image.thumb.png.06e2c5b953e0426ba370b5079c2ef45b.png

 

The subtitle and audio messages (once you get it resolved) will repeat over and over as the player gets within proximity of each bomber. Is this what you intended? To me, it'll be extremely annoying hearing, "Bombers over head! Bombers over head! Bombers over head! Bombers over head! Bombers over head! Bombers over head!" OKAY I GET IT! haha. You should add a delay after the first message plays. This way, even if the player is within the proximity of the next bomber, we don't have to hear the audio cue so quickly. Or you can link the bombers into a formation, and as long as the player is within the proximity of the formation (of say 6-7 planes), the message will only fire once. In your instance, each bomber is its own formation, causing you to hear the message over and over as each formation (even though it is only one bomber per formation) gets in proximity of the player.

image.thumb.png.b7bb3b7578e306dfbb205e49bacae0f9.png

 


I think some of your bombers were set to 'on Parking'. Go through your bombers and verify they're all set to 'in Air'.

image.thumb.png.c80b5dc9d0f180d60e9bef616eae61c5.png

 

 

Alright good luck, and if you have questions let me know.

Edited by Sketch
Clarity
  • Thanks 1
  • Upvote 3
Posted
12 minutes ago, Sketch said:

...

In the South, there was no coalition set for the proximity trigger, so it'll never pulse.

...

 

With the object links to the bombers, the coalitions are ignored (at least when I tested once upon a time).

NightFighter
Posted (edited)

Another greatly detailed response, thank you Sketch. The long timer was my novice self trying to bypass "Spawning in" of the bombers from a proximity trigger that  the player would activate from a certain point. I would just wait to activate the waypoint so the player could get up in the air and to altitude fast enough. 

Edited by NightFighter
  • 3 weeks later...
Posted (edited)
On 1/1/2021 at 3:38 AM, JimTM said:

 

With the object links to the bombers, the coalitions are ignored (at least when I tested once upon a time).

 

If that was Once upon a Time in the West and Tuco was in it too, he would ignore any party, coalition or not ...

 

tuco.jpg

Edited by jollyjack
  • Haha 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...