Jump to content

Recommended Posts

Posted (edited)

Hello,

 

I am working on a TARGET script for Bf-109 Κ.

 

There is no documentation atm , only the comments you can see on editor.

 

My set up is:

 

Warthog + Cougar (Ι use only Z Axis for Rudder) + Simpeds (No brakes) + Track IR 5

 

The keys are the DCS default (except Machine Guns changed from SPACE to ENTER)

 

Some examples:

 

Machine Guns - Cannon:

 

Only MG or only Cannon when TG1 pressed (depends on IO switch) and both when TG2 pressed

 

// TG1 and TG2

 

MapKeyIO(&Joystick, TG1,

R_ALT+SPC , ENT ); // S3 ΙΝ (Pressed) only Cannon - S3 Out only MG

 

MapKey(&Joystick, TG2,

CHAIN(ENT, R_ALT+SPC)); //Both

 

 

Pump Primer ( One press and pumps 5 times automatically)

So, you set primer by pressing 3-4 times the key and you sit back watching Warthog do it automatically!

 

 

primer = CHAIN(

DOWN++INS,D(1000),

UP+INS,D(1000),

DOWN++INS,D(1000),

UP+INS,D(1000),

DOWN++INS,D(1000),

UP+INS,D(1000),

DOWN++INS,D(1000),

UP+INS,D(1000),

DOWN++INS,D(1000),

UP+INS,D(1000));

 

MapKey(&Throttle, APENG,

REXEC(0, 1000,

"ActKey(KEYON+primer);"));

 

 

Start Engine (China Hat)

Back: ask Ground Crew to Run inertial Starter, Front: one sec click forward open cover and when holding more more than 1 sec will start engine.

 

 

MapKeyUMD(&Throttle,

CHF,PULSE+ '0',

PULSE+'0',

TEMPO (HOME, L_WIN+HOME));

 

//Run inertial Starter (Ground Crew)

 

MapKey(&Throttle, CHB,

CHAIN(PULSE+'\\',

D(),PULSE+F8, D(),

PULSE+F4 ));

DCS Bf-109K.rar

Edited by Swaty
documentation
Posted

The following part doesn't work as I want to! Working great at Battle Of Stalingrad but now here....

 

 

KeyAxis(&HCougar, RUDDER, 0,AXMAP2(LIST(0,90,10,100),
L_CTL+'w',
PULSE+'0',
L_ALT+'w')); // Left and Right Wheel brake when pedals are at  last 20% left or right

 

Keeps brakes down and I perform a ground loop. On the other hand if I use "CHAIN", I don't have brakes at all!

I am working on it.

Posted

Probable because in BoS the "British/Russian" brake system:

 

Press a lever in control column to brake both wheels and move the rudder bar for left/right to brake the wheel on this same side more and the other less work too for Luftwaffe planes and P-40.

 

Or, is not need exclusively "toe brakes" to brake individual wheel in that planes (although can be used if available), a desirable feature for a game target for casual pilots with "3in1" joystick with twist rudder - then without "toe brakes" - and not fancy (and expensive) rudder pedals. :joystick:

Posted

In old foxy I had a function that when Shift was out (/O) simpeds were only rudder controls and when was in in (/I) were brakes AND rudder.

 

For those with no separate braking system I just use a key or another axis.

 

But in TARGET there is no "KeyAxisIO" function!!

 

I have to try to build a new function!

Posted

I can do similar thing with DCS Controls options: modifier and switches, and VKB T-Rudder uniaxial pedal.

 

In the case using ScrlLk key as "switches".

 

With ScrLk on, the rudder movement will send "ScrLk+Joy#_Bt1 or Bt3 (set in pedal firmware, and set in DCS as left/right brakes), then I have rudder and brake for taxi maneuvers, with ScrLk off only rudder.

Posted

I was trying the same as you did and finally I make it!

 

Having brakes at the last 20% of the motion left and right was not a problem during taxiing.

 

The problem was during take off where there was a delay.

The brakes were still active for a sec or two even if you release the break and this situation usually drives the plane to a ground loop or the wing hitting the ground.

 

The new line of code enables brakes only when SHIFT is pressed.

KeyAxis(&HCougar, RUDDER, 'i',AXMAP2(3,L_CTL+'w',PULSE+'0',L_ALT+'w'));

 

'i' means SHIFT pressed.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...