@Cbarlow158 the base jet doesn't have the spinning animation for the engines (unlike Buckingham Shamal), therefor the script doesn't recognize the engine being on. A quick fix for that is set/insert <engineBone value="4" /> on Buckingham Jet parameters on models.xml (quite in the end of the file), or issue the command plane.enginebone=4
Being 4 the number of "virtual" engines.
Virtual engines do not recognize when they are damaged, as the bone (usually misc_a, misc_b and such) is what determines if such engine is spinning or not. Most add-ons have those bones, but the opposite is true for game's base planes.
Let me know if it worked.
last week was looking for liveries for a320, thanks for those brazilian liveries. Only issue I found was the mapping on engines, mainly at right engine, very little on left one. But that's on me as the version of a320 I'm using is different.
Nevertheless, great job;)
@hitler123 Only with this mod it happens?
This mod changes external files (the .xml files in the subfolders) and execute an external call for the audio (mciSendString). Perhaps the external call for the audio is labeled/detected as invasive/malicious behaviour.
If the virus warning comes when you enter the aircraft (when the script effectively starts working) then try using the script without the sound. For that, change the following property in config.xml (inside Data folder):
config -> allower -> <sounds value="false" />
If the virus warning pop up when downloading, then maybe is your computer rejecting *.dll files (mine did that as standard)
@Justatanil091 unfortunately no, and there's no prevision in sight to make it compatible for now. It would demand some time to understand FiveM environment and make required changes (possibly involves rewritting entire code, not sure). I'd also need a server on my own for all the tests, which could be quite demanding for my machine.
Time is one of the things I'm missing at the moment, but IF and WHEN I decide to go for FiveM, I have some new ideas and features to apply that would make much more dynamic.
@norleah26 put FlightAssistant.dll, FlightAssitant.xml and Data folder inside "scripts" folder located on your game root folder. If you don't have scripts folder, create one.
@TheFlyingSc0t This gave me an idea for a next update: create fields on aircraft's profile to set company names to each livery, so it will change company as soon as livery changes, all the player will have to do is setup the association like:
<livery value="1" company="BritishAirways"/>
such setup will be once in a lifetime for each model (unless the players install/removes livery for that model)
Thank you, your doubt gave me an idea of what to do :D
@TheFlyingSc0t for a temporary company name you can use the command "company", the name can NOT have spaces, for example: company BritishAirways
Notice that once you reset or reload the script, the company name will always go back to model's default company.
If you use the aircraft always with the same company livery, and want it to load always with a specific company name, you can set a new default name for that model through "plane.company = company_name" command, for example: plane.company = BritishAirways
Once you use that command the script will associate on models.xml that company to the current model. If the aircraft is using "Default" profile (press ctrl+n to check it) you won't be able to change it as standard through command, for that use the command "plane.create(spawn_code)" command to create a profile to that aircraft, after that you will be able to set a new default comapny for the aircraft.
General Instructions:
For temporary use (changes back after reload/reset):
1. Use "company company_name" command.
2. Press ctrl+n to check if it changed to what you intended.
To set as new deault when loading the aircraft:
1. Press ctrl+n to see if model is using "Default" model.
1.1. if model is using "Default" profile create a new one using "plane.create(spawn_name)" command.
2. Use "plane.company = company_name" command.
3. Press Ctrl+N to check if it changed to what you intended.
@Cbarlow158 the base jet doesn't have the spinning animation for the engines (unlike Buckingham Shamal), therefor the script doesn't recognize the engine being on. A quick fix for that is set/insert <engineBone value="4" /> on Buckingham Jet parameters on models.xml (quite in the end of the file), or issue the command plane.enginebone=4
Being 4 the number of "virtual" engines.
Virtual engines do not recognize when they are damaged, as the bone (usually misc_a, misc_b and such) is what determines if such engine is spinning or not. Most add-ons have those bones, but the opposite is true for game's base planes.
Let me know if it worked.
@CIA BRASIL thank you! working perfectly great job!
@CIA BRASIL Indeed, from https://pt.gta5-mods.com/vehicles/airbus-a320-family-iae-engines-package-add-on-package-i-liveries from @Heinrich_Hans_16th
Although is up to you spend an extra effort of adapting the liveries for that model. Won't deny I'd be thrilled playing with them :D
last week was looking for liveries for a320, thanks for those brazilian liveries. Only issue I found was the mapping on engines, mainly at right engine, very little on left one. But that's on me as the version of a320 I'm using is different.
Nevertheless, great job;)
@hitler123 Only with this mod it happens?
This mod changes external files (the .xml files in the subfolders) and execute an external call for the audio (mciSendString). Perhaps the external call for the audio is labeled/detected as invasive/malicious behaviour.
If the virus warning comes when you enter the aircraft (when the script effectively starts working) then try using the script without the sound. For that, change the following property in config.xml (inside Data folder):
config -> allower -> <sounds value="false" />
If the virus warning pop up when downloading, then maybe is your computer rejecting *.dll files (mine did that as standard)
P.S: Sorry for late reply, been busy lately.
@Justatanil091 unfortunately no, and there's no prevision in sight to make it compatible for now. It would demand some time to understand FiveM environment and make required changes (possibly involves rewritting entire code, not sure). I'd also need a server on my own for all the tests, which could be quite demanding for my machine.
Time is one of the things I'm missing at the moment, but IF and WHEN I decide to go for FiveM, I have some new ideas and features to apply that would make much more dynamic.
@norleah26 put FlightAssistant.dll, FlightAssitant.xml and Data folder inside "scripts" folder located on your game root folder. If you don't have scripts folder, create one.
@TheFlyingSc0t glad you are enjoying, you can always drop your questions in here if you have any.
@TheFlyingSc0t This gave me an idea for a next update: create fields on aircraft's profile to set company names to each livery, so it will change company as soon as livery changes, all the player will have to do is setup the association like:
<livery value="1" company="BritishAirways"/>
such setup will be once in a lifetime for each model (unless the players install/removes livery for that model)
Thank you, your doubt gave me an idea of what to do :D
@TheFlyingSc0t for a temporary company name you can use the command "company", the name can NOT have spaces, for example: company BritishAirways
Notice that once you reset or reload the script, the company name will always go back to model's default company.
If you use the aircraft always with the same company livery, and want it to load always with a specific company name, you can set a new default name for that model through "plane.company = company_name" command, for example: plane.company = BritishAirways
Once you use that command the script will associate on models.xml that company to the current model. If the aircraft is using "Default" profile (press ctrl+n to check it) you won't be able to change it as standard through command, for that use the command "plane.create(spawn_code)" command to create a profile to that aircraft, after that you will be able to set a new default comapny for the aircraft.
General Instructions:
For temporary use (changes back after reload/reset):
1. Use "company company_name" command.
2. Press ctrl+n to check if it changed to what you intended.
To set as new deault when loading the aircraft:
1. Press ctrl+n to see if model is using "Default" model.
1.1. if model is using "Default" profile create a new one using "plane.create(spawn_name)" command.
2. Use "plane.company = company_name" command.
3. Press Ctrl+N to check if it changed to what you intended.
If you are still having trouble, let me know.