FCF is created by the target GUI and the tmc script is the base code for assigning key functions to the joystick. The tmc can be created by the script editor or any other code editor like Notepad ++ or Sublime. The GUI will generate what is in essence a TMC along with some other files. The TMC is closer to programing bare metal. Both the GUI and script editor can generate profiles but the tmc files are typically smaller. Either approach is a perfectly valid means of creating a profile, use what you find most effective.
The syntax of the target script is as follows: lets look at an example from morphine’s script.
MapKey(&Throttle, BSF, PULSE+‘m’)
First we’re calling the map key function, (MapKey) then were mapping a key on our throttle (&Throttle), in this case when we hit boat switch forward (BSF) we are going to hit the m key once (Pulse+‘m’)
This syntax is the basis for all the functions in the script. Though we may have different functions ie MapAxis to change the proprieties of an physical joystick axis. More detail is provided in the target script manual, a link for which I will provide below. A good way to learn Target script and the BMS keyfile, is to edit the keys assigned to various buttons in the target script and then edit the key file to keep the function the same. I.E change the boat switch from M to say Z. Then edit the BMS key file so that Z is missile mode. You’ll want to spend some time with BMS key file manual, located in BMS docs folder, to learn that syntax.
You don’t necessarily have to learn target script to create a profile for BMS, as using the GUI is a perfectly acceptable means to do so. Though it is a good idea to learn the BMS key file, though a editor for that is included in you’re install, it’s a spreadsheet file that will generate a key file.
Link to target manual:
http://ts.thrustmaster.com/download/accessories/pc/hotas/software/TARGET/TARGET_Script_Editor_Basics_v1.5_ENG.pdf