IckyATLAS Posted January 27, 2021 Posted January 27, 2021 Is there an event or a way that allows to detect if the engine is ON or OFF? Thanks
JG7_X-Man Posted January 27, 2021 Posted January 27, 2021 (edited) Not to point out the obvious but If it's not here - the answer is no. What are you trying to do? There maybe a workaround. Edited January 27, 2021 by JG7_X-Man
IckyATLAS Posted January 28, 2021 Author Posted January 28, 2021 Here is the challenge. I have service areas on my kuban airfields. I can detect when the plane arrives into such an erea. I would also like to detect the fact that the pilot has switched off his engine so that work can be done on the plane. So that if he does not do it, I will not allow repair, refuel and rearm to take place.
JG4_Deciman Posted January 28, 2021 Posted January 28, 2021 RRR should only work when engine is off, so no need fur a further check... Deci
IckyATLAS Posted January 28, 2021 Author Posted January 28, 2021 (edited) 2 hours ago, JG4_Deciman said: RRR should only work when engine is off, so no need fur a further check... Deci Thanks for the info but I knew it already. My service center is much more complex, it is dynamic and animated. When you arrive in the vicinity of it, you enter in radio connection with the service center. And the service center can be closed, busy, open etc. You can be asked to wait, come later, or it is closed, or you can be also immediately serviced. In this conversation the service team asks you to switch off the engine and do the repairs. The repair, refuel, and rearm possibility "should be triggered" by the engine off. This will give the start to the "RRR" period until the service team gives you the authorization to switch on the engine and go. If your airframe has damage this will be repaired as soon as the maintenance is active, bur refuel and rearm will depend on the pilot. The problem is the time delay between the request to the pilot of switching the engine off and wishing the pilot good bye. Once the engine is off we can define a timeframe for RRR that will be correct. If we do not have that signal, then if the pilot for whatever reason does not switch off the engine or takes sometime to do it, he will after a fixed period of time get the finished and go signal when he is not finished yet. And we cannot remind the pilot to switch off the engine. It just limits the realism of the interaction between pilot and service team. Edited January 28, 2021 by IckyATLAS
Gambit21 Posted January 29, 2021 Posted January 29, 2021 Icky, try Complex Trigger, Event, “On Finished and Alive” X Man - note events there not present in your list. 1
IckyATLAS Posted January 29, 2021 Author Posted January 29, 2021 6 hours ago, Gambit21 said: Icky, try Complex Trigger, Event, “On Finished and Alive” X Man - note events there not present in your list. Thanks I will try. I am not good yet with these Complex Triggers ?
Gambit21 Posted January 29, 2021 Posted January 29, 2021 8 hours ago, IckyATLAS said: Thanks I will try. I am not good yet with these Complex Triggers ? It might not work, as I think it detects despawn - but worth a shot. I use it in a certain mission and it fires when the AI aircraft shuts down and disappears.
IckyATLAS Posted January 30, 2021 Author Posted January 30, 2021 You are right Gambit, unfortunately it does not work indeed. But was worth testing. I tried two versions: The OnStationaryAndAlive does trigger when the plane has stopped but the engine can still be on. The OnFinishedStationaryAndAlive does not trigger at all, engine running or stopped. The main question here is : what does FINISHED stand for. What is the Finished condition to fulfill to trigger the complex trigger. Maybe the testers know, the devs for sure but they do not have time for this I suppose.
JG4_Deciman Posted January 30, 2021 Posted January 30, 2021 IIRC finished will trigger when mission was finished by pilot (spawned out dead or alive) Deci 1
JG7_X-Man Posted January 31, 2021 Posted January 31, 2021 I am lost, doesn't the RRR zone tell you when you enter it automatically? If all you want if something to trigger after the RRR, wouldn't an "Enter Zone, trigger A or Exit Zone, trigger B" work? Since this won't work with AI, humans get the idea. It would be cool to have a prepackaged RRR logic with automation but that is a lot to ask from a $60.00 USD game, even the almighty MS FS left that to 3rd parties (FSDT's GSX).
IckyATLAS Posted February 11, 2021 Author Posted February 11, 2021 On 1/31/2021 at 11:57 PM, JG7_X-Man said: I am lost, doesn't the RRR zone tell you when you enter it automatically? If all you want if something to trigger after the RRR, wouldn't an "Enter Zone, trigger A or Exit Zone, trigger B" work? Since this won't work with AI, humans get the idea. It would be cool to have a prepackaged RRR logic with automation but that is a lot to ask from a $60.00 USD game, even the almighty MS FS left that to 3rd parties (FSDT's GSX). Yes sure the Check Zone will detect you that you have entered the place and start a radio dialog. But repairing, rearm and refuel a moving plane is no easy and dangerous task. So those operations must be active only when you have stopped the plane and switched off the engine. I now have basically a very well working Maintenance and Service area on my airfields. If the service area is operational and the service team is free to service your plane, then once the ammo truck and fuel truck have arrived you will be able to start the RRR process but only if you have stopped the plane and switched off the engine . The system will detect that you have stopped. It cannot detect that you have switched off the engine. So as soon as you have stopped it will allow you to start the RRR operations. You will be able to start them only if the engine is off, so you will need to switch the engine off. What the system does not know is how long you will take between stopping the plane and switching the engine off to start the RRR process. So I have to set an acceptable timeframe for these operations. If you test the system and do not switch off the engine, and just wait you will get after a certain time a radio message telling you that servicing is finished and done and it will deactivate the RRR possibility which means that you have now to leave without being able to be serviced. But after all in real life it is also so. You have a time to do things and if you wait too long, it is gone you passed your chance.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now