Hi, struggling to get the landing gear to retract. I've scoured threads on this forum but am still having trouble. Hoping someone might be able to help!
The animation is set up as follows:
0-100 = fully retracted to fully extended.
101 - 200 = fully uncompressed to fully compressed, nose wheel rotates 360 degrees.
In flight_model.cfg the gear is defined as type 1 (hydraulic).
When on the ground, the nose wheel is clearly compressing (and the wheel is rotated as it is in Blender - not due to steering).
When airborne, pressing G has no impact on the gear. I suspect it is the way I have my electrical system set up as I have swapped out flap animations with the gear ones and they definitely work there.
My modeldef code:
Many thanks!
The animation is set up as follows:
0-100 = fully retracted to fully extended.
101 - 200 = fully uncompressed to fully compressed, nose wheel rotates 360 degrees.
In flight_model.cfg the gear is defined as type 1 (hydraulic).
When on the ground, the nose wheel is clearly compressing (and the wheel is rotated as it is in Blender - not due to steering).
When airborne, pressing G has no impact on the gear. I suspect it is the way I have my electrical system set up as I have swapped out flap animations with the gear ones and they definitely work there.
My modeldef code:
Systems.cfg:<Component ID="GEARS">
<UseTemplate Name="ASOBO_GEAR_Center_Template">
<ANIM_NAME>c_gear</ANIM_NAME>
</UseTemplate>
<UseTemplate Name="ASOBO_GEAR_Left_Template">
<ANIM_NAME>l_gear</ANIM_NAME>
</UseTemplate>
<UseTemplate Name="ASOBO_GEAR_Right_Template">
<ANIM_NAME>r_gear</ANIM_NAME>
</UseTemplate>
</Component>
[ELECTRICAL]
bus.1 = Connections:bus.2, bus.3#Name:BUS_1
bus.2 = Connections:bus.1, bus.3#Name:BUS_2
bus.3 = Connections:bus.1, bus.4 #Name:AVIONICS_BUS_1
bus.4 = Connections:bus.1 #Name:AVIONICS_BUS_2
battery.1 = Connections:bus.1#Capacity:10#Voltage:curve.1#Name:Battery_BUS_1
battery.2 = Connections:bus.2#Capacity:3.5#Voltage:curve.1#Name:Battery_BUS_2
alternator.1 = Connections:bus.1#iEng:0#RatedVoltage:28#Load:curve.2#Name:Alternator_BUS_1
alternator.2 = Connections:bus.2#iEng:0#RatedVoltage:28#Load:curve.3#Name:Alternator_BUS_2
externalpower.1 = Connections:bus.1#RatedVoltage:28#Load:1200
curve.1 = 0:21, 0.1:22.5, 0.5:24, 0.9:25, 1:25.4 ; Battery voltage for capacity %
curve.2 = 0.1:0, 0.15:75, 0.30:95, 0.8:100 ; 100 amps alt at ~700 rpm
curve.3 = 0.5:0, 0.6:2.8, 0.7:18, 0.8:20 ; 20 amps alt at ~2000rpm
circuit.1 = Type:CIRCUIT_GENERAL_PANEL #Connections:bus.1 #Power:0.5,1,20.0 #Name:General_Panel ; General panel
circuit.2 = Type:CIRCUIT_FUEL_PUMP #Connections:bus.1 #Power:35, 48, 20.0 #Name:Fuel_Pump ; Fuel pump 24V DC @ 2A
circuit.3 = Type:CIRCUIT_FLAP_MOTOR #Connections:bus.1 #Power:200, 240, 20.0 #Name:Flaps_Motor ; Flaps motor
circuit.4 = Type:CIRCUIT_GEAR_MOTOR #Connections:bus.1 #Power:200, 240, 20.0 #Name:Gears_Motor
circuit.5 = Type:CIRCUIT_STARTER #Connections:bus.1 #Power:2000, 3500, 20.0 #Name:Starter_1 ; Starter 3500W
circuit.6 = Type:CIRCUIT_AVIONICS #Connections:bus.3 #Power:20,25,20.0 #Name:Avionics_1 ; avionics 1
circuit.7 = Type:CIRCUIT_XML #Connections:bus.3 #Power:10, 15, 11.5 #Name:GTN650 ; GTN650
circuit.8 = Type:CIRCUIT_XML #Connections:bus.3 #Power:20, 30, 10.0 #Name:GTN750 ; GTN750
circuit.9 = Type:CIRCUIT_HYDARULIC_PUMP #Connections:bus.1 #Power:200, 240, 20.0 #Name:Hydraulic_Pump
Many thanks!

