Kholsaet Posted December 2, 2011 Posted December 2, 2011 Hi everyone. I have another question about the mission editor that I was hoping someone might be able to help me out with. I've been working on some instructional/interactive missions to help some of my mates get up and running with these sims, and I was wondering if anyone had managed to get the X: Start Listen Command action to work in BS 2. The attached jpeg is from one of the A10c training missions in which this type of command was used successfully to force the SIM to wait for a user [spacebar] input before proceeding with the mission dialogue. Works great for A10c, but doesn't seem to translate to BS2. My guess is that the command for [spacebar] input is different in BS2 than it is in A10c (i.e. spacebar does not = 554). So, my question is does anyone know in which Lua file to find keyboard command assignments for BS2? I've spent some time looking and have been unsuccessful up to this point. Any insight would be greatly appreciated. Thanks again.
Kholsaet Posted December 2, 2011 Author Posted December 2, 2011 Funny how that works - post a link and fifteen minutes later you find the answer.... Ok, I think I've figured this one out for anyone who's interested. The Lua file in question here is locted at: X:\Install Directory\Scripts\Aircrafts\Ka-50\Cockpit\command_defs Unless I've changed it, and I'll be honest I don't remember if I have or not, my [spacebar] is mapped to Gun fire which through trial and error I discovered correlates with PlaneFire (command 84). Setting the command to 84 in the ME allows me to hold the mission by setting a flag until the user returns with a spacebar input that sets the flag to true. Cheers!
Recommended Posts