Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover

IL-2 Sturmovik: Cliffs of Dover Latest instalment in the acclaimed IL-2 Sturmovik series from award-winning developer Maddox Games.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-22-2011, 11:43 AM
O_TaipaN O_TaipaN is offline
Approved Member
 
Join Date: Mar 2011
Posts: 79
Default Adjust field of view - without mouse?

I'm trying to assign a smooth adjusting of FOV, like ROF and DCS have, to my Warthog throttle.

I see the option to hold mouse button 5, which DOES adjust FOV when you move the mouse forward or backward.

BUT, I can't figure out how to get that working on keys without the mouse.

Has anyone found a solution or is there a button for increase/decrease FOV?
Reply With Quote
  #2  
Old 10-22-2011, 05:51 PM
SFF_Karhu SFF_Karhu is offline
Approved Member
 
Join Date: Mar 2010
Location: Finland
Posts: 25
Default

Hi.

I use Joy2Key program for Fov changes. I have set 2 buttons on my joystick, one for zoom out and one for zoom in.Choose a key/keys on you throttle or joystick. Select camera settings in Clod and set a key for hold to adjust field of view. Repeat that and then choose mouse emulation on Joy2Key and set those 2 keys here too. Now you can manage how much and fast you want to zoom just pressing keys on you throttle or joystick!

Last edited by SFF_Karhu; 10-23-2011 at 01:25 AM.
Reply With Quote
  #3  
Old 10-22-2011, 05:54 PM
No1 Cheese's Avatar
No1 Cheese No1 Cheese is offline
Approved Member
 
Join Date: Mar 2010
Posts: 292
Default

Thank you so much for asking this

Cheese
Reply With Quote
  #4  
Old 10-23-2011, 02:50 AM
O_TaipaN O_TaipaN is offline
Approved Member
 
Join Date: Mar 2011
Posts: 79
Default

Thanks

That will work.

I think probably for zoom in.

But zoom out the mouse goes WAY too far doesn't it. Freaky.

So I will use the FOV90 button for zoom out instead.

Please add the FOV keys to the game.. I wonder how multi monitor players deal with this.
Reply With Quote
  #5  
Old 10-23-2011, 10:54 AM
SFF_Karhu SFF_Karhu is offline
Approved Member
 
Join Date: Mar 2010
Location: Finland
Posts: 25
Default

Hi.

Quote:
But zoom out the mouse goes WAY too far doesn't it. Freaky.
Yes it does. But you can manage the amount of zoom in Joy2Key. And you will get use to that freaky zoom. Its a quick way to handle the zoom.

The old IL-2 Sturmovik I use San´s Fov Changer, because I used 3 monitors system eyefinity. I havent found nothing like that for Clod yet. This is the closest I have found and much better than the 3 step zoom, because I want to zoom out and in without steps.

Last edited by SFF_Karhu; 10-23-2011 at 10:57 AM.
Reply With Quote
  #6  
Old 10-23-2011, 12:12 PM
Kwiatek's Avatar
Kwiatek Kwiatek is offline
Approved Member
 
Join Date: Jan 2008
Posts: 367
Default

I think FOV change should be smooth like in other games ( ROF etc).

They should make 2 function - ZOOM IN and ZOOM OUT ( FOV IN / OUT )
Reply With Quote
  #7  
Old 10-23-2011, 12:39 PM
No1 Cheese's Avatar
No1 Cheese No1 Cheese is offline
Approved Member
 
Join Date: Mar 2010
Posts: 292
Default

i wish it was that simple

Cheese
Reply With Quote
  #8  
Old 10-23-2011, 06:22 PM
koko koko is offline
Registered Member
 
Join Date: Jan 2010
Posts: 4
Post

Hi O_TaipaN,

here is my solution for zooming.

Because it is using the MouseAxisTrim function, it will work only in Target Script Editor.

It uses CSU/D hat for zooming IN and OUT. Zoomspeed is adjustable. SC-button is "quickback" Hotkey for FoV90.

It also switches TrackIR Precision mode ON when zooming. SC-button will disable it.

If you would like to test it, you need to adjust "Hold to Adjust Field of
View" = d in your game (Controls/Camera) and if you use TIR Precision hotkey, it has to be F9

Download Zoom.zip.

Extract anywhere you want

Open TARGET Script Editor, choose Menu/Open/...Zoom.tmc and click Open and Run.

Open the game and test. Make sure that "Hold to Adjust Field of View" = d and/or TIR Precision Hotkey = F9

You can also COPY/PASTE the red lines to your .tmc file.

Default location in Win7 C:\Users\USERNAME\AppData\Roaming\Thrustmaster\TAR GET\Scripts

Open TARGET Script Editor, choose Menu/Open.../TARGET/Scripts/xxx.tmc and click Open. Paste the lines somewhere between

if(Init(&EventHandle)) return 1; and

}
int EventHandle(int type, alias o, int x)

Then click Run and open the game.

Make sure that CSU, CSD and SC are empty in your tmc profile before COPY/PASTE.


Code:
include "target.tmh"

 int main()
 {
 if(Init(&EventHandle)) return 1;

 // COPY FROM HERE -----------------------------------------------------

 // When the hat is pulled down...

	 MapKey(&Throttle, CSD, CHAIN(
	 D(),
	 DOWN+'d', // Activate "Hold to Adjust FoV" (D)
	 D(),
	 DOWN+USB[0x42], // Activate TIR Precision mode (F9)
	 REXEC(0, 30, "TrimDXAxis(MOUSE_Y_AXIS, 1);" // Zoomspeed = 30
 )));

 // When the hat is released...

 MapKeyR(&Throttle, CSD, UP+'d'); // Deactivate "Hold to Adjust FoV"

 // When the hat is pushed up...

	 MapKey(&Throttle, CSU, CHAIN(
	 D(),
	 DOWN+'d', // Activate "Hold to Adjust FoV" (D)
	 REXEC(0, 30, "TrimDXAxis(MOUSE_Y_AXIS, -1);" // Zoomspeed = 30
 )));

 // When the hat is released...

 MapKeyR(&Throttle, CSU, UP+'d'); // Deactivate "Hold to Adjust FoV"

 // When the SC-button is pressed down...

 MapKey(&Throttle, SC, CHAIN(
	 UP+USB[0x42], // Deactivate TIR Precision mode (F9)
	 D(),
	 PULSE+USB[0x4E] // Quickback to FoV90
 ));

 //When the SC-button is released

 MapKeyR(&Throttle, SC, EXEC("TrimDXAxis(MOUSE_Y_AXIS, SET(0));")); // Reset the Mouse Y-axis back to middle

 // TO HERE ---------------------------------------------------------------

 }
 int EventHandle(int type, alias o, int x)
 {
 DefaultMapping(&o, x);
 }
<S>koko
Attached Files
File Type: zip Zoom.zip (595 Bytes, 9 views)

Last edited by koko; 10-23-2011 at 06:31 PM.
Reply With Quote
  #9  
Old 10-23-2011, 06:44 PM
Dano Dano is offline
Approved Member
 
Join Date: Oct 2007
Location: Petersfield UK
Posts: 1,107
Default

We really should not need anything other than a simple in game function for this, it's sad that people have to resort to third party programs to allow something so simple.
__________________
i5 2500k - Asus P8P67Pro - Crucial M4 64GB - 8GB DDR3 - Geforce Ti 560 1GB - Xonar DG - W7 X64 SP1
Reply With Quote
  #10  
Old 10-23-2011, 07:02 PM
O_TaipaN O_TaipaN is offline
Approved Member
 
Join Date: Mar 2011
Posts: 79
Default

Quote:
Originally Posted by koko View Post
Hi O_TaipaN,

here is my solution for zooming.

Because it is using the MouseAxisTrim function, it will work only in Target Script Editor.....

<S>koko
Thanks koko!

I didn't think about if target can alter mouse input, I should have looked more since I'm already using that trim function to create a blackshark style trim button for CloD.

I can just slot this into my script for the mic switch up/down. I'm using Mic up/down to zoom in and out, then Mic left/right for FOV30 and FOV70. Best of both worlds

I'll try this script tomorrow, then I can delete JoyToKey from my startup list.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:25 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.