All-Aircraft-Simulations
Many control fixes/solutions and immersion additions - Printable Version

+- All-Aircraft-Simulations (https://allaircraftsimulations.com)
+-- Forum: IL2 MODS Download & Discussion (https://allaircraftsimulations.com/forumdisplay.php?fid=267)
+--- Forum: IL-2 4.09m (https://allaircraftsimulations.com/forumdisplay.php?fid=348)
+---- Forum: IL2 MODS Discussion Section 4.09m (https://allaircraftsimulations.com/forumdisplay.php?fid=292)
+---- Thread: Many control fixes/solutions and immersion additions (/showthread.php?tid=66850)



Many control fixes/solutions and immersion additions - mikkowl - 01.12.2009

Summary: solved multiple limiting issues regarding control limitations in IL2 as well as added more realism to cockpit interface and I'm wondering if anyone else could have use of them.

Background:

Problems:
Solutions:

And that's it. Many different issues dealt with requiring different solutions. If anyone is interested I'll try to point you in the right direction and I can share some files I have made, but I will not take it upon myself to guide you through everything and make it work for you. Most solutions require custom 'fitting' for your computer, since people's devices and keys all have different Id's and all that, but you should be able to work it out. Then again, I don't know if anyone else even have these problems, or already solved them all ages ago.. I do hope it can be useful.

Apologies if this was posted in the wrong forum. Saw other similar topics here before. Smile


- Alemart_el_Redentor - 01.12.2009

WOW this is some very good information!, thank you very much for testing out all this variables ^_^


- mikkowl - 02.12.2009

This AutoHotKey application is awesome! I'm having so much fun adding/correcting stuff.

I added another feature: The ability to put your machineguns and cannons as armed or safe (individually) with a flip switch each, and having a single fire button fire those that are armed only. As a gun freak, I find it appealing.

I plan to add another next: Forcing the game to stay in cockpit view when initiating the bailing out (CTRL-E). It should be possible to see the caonopy come off while in the cockpit. It is also possible to have a sound file played at that exact moment to enhance realism. A loud clonk of some kind from pulling the emergency release for canopy and then having it sucked away. And then some nervous desperate breathing and 'sound of leathery flight jacket flexing', quick release for seatbelts making some kind of sound, or what?

UPDATE: Tried the 'stay in cockpit' thing and it did work. The view flashes for a fraction of a second and is reset straight forward, and while you can turn your head and see a canopy soon flying off, the 'original' canopy doesn't seem to disappear. A pity, but I prefer it (esp with some kind of sound FX) over the default exterior only.

UPDATE 2: It worked to use the 'open canopy' ability simultaneously, so that when bailing out of aircraft that has canopies that open, the canopy immediately swings backwards (with the nice change of sound FX from engine and wind that brings).


- Alemart_el_Redentor - 02.12.2009

Is it freeware?


- mikkowl - 02.12.2009

It sure is. I only found it and started playing with it yesterday, but I have heard it mentioned together with other sim-classic programs like "PPJoy" and "glovepie" before.

http://www.autohotkey.com/


- slipper - 04.12.2009

mikkowl,

if its not to much trouble, could you post a set of your auto hotkey scripts so that i can study them to see how to set up sound effects etc, i am really interested in your bale out mod, it sounds great. This sounds like a really good way to add to the immersion levels.

Thanks in advance

regards

slipper


Bailout mod using AutoHotKey - mikkowl - 04.12.2009

Sure thing Mr Slipper. I uploaded a little zip file with everything already prepared, so it will be easiest to just get that. It includes the sound file.

http://hem.bredband.net/mikko.artist/il2/il2bailoutmod.zip

I inserted a detailed explanation to make it as understandable as possible. No point in you spending a whole night like I did trying to puzzle things together from the AHK help files Wink

While I haven't made a proper sound file, I took a very stressful urgent "oh shit!" sound byte from Robotech (the 1985 anime series) edited to be a few seconds long to be played, and it sure enhances the "oh shit have to bail out right now OMG" feeling. It is in the zip file also.

The things you need to make this work is:
1. AutoHotKey installed
2. Make sure the binds in the script match those in IL2 (easily done by adjusting either).
3. It does not matter where you run the script file from, but you have to have the sound file in the place you specify in the script, or else the sound won't play. I put it to C:\il2bailoutmod.

Quote:;----------------------------------------------------------
; STAYING IN COCKPIT + PLAYING SOUND WHEN BAILING OUT
;----------------------------------------------------------

2joy16::
SoundPlay, C:\il2bailoutmod\bailout.wav
send o
send ^E
send {F1}
return

; EXPLANATION BELOW
;
;"2joy" = second joystick device | "16" = joystick button 16 | "::" = if the button(s) before this mark is pressed, then execute whatever lines we put after. This line is the trigger for the whole event. Any key can be used, even a simple keyboard key (go ahead and try any simple key you want). I have it on a joystick button since I don't use the keyboard when flying.
;"SoundPlay, " = the command to play a sound file | "C:\il2bailoutmod\bailout.wav" is the path to the sound file to play.
;"send o" = press and release "o" on keyboard. I bound this to toggle canopy in IL2, just to see how it works.
;"send ^E" = press and release CTRL E on keyboard. The "^" mark means CTRL. If CTRL E is bound to bail out in IL2, this will initiate the bail out.
;"send {F1} = press and release F1 on keyboard. All keys that have their own name must be written inside the { } marks, otherwise it will type "F1" text instead. This is bound to 'cockpit view' by default in IL2, and this makes the view instantly return to cockpit view after the CTRL E bailout command puts us in third person view.
;"return" = This must be put in to make the command usable more than once, at least I think so.



- slipper - 06.12.2009

mikkowl,

Many thanks for uploading your file, and for the explanation of how it works. Busy with work at the moment, but will have a look soon and let you know how i get on.

p.s do you know anywhere you can get good sound samples for various effects?

Thanks again for your help.

regards

slipper Big Grin


Re: Bailout mod using AutoHotKey - FlyingShark - 22.05.2010

[quote="mikkowl"]Sure thing Mr Slipper. I uploaded a little zip file with everything already prepared, so it will be easiest to just get that. It includes the sound file.

http://hem.bredband.net/mikko.artist/il2/il2bailoutmod.zip
[quote]
Link is dead.

~S~