Created an autopilot and it doesn't respond

Hello:
I have a question about autopilots. I am creating one and I thought I would test it on a plane that didn’t have one (Cessna 152 for example). However, I can’t get the 152 to pay any attention to mine! So, I looked into the systems.cfg file and I found a section labeled [AUTOPILOT]. Under this section was an entry “autopilot_available = 0”! It seems that this entry could mean two things, either: 1) the plane does not have an autopilot or 2) the plane, as Asobo has created it, will not permit the addition of an autopilot.
Where I am in testing is as follows: I have implemented the following switches: Flight Director, AutoThrottle Arm, and Speed. I know the Speed Switch works because, on the 747, sitting on the runway, I clicked on the Speed switch and it throttled up to togo power. But on the 152, nothing.
My question is: Does the entry in the systems.cfg prevent the AP from working on the 152 or is there some, to me at least, obscure power up sequence on the 152 that I’m not following properly?
I am hoping there is someone on the forum with experience with APs and can recognize my problem and know the answer.
Thanks in advance to all.

Sparky

Hi there,
There is a category for developers called SDK. I moved your topic there.

If you can’t find your answer here, you may wish to try at https://devsupport.flightsimulator.com/.

Actually, you could try to change it, and even add a Flight Director. See this snippet:

Then invoke it by binding AP Master Toggle to a key or a hardware control. I believe Z might be default to turn AP on.

Beyond that I couldn’t tell you the coding. This is just a well known cfg change going back several FS versions.