CAPTAIN SIM FORUM
Weapon for FSX >> Weapon for FSX >> FSX Military Missions with Weapon for FSX
https://www.captainsim.org/forum/csf.pl?num=1383453372

Message started by Markoz on Nov 3rd, 2013 at 4:36am

Title: Re: FSX Military Missions with Weapon for FSX
Post by Dutch on Aug 17th, 2014 at 5:51pm
Thanks for the kind words Xpel, glad you enjoyed it.  I don't see any performance hit at all, and I don't have a high end system.

I wanted to add sound whenever the aircraft was "hit" but I couldn't figure out how.  

I use FSXME, and I have 7 "Random Choice" actions attached to a proximity trigger that goes off whenever you fly low over the battlefield.  Each Random has a low probability trigger (2 to 4 percent) and is attached to a particular failure like engine failure, fire, fuel leak, etc.  It's possible for more than one to fire but most likely on each pass none will.

How do I make a sound when one of these Random Choice actions fires?  The documentation says that if you attach more than one event to the Random Choice action it randomly chooses between them, it doesn't perform both of them.

I suppose I could insert some other trigger as a result of the Random Choice that would always fire, and attach two actions to that, one the failure and the other the sound.

Probably, that's the solution; bit of pain, do you have something easier?

I'll be glad to switch airplanes, could you share your CSWeapon.xml for the default P-51, or point me to a thread that has it?

Dutch


CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.