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 > Technical threads > Controls threads

Controls threads Everything about controls in CoD

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 04-22-2011, 12:20 PM
MadBlaster MadBlaster is offline
Approved Member
 
Join Date: Oct 2010
Posts: 666
Default

Here you go. copy/paste below into glovepie and save. instruction included below:

*The One Button Brake, MadBlaster style
if var.brake=0 then //initialize variable
var.brake=-1
var.count=0
endif
if helddown(key.b,.05 second) and var.count<10 and var.timedelay=0 then //to increase brake, press the b button on the keyboard
var.brake=var.brake+.22
wait .1 second
midi.BassDrum1=true //this sound, brake power increased
var.count++
endif
if helddown(key.b,1 second) then //to release the brake hold the b key down 2 seconds
var.brake=-1
var.count=0
midi.LowAgogo=true //this sound, brake is off
var.timedelay=1
endif
if var.brake>1 then
var.brake=1
endif
if var.timedelay=1 then
wait 1 second
var.timedelay=0
endif

ppjoy1.Analog0=var.brake //output of virutal axis to the game. Use of lable, "PPjoy1" assumes no other virtual joysticks have been created.
//and Analog0 uses the x axis of the virtual stick.


//Installation Notes:

//you need ppjoy and glovepie installed on your pc. its freeware.

//[HotKey pilotMove] <<<where you map the virtual axis in confUser.ini in the 1CSoftClub folder under My Documents on your desktop.
//the line you will copy paste should look like this >>> Joystick1+AXE_X=1brakes, BUT,
//the number after "Joystick" may need to be changed because it depends on how Windows has
//labeled your virtual joystick. Go to Windows game controllers under control panel. Look at the list
//of game controllers. Find the virtual joystick (e.g., ppjoy1), starting at zero from the top of the list and count down
//the list until you reach the virtual joystick. Use that number. For example, all you have is one real joystick
//and one PPJOY virtual stick. PPjoy is at the bottom of the list, so use the number "1" (i.e., 0,1)

//Joystick1+AXE_X=1brakes

//okay, after you copy/paste that line above under [HotKey pilotMove] section, save the confUser.int.
//now run this script and start the game. go to controls section. find the wheel brake axis. start pressing
//the "b" button on the keyboard. does the blue bar show up and start moving? if so, your good to go.

//to see how it works, remove the forward slashes in front of the debug line below. run this script in glovepie
//and look at the box next to the "stop" button. Make sure to put the forward slashes back or delete the debug line entirely and save.

//debug=var.brake
Reply With Quote
 


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 09:04 PM.


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