Jump to content

VampireOne

Members
  • Posts

    149
  • Joined

  • Last visited

Everything posted by VampireOne

  1. |Debug shows nothing and here is the export.lua.... - Copyright © 2006-2014, Eagle Dynamics. -- See http://www.lua.org for Lua script system info -- We recommend to use the LuaSocket addon (http://www.tecgraf.puc-rio.br/luasocket) -- to use standard network protocols in Lua scripts. -- LuaSocket 2.0 files (*.dll and *.lua) are supplied in the Scripts/LuaSocket folder -- and in the installation folder of the DCS. -- Expand the functionality of following functions for your external application needs. -- Look into Saved Games\DCS\Logs\dcs.log for this script errors, please. -- VAICOM PRO server-side script -- Export.lua (append) -- version 2.5.0 build 14 -- do not edit next line: -- B6F32E1C-BF4E-4708-98D9-2AC1C4783068 local vaicomlfs = require('lfs'); dofile(vaicomlfs.writedir()..[[scripts\VAICOMPRO\VAICOMPRO.export.lua]]) local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua') dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]]) local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[scripts\DCS-SimpleRadioStandalone.lua]]) -- VAICOM PRO server-side script -- Export.lua (append) -- version 2.5.3 -- do not edit next line: -- @blanked out by me for this post in forum....... local vaicomlfs = require('lfs'); dofile(vaicomlfs.writedir()..[[scripts\VAICOMPRO\VAICOMPRO.export.lua]]) local Tacviewlfs=require('lfs');dofile(Tacviewlfs.writedir()..'Scripts/TacviewGameExport.lua')
  2. SSA only shows generic profiles, and they do not work when using DCS.
  3. Do you mean this: 14:03:29.032 SimShaker for Aviators Version 1.3.0.0 14:03:29.038 ********** DCS World Public Release version folder found in Saved Games ********** 14:03:29.045 DCS export feature setup: SimShaker.lua added to C:\Users\hauke\Saved Games\DCS\Scripts 14:03:29.049 DCS export feature setup: ExportCore.lua added to C:\Users\hauke\Saved Games\DCS\Scripts\SimShaker-export-core 14:03:29.054 DCS export feature setup: ExportDevice.lua added to C:\Users\hauke\Saved Games\DCS\Scripts\SimShaker-export-core 14:03:29.058 DCS export feature setup: KeyValueStore.lua added to C:\Users\hauke\Saved Games\DCS\Scripts\SimShaker-export-core 14:03:29.064 DCS export feature setup: Network.lua added to C:\Users\hauke\Saved Games\DCS\Scripts\SimShaker-export-core 14:03:29.071 DCS export feature setup: Protocol.lua added to C:\Users\hauke\Saved Games\DCS\Scripts\SimShaker-export-core 14:03:29.074 local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua') call found in C:\Users\hauke\Saved Games\DCS\Scripts\Export.lua 14:03:29.074 dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]]) call found in C:\Users\hauke\Saved Games\DCS\Scripts\Export.lua 14:03:29.074 ********** DCS World Open Beta version folder found in Saved Games ********** 14:03:29.075 DCS.openbeta export feature setup: SimShaker.lua added to C:\Users\hauke\Saved Games\DCS.openbeta\Scripts 14:03:29.077 DCS.openbeta export feature setup: ExportCore.lua added to C:\Users\hauke\Saved Games\DCS.openbeta\Scripts\SimShaker-export-core 14:03:29.078 DCS.openbeta export feature setup: ExportDevice.lua added to C:\Users\hauke\Saved Games\DCS.openbeta\Scripts\SimShaker-export-core 14:03:29.079 DCS.openbeta export feature setup: KeyValueStore.lua added to C:\Users\hauke\Saved Games\DCS.openbeta\Scripts\SimShaker-export-core 14:03:29.080 DCS.openbeta export feature setup: Network.lua added to C:\Users\hauke\Saved Games\DCS.openbeta\Scripts\SimShaker-export-core 14:03:29.080 DCS.openbeta export feature setup: Protocol.lua added to C:\Users\hauke\Saved Games\DCS.openbeta\Scripts\SimShaker-export-core 14:03:29.081 local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua') call found in C:\Users\hauke\Saved Games\DCS.openbeta\Scripts\Export.lua 14:03:29.081 dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]]) call found in C:\Users\hauke\Saved Games\DCS.openbeta\Scripts\Export.lua In the effect settings page of SSA I have only generic models showing, and the jet seat is not working. When simming in P3D the seat works. Hope this helps.
  4. How come I have lost my profiles in DCS. In P3D the sim shaker works but not in DCS....
  5. I have lost all my aircraft profile settings in DCS and the generic resets to default helicopers. The seat does not work in game but tests fine...
  6. does anyone have a completed profile for the F5E?
  7. Well. I have it but Can I use it with the Aggressor campaign to fence in, call knock it off etc?? Sent from my iPhone using Tapatalk
  8. I want to map the F10 comms to Vaicom. But where do I find a complete listing of the Comms menu for this campaign? (apart from flying ... )
  9. Yes looks really cool. But as with Any other New Technology a bit ways to Go before being truly usable for “our” purposes. For me it would have to be wireless for one. Sent from my iPhone using Tapatalk
  10. Basics first: aviate, navigate, communicate. If you always have your aircraft trimmed up properly you can let go of the controls to do what is necessary and then grab them again. Sent from my iPhone using Tapatalk
  11. HAH. this proves the value of these fora. Thanks. I had stared myself blind on that one. Sent from my iPad using Tapatalk
  12. Okay.. I am just trying to get to grips with the TARGET script, and am happliy chugging along, when all of a sudden I get this message, even though I have not even touched the target.tmh: Running script: C:\Users\username\Saved Games\TARGET Profiles\F5_E_Rev_1.tmc *** Allocated ProcInstances found from the previous run: use FreeProcInstance() *** Mapped plugin module "C:\Program Files (x86)\Thrustmaster\TARGET\Plugins\sys.dll" Compile Succeeded. Physical USB HID devices managed by script! Currently plugged USB HID devices[2]: 1: "Joystick - HOTAS Warthog" - "USB\VID_044F&PID_0402&REV_0100" 2: "Throttle - HOTAS Warthog" - "USB\VID_044F&PID_0404&REV_0100" USB HID device "Throttle - HOTAS Warthog"(USB\VID_044F&PID_0404\6&1C446172&0&3) selected USB HID device "Joystick - HOTAS Warthog"(USB\VID_044F&PID_0402\7&2DA72DBE&0&2) selected USB HID device with hardware id "VID_044F&PID_b351" cannot be found USB HID device with hardware id "VID_044F&PID_b352" cannot be found USB HID device with hardware id "VID_044F&PID_0400" cannot be found USB HID device with hardware id "VID_044F&PID_B10A" cannot be found USB HID device with hardware id "VID_044F&PID_B10B" cannot be found USB HID device with hardware id "VID_044F&PID_B687" cannot be found USB HID device with hardware id "VID_044F&PID_B679" cannot be found Virtual HID devices managed by script! Connecting virtual joystick...Done Device name set to Thrustmaster Combined Connecting virtual keyboard...Done Connecting virtual mouse (absolute axes)...Done Script stopped! Runtime Error: Index out of bounds for: joy2 in MapKeyIOUMD ( line 329 in target.tmh ) Now WTF??? Looking at the line in question is all chinese to me. I have just been doing Keymapping for the F5E, and experimenting with the shifted function. My profile looks like this: include "target.tmh" include "F5_E_Macros.ttm" int main() { if(Init(&EventHandle)) return 1; // declare the event handler, return on error // ALL AXIS MAPPING TO BE DONE WITHIN DCS //Axis mapping Thrustmaster Warthog Joystick MapAxis(&Joystick, JOYX, DX_X_AXIS,AXIS_NORMAL,MAP_ABSOLUTE); MapAxis(&Joystick, JOYY, DX_Y_AXIS,AXIS_NORMAL,MAP_ABSOLUTE); // Axis mapping Thrustmaster Warthog Throttle MapAxis(&Throttle, THR_LEFT, DX_ZROT_AXIS,AXIS_NORMAL,MAP_ABSOLUTE); MapAxis(&Throttle, THR_RIGHT, DX_Z_AXIS,AXIS_NORMAL,MAP_ABSOLUTE); //MapAxis(&Throttle, SCX, DX_XROT_AXIS,AXIS_NORMAL,MAP_ABSOLUTE); //MapAxis(&Throttle, SCY, DX_YROT_AXIS,AXIS_NORMAL,MAP_ABSOLUTE); //MapAxis(&Throttle, THR_FC, DX_SLIDER_AXIS,AXIS_NORMAL,MAP_ABSOLUTE); //Shift Key Map SetShiftButton(&Joystick,S4); //Turns the paddle switch into the shift button //Key Mapping Thrustmaster Warthog Joystick MapKey(&Joystick,TG1,PULSE+Cannon_First_Detent); // Fire the Cannon, First stage of the trigger MapKey(&Joystick,TG2,Fire_Cannon); // Second stage of the trigger MapKey(&Joystick,S2,Release_Weapon); //Release missiles or bombs MapKey(&Joystick,S1,PULSE+Kneeboard_PosMark); //Mark Position on Map on Kneeboard MapKey(&Joystick,S3,NWS); //Engage Nosewheel steering MapKey(&Joystick,S4,Aileron_Limiter); //Shift Function for other Switches. //Trim Button MapKey(&Joystick,H1U,Trim_Up); //TrimHat Nose Up MapKey(&Joystick,H1D,Trim_Down); //TrimHat Nose Down MapKey(&Joystick,H1L,Trim_Left); //TRimHat Nose Left MapKey(&Joystick,H1R,Trim_Right); //TrimHat Nose Right //COMPLETED //TMS 4 Way Switch MapKeyIO(&Joystick,H2U,Ret_inc,CRS_sel_inc); //TMS Up MapKeyIO(&Joystick,Ret_dec,H2D,CRS_sel_dec); //TMS Down MapKeyIO(&Joystick,SightMode_ccw,H2L,HDG_bug_inc); //TMS Left MapKeyIO(&Joystick,H2R,SightMode_cw,HDG_buc_dec); //TMS Right //DMS 4 Way Switch MapKeyIO(&Joystick,H3U,Radar_rng_inc,Kneeboard_toggle); // DMS Up MapKeyIO(&Joystick,H3D,Radar_rng_dec,Kneeboard_glance); // DMS Down MapKeyIO(&Joystick,H3L,Radar_sel_ccw,Kneeboard_nextPage); // DMS Left MapKeyIO(&Joystick,H3R,Radar_sel_cw,Kneeboard_prevPage); // DMS Right //CMS 4 Way Switch and push MapKeyIO(&Joystick,H4U,TAC_ch_10s_Inc,Dogfight_Resume_DM); //CMS Up MapKeyIO(&Joystick,H4D,TAC_ch_10s_Dec,Dogfight_Resume_DG); //CMS Down MapKeyIO(&Joystick,H4P,TAC_xy_sel,Dogfight_Resume_Search); //CMS Press MapKeyIO(&Joystick,H4L,TAC_ch_1s_Inc,Target_Lock); //CMS Left MapKeyIO(&Joystick,H4R,TAC_ch_1s_Dec,Target_Unlock); //CMS Right //COMPLETED //Key Mapping Thrustmaster Warthog Throttle Base MapKey(&Throttle,APUON, CHAIN(PULSE+PWR_ON, D(50), LED(&Throttle,LED_INTENSITY,129))); //SWITCHES ON MAIN POWER AND COCKPIT LIGHTS plus Background light on Throttle MapKey(&Throttle,APUOFF, CHAIN(PULSE+PWR_ON, LED(&Throttle,LED_INTENSITY,0))); // Switches off the power and background light on Throttle Base. //COMPLETED //ENGINE FUEL SWITCHES MapKey(&Throttle,EFLNORM,PULSE+NoseStrut_ext); //Extends Nose Strut MapKey(&Throttle,EFLOVER,PULSE+NoseStrut_ret); //Retracts Nose Strut MapKey(&Throttle,EFRNORM,PULSE+PitotHeat); MapKey(&Throttle,EFROVER,PULSE+PitotHeat); //COMPLETED //ENGINE START AND MOTOR SWITCHES MapKey(&Throttle,EOLIGN,Engine_L_START); //Starts Left Engine MapKey(&Throttle,EOLNORM); MapKey(&Throttle,EOLMOTOR); MapKey(&Throttle,EORIGN,Engine_R_START); //Starts Right Engine //COMPLETED MapKey(&Throttle,EORNORM); MapKey(&Throttle,EOLMOTOR); //LDG HORN MUTE BUTTON MapKey(&Throttle,LDGH,PULSE+Audible_Warn_Reset); //Resets Master Caution and Audible Warning //COMPLETED //FLAP HANDLE MapKey(&Throttle,FLAPU,CHAIN(PULSE+Flaps_Emer_UP,D(),Landing_Light_Toggle)); //Selects Flaps Up MapKey(&Throttle,FLAPM,PULSE+Flaps_ThumbSwitch); //Toggles Gear and Landing light MapKey(&Throttle,FLAPD,PULSE+Flaps_FULL); //Sets TakeOffFlaps and Landing Ligths //COMPLETED //EAC SWITCHES MapKey(&Throttle,EACON,PULSE+Canopy_CLS); //Closes Canopy MapKey(&Throttle,EACOFF,PULSE+Canopy_OPN); //Opens Canopy //COMPLETED //RDR ALTM MapKey(&Throttle,RDRNRM,PULSE+Beacon_ON); // MapKey(&Throttle,RDRDIS,PULSE+Beacon_OFF); // //COMPLETED // AP ENG BUTTON MapKey(&Throttle,APENG,TEMPO(PULSE+Jettison_Stores, //Short Push Jettisons External Tanks CHAIN(PULSE+Eject, //Long Push (1 sec) Eject! D(), PULSE+Eject, D(), PULSE+Eject), 1000)); //COMPLETED MapKey(&Throttle,APDIS); //AP MODE TOGGLE MapKey(&Throttle,APPAT,PULSE+Gear_Up); MapKey(&Throttle,APAH); MapKey(&Throttle,APALT,PULSE+Gear_Down); //COMPLETED //ENGINE TRHUST LEVERS CUTOFF MapKeyR(&Throttle,IDLELOFF,Engine_L_STOP); //Shutdown Left Engine MapKeyR(&Throttle,IDLEROFF,Engine_R_STOP); //Shutdown Right Engine //COMPLETED //Key Mapping Thrustmaster Warthog Throttle Throttles //COOLIE SWITCH, Switched function. TDC control and Radar Scan Zone in Switched Mode MapKey(&Throttle,CSU,TDC_up); MapKey(&Throttle,CSD,TDC_dn); MapKey(&Throttle,CSR,TDC_r); MapKey(&Throttle,CSL,TDC_l); //SLEW CONTROL MapKey(&Throttle,SC); //LEFT THROTTLE BUTTON MapKey(&Throttle,LTB); //PINKY SWITCH MapKey(&Throttle,PSF); MapKey(&Throttle,PSM); MapKey(&Throttle,PSB); //MIC SWITCH MapKey(&Throttle,MSP); MapKey(&Throttle,MSU); MapKey(&Throttle,MSR); MapKey(&Throttle,MSD); MapKey(&Throttle,MSL); //SPEEDBRAKE MapKey(&Throttle,SPDF,PULSE+Airbrake_OFF); MapKey(&Throttle,SPDM); MapKey(&Throttle,SPDB,PULSE+Airbrake_ON); //COMPLETED //BOAT SWITCH MapKey(&Throttle,BSF,CHAIN(PULSE+Flaps_S_UP, D(), PULSE+Landing_light_Toggle)); MapKey(&Throttle,BSM,PULSE+Flaps_S_Auto); MapKey(&Throttle,BSB,CHAIN(PULSE+Flaps_S_Fixed, D(), PULSE+Landing_Light_Toggle)); //CHINA HAT MapKey(&Throttle,CHF,PULSE+ChaffFlare); MapKey(&Throttle,CHM); MapKey(&Throttle,CHB,PULSE+ChaffFlare); //COMPLETED //add initialization code here } //event handler int EventHandle(int type, alias o, int x) { DefaultMapping(&o, x); //add event handling code here } And the macros file like this: // Keys are defined as USB and should be independent of keyboard type. // Definitions Weapons define Fire_Cannon USB[0X2C] // SPACE define Cannon_First_Detent USB[0X0C] // I define Release_Weapon R_ALT+USB[0X2C] // Definitions Flight Control define Trim_Up R_CTL+USB[0x33] define Trim_Down R_CTL+USB[0x37] define Trim_Left R_CTL+USB[0x36] define Trim_Right R_CTL+USB[0x38] define Aileron_Limiter USB[0X0F] // L //okay // Definitions Systems define Airbrake_ON L_SHIFT+USB[0X05] //B+LEFT SHIFT define Airbrake_OFF L_CTL+USB[0X05] //B+LEFT CONTROL define Flaps_FULL L_CTL+USB[0X07] //LEFT CTL + D define Flaps_Emer_UP L_SHIFT+USB[0X07] //d+LEFT SHIFT define Flaps_ThumbSwitch USB[0X07] // d define Flaps_S_Fixed L_CTL+USB[0X09] define Flaps_S_UP L_SHIFT+USB[0X09] define Flaps_S_Auto USB[0X09] define Gear_Down L_SHIFT+USB[0X0A] //G+LEFT SHIFT define Gear_Up L_CTL+USB[0X0A] //G+LEFT CONTROL define NavLights_ON R_CTL+USB[0X0F] //L+RIGHT CONTROL define NavLights_OFF R_CTL+USB[0X0F] // TOGGLE AS ABOVE define Landing_Light_Toggle L_CTL+L_SHIFT+USB[0X1D] //L_CTL+L_SHIFT Z TOGGLES Landing Light. define NWS USB[0X16] // S define NoseStrut_ext L_ALT+USB[0X14] define NoseStrut_ret R_ALT+USB[0X14] define Canopy_OPN L_CTL+USB[0X06] //C+LEFT CONTROL define Canopy_CLS L_CTL+USB[0X06] //TOGGLE ABOVE define DragChute_handle_pull_push USB[0X13] //P define Engine_L_START L_CTL+L_SHIFT+USB[0X06] // L CTRL L SHIFT C define Engine_R_START L_CTL+L_SHIFT+USB[0X19] //L CTRL L SHIFT V define Engine_L_STOP R_ALT+USB[0X4D] //RAlt END define Engine_R_STOP R_SHIFT+USB[0X4D] //END RIGHT Shift define Engine_L_IDLE R_ALT+USB[0X4A] //RAlt Home define Engine_R_IDLE R_SHIFT+USB[0X4A] //RShift Home define Eject L_CTL+USB[0X08] //L CTRL AND E X3 define Batt_ON R_CTL+R_SHIFT+USB[0X05] // RIGHT CTL + RIGHT SHIFT B (SHOULD ALSO POWER OFF AND ON THE BACKLIGHT ON THE THROTTLE BASE) define Beacon_OFF R_CTL+R_ALT+USB[0X13] // RIGHT CTL + RIGHT ALT P define Beacon_ON L_CTL+L_ALT+USB[0X13] // RIGHT CTL + RIGHT ALT P define Nose_Strut L_ALT+L_CTL+USB[0X14] //L ALT + L CTL Q define PitotHeat R_CTL+R_SHIFT+USB[0X09] define Seat_adjust_UP L_SHIFT+USB[0X19] //L SHIFT W define Seat_adjust_DN USB[0X19] // W define Jettison_Stores L_CTL+L_SHIFT+USB[0X07] // L CTRL LSHIFT D define Audible_Warn_Reset R_ALT+USB[0X38] //RIGHT ALT / //Definitions Weapons Modes define SightMode_sel_cw R_ALT+USB[0X1F] define SightMode_sel_ccw R_ALT+USB[0X1E] define Ret_dec R_CTL+USB[0X2F] define Ret_inc R_CTL+USB[0X30] //Definitions Sensors define Radar_rng_inc USB[0X2E] //= define Radar_rng_dec USB[0X2D] //- define Radar_mode_sel_cw USB[0X27] // 0 define Radar_mode_sel_ccw USB[0X26] // 9 define TDC_up USB[0X33] define TDC_dn USB[0X37] define TDC_l USB[0X36] define TDC_r USB[0X38] define Target_ACQ USB[0X28] // ENTER define Target_Unlock USB[0X2A] // BACK define Radar_Sel_CW USB[0X26] // 9 define Radar_Sel_CCW USB[0X27] // 0 define Dogfight_Resume_DG USB[0X23] // 6, Gun mode define Dogfight_Resume_DM USB[0X22] // 5, Missile define Dogfight_Resume_SEARCH USB[0X15] // 5, Radar to resume Search //Definitions Countermeasures define ChaffFlare USB[0X14]// Q //Define Navigation, TACAN define TAC_ch_10s_Inc L_SHIFT+USB[0X26] // L SHIFT 9 define TAC_ch_10s_Dec L_CTL+USB[0X26] // L CTRL 9 define TAC_ch_1s_Inc L_SHIFT+USB[0X25] // L SHFITF 8 define TAC_ch_1s_Dec L_CTL++USB[0X25] // L CTL 8 define TAC_xy_sel L_SHIFT+USB[0X1C] // L SHIFT Y define CRS_sel_inc L_ALT+L_SHIFT+USB[0X21] // L ALT L SHIFT 4 define CRS_sel_dec L_ALT+L_SHIFT+USB[0X20] //L ALT L SHIFT 3 define HDG_bug_inc L_ALT+L_SHIFT+USB[0X1F] //L ALT L SHIFT 2 define HDG_bug_dec L_ALT+L_SHIFT+USB[0X1E] //L ALT L SHIFT 1 //Define Kneeboard Settings define Kneeboard_toggle R_SHIFT+USB[0X0E] define Kneeboard_nextPage USB[0X30] define Kneeboard_prevPage USB[0X2F] define Kneeboard_glance USB[0X0E] define Kneeboard_PosMark R_CTL+USB[0X0E] Now, where did I botch up the target.tmh????
  13. Fisherman82 and Nickentik.... thank you ... that did the trick.. of course... DOOHH..Thanks a lot.. lots of hours of frustration Gone with the wind...
  14. Well. I found out that when the target script is running. VA will not recognize the mic hat on the TMW ... strange ... back to the books again. Sent from my iPhone using Tapatalk
  15. So... i have made a TARGET script for DCS.. now VA or Vaicom will not recognise my transmit button input. As soon as I run the script. Nada.. even when not configuring the POV hat on the right throttle on the TMW... any suggestions?
  16. Okay.. I am in the same boat.. will look at joining. But I am having problems with multiplayer in DCS at the moment. In 2.2 I only have the normandy map available for servers......strange
  17. I have the same problem In DCS 2.2 only the Normandy map is available in multiplayer...
  18. Well, what the heck... preordered today......:music_whistling:
  19. Question: Does VA work with scripts written in MOOSE, as in new commands to outside AI entities?
  20. Looking at the same. Have just bought the speedmaster flight seat and was wondering if it could be mounted on that platform.
  21. I have a complete profile Sent from my iPhone using Tapatalk
  22. Just to be a stickler....... no aviator would say "ready for take-off". In fact, the term take-off is reserved for a clearance by ATC. "HAWG 11, Wind is xxx/xx, Runway YY, you are cleared for take-off. This was changed some years ago due to mis-understandings and subsequent incidents. The correct ICAO (and military) phrase would be (ZZ TWR, HAWG 11, Ready for Departure). @Hollywood.. thx for the help. It worked.
  23. Do the pedals fit in a Speedmaster Flight rig?
  24. Oi Blaze... any feedback on your setup? How is the center stick location working for you? Still too far forward?
×
×
  • Create New...