|
7th March 2011, 08:24 AM | #1 |
Senior Member
Professional user
Join Date: May 2004
Location: Vienna / Austria
Posts: 207
|
Re: X-Plane refs? ?
You can use any dataref provided you can trigger it on demand from the sim.
If Planemaker exits there's probably something wrong with your exported object file. Contact me privately if you want me to have a look at it. cheers Peter |
7th March 2011, 08:46 AM | #2 | |
Junior Member
Member
Join Date: Jan 2011
Location: memphis tn usa
Posts: 12
|
Re: X-Plane refs? ?
Quote:
I have attached the periscope to this response, and have lengthy explanation coming to you on private email. I was in Vienna in 2008, so pretty. We did not allow enough time to see more. It looks like attachments for files is not available in private mode. |
|
9th March 2011, 02:41 PM | #3 |
Senior Member
Professional user
Join Date: May 2004
Location: Vienna / Austria
Posts: 207
|
Re: X-Plane refs? ?
Here's your periscope controlled via the dataref 'sim/flightmodel2/controls/incidence_ratio'.
Both .ac & .obj file are included together with a dummy texture and placeholder .acf file. Simply put the folder into your x-plane aircraft folder and open Planemaker to view it. I have added a incidence handle on the panel in Planemaker btw. Let me know if you have any questions. cheers Peter |
9th March 2011, 04:04 PM | #4 |
Junior Member
Member
Join Date: Jan 2011
Location: memphis tn usa
Posts: 12
|
Re: X-Plane refs? ?
It works great, smooth up.........
Then the handle goes down and it goes down. I see what you did and I will try to fix. I did finally get my version to work with arresting gear switch, but it pops up quickly, not very real, but it does stay up until switch is used again. Thank you very much. I now have a good model as an example, to experiment with. |
10th March 2011, 08:35 AM | #5 |
Senior Member
Professional user
Join Date: May 2004
Location: Vienna / Austria
Posts: 207
|
Re: X-Plane refs? ?
The key is to use a dataref that outputs a floating point value and to specify the appropriate range in AC3D as well. In the example, 'incidence_ratio' outputs a FLOAT between 0.0000 and 1.0000. You would use BOOLEAN datarefs for items which just require a on/off state like a simple switch. BOOL outputs either 0(off) or 1(on). Some datarefs will not output a ratio but actual values like for example 'tire_prop_rot' which you would use for rotating an aircraft wheel properly.
You can find all these in the file 'DataRefs.txt' within your X-Plane/Resources/plugins folder. Don't forget to always copy that file to AC3D's plugins folder after updating X-Plane btw. peter |
10th March 2011, 06:50 PM | #6 |
Junior Member
Member
Join Date: Jan 2011
Location: memphis tn usa
Posts: 12
|
Re: X-Plane refs? ?
Thanks for the help.
It gets a little complicated some times. I realize that one cannot see the periscope and snorkel deploy and retract in a smooth fashion. You are either looking at the instrument panel, or it has gone up or down before you get to see it. I have taken the easy way out and will use two de-ice switches that I have not used. Thanks again for the hand holding and the help, it is greatly appreciated. Billy Bargagliotti Your friend in Memphis Tennessee. |
11th March 2011, 06:27 AM | #7 |
Senior Member
Professional user
Join Date: May 2004
Location: Vienna / Austria
Posts: 207
|
Re: X-Plane refs? ?
Have a look at 'Standard->Systems->Sliders' in Planemaker.
You can trigger movement from joystick buttons which would allow you to view the extension from outside. peter |
|
|