Target Scipt Editor Error need Help please.
-
Quote Originally Posted by Chief1942 View Post
“Downloaded all the attachments you have provided. When I run Target Script Editor it says “Complile error: Type required in FalconBMS-Warthog.tmc at line 1”
I followed your instructions to the 'T” placing the files where you indicated and the setup in the “Controllers” portion of setup in the game. Not sure what that error message is telling me to do. I believe I got it to run when I first set it up, but when following the directions to “Run the Target Script Editor " each time you start the sim, it now gives me that error message. I’ve opened both the DX file and the .tmc file and cannot figure out what the problem is. Any help would be appreciated. Should be obvious I’m not really TARGET savvy at this point.”Can someone please Help me figure this out. I’m trying to run Morphine’s Profile and I get the above error every time. what do I need to do to fix this. Thanks
-
Hey Sleeper,
Could you paste the first lines of the script here. I would think that an error on line 1 might be just a character that got accidentally added or deleted.
Br,
Mud
-
@Mud:
Hey Sleeper,
Could you paste the first lines of the script here. I would think that an error on line 1 might be just a character that got accidentally added or deleted.
Br,
Mud
Hello Mud thanks for responding. Here is line 1-10 of the script. I’ve tried several other profiles, I load the ".tmc file into script editor and place the new .key file into my config folder and load it via Falcon UI and this is what comes up every time. Do the profiles need a .tmh file to be linked or something? None of the profiles I’ve found come with a .tmh file. Anyhow thanks for any and all your help.
include “target.tmh” //here we link this file to the file that contains function code
int main()
{//***** USE Warthog_DX.key in Falcon BMS for this Script to work properly ****//
Configure(&LMFD, MODE_EXCLUDED);
Configure(&RMFD, MODE_EXCLUDED);
Configure(&HCougar, MODE_EXCLUDED);
Configure(&T16000, MODE_EXCLUDED);if(Init(&EventHandle)) return 1; // declare the event handler, return on error
//script and function functions go here -
Can you find the file target.tmh in C:\Program Files (x86)\Thrustmaster\TARGET\scripts ?
-
Hey Mud
Thanks for your help. The problem was in the “file path” under the Tools/options/file paths Tab. I had it pointing to the wrong path. It should of been pointing to the :
C:\Program Files (x86)\Thrustmaster\TARGET\scripts.thm That’s where that .thm file is. Wow something so simple right? Thanks again for your response and all.
A fellow Viper pilot from UO “DarkFib3r” walked me through it -
Glad you got it sorted!