CONFIG.CCP class UserActions { class extendrefueling { displayName = "Turn on refuelling"; position = "pilotcontrol"; onlyforplayer = 1; showWindow = 0; hideOnUse = 1; radius = 5; condition = "player in this and this animationPhase ""fuel_hose"" < 0.5 and speed this > 100"; statement = "this animate [""fuel_hose"",1];"; }; class retractrefueling { displayName = "Turn off refueling"; position = "pilotcontrol"; onlyforplayer = 1; showWindow = 0; hideOnUse = 1; radius = 5; condition = "player in this and this animationPhase ""fuel_hose"" > 0.5"; statement = "this animate [""fuel_hose"",0];"; }; }; ---------------------------------------------------------------------------------------------------------------- class AnimationSources: AnimationSources { class fuel_hose { source = "user"; animPeriod = 2; initPhase = 0; }; ---------------------------------------------------------------------------------------------------------------- MODEL.CFG "fuel_hose", "", class Animations: Animations { class fuel_hose { type="rotationX"; source=""; selection="fuel_hose"; animPeriod=0; axis="osa_fuel_hose"; memory=1; minValue=0; maxValue=1; minPhase=0; maxPhase=1; angle0="rad 0"; angle1="rad +180"; angle=0; }; ---------------------------------------------------------------------------------------------------------------- MODEL P3D