Dimebag Posted March 11, 2012 Posted March 11, 2012 I was wondering if anyone has ever had any success in finding an argument to animate the rudder pedals? I know of none and am curious if anyone has ever found a way to do this? It's just a shame to have static rudder pedals. [sIGPIC][/sIGPIC] Find us at http://virtual-roulettes.forumotion.com/
PeterP Posted March 11, 2012 Posted March 11, 2012 (edited) Just a guess where to start searching , maybe you can collect enough hints together to find the right commands in following files : Have a close look in DCS A-10C\Scripts\Aircrafts\A-10C\Cockpit\ControlsIndicator ControlsIndicator_page.lua: rudder_scale = Copy(roll_scale) rudder_scale.init_pos = {0,-(pitch_stick_movement_positive + rudder_shift)} AddElement(rudder_scale) rudder_index = Copy(roll_scale) rudder_index.vertices = {{-2.0*line_width , -line_width}, {-2.0*line_width , line_width}, { 2.0*line_width , line_width}, { 2.0*line_width , -line_width}} rudder_index.controllers = {{"rudder",size},{"rotate",math.rad(90)}} rudder_index.parent_element = rudder_scale.name AddElement(rudder_index) local rud_base = CreateElement "ceSimple" rud_base.name = "rud_base" rud_base.init_pos = {-(size + rud_base_shift) ,0} rud_base.init_rot = {90} rud_base.parent_element = base.name AddElement(rud_base) for i = 1,2 do local rud_sz = pitch_stick_movement_positive + 0.1*size local rud = Copy(pitch_scale) rud.vertices = {{ 0 , -line_width}, { 0 , line_width}, { rud_sz , line_width}, { rud_sz , -line_width}} rud.parent_element = rud_base.name if i == 2 then rud.init_pos = {-rud_sz,-rud_shift} else rud.init_pos = {-rud_sz, rud_shift} end rud.init_rot = {0,0,0} AddElement(rud) local brakes_pos = {size,rudder_scale.init_pos[2]} local sz_wheel_brake = 1 * pitch_stick_movement_negative for i = 1,2 do local signum = {-1,1} local wheel_brake_mask = CreateElement "ceMeshPoly" wheel_brake_mask.name = "wheel_brake_mask_"..tostring(i) wheel_brake_mask.primitivetype = "triangles" wheel_brake_mask.vertices = {{0 ,0}, {0 ,sz_wheel_brake}, {-signum[i] * 0.3 * sz_wheel_brake ,sz_wheel_brake}, {-signum[i] * 0.3 * sz_wheel_brake ,0}} wheel_brake_mask.indices = {0,1,2,0,2,3} wheel_brake_mask.material = "MASK_MATERIAL" wheel_brake_mask.init_pos = {signum[i] * brakes_pos[1],brakes_pos[2]} wheel_brake_mask.parent_element = base.name wheel_brake_mask.controllers = {{"brakes_value",i,sz_wheel_brake}} wheel_brake_mask.h_clip_relation = h_clip_relations.INCREASE_LEVEL wheel_brake_mask.isvisible = false AddElement(wheel_brake_mask) And also have a look in: \DCS A-10C\Scripts\Aircrafts\A-10C\Cockpit command_defs.lua: PlaneLeftRudderStart = 201, PlaneLeftRudderStop = 202, PlaneRightRudderStart = 203, PlaneRightRudderStop = 204, Edited March 11, 2012 by PeterP
Dimebag Posted March 11, 2012 Author Posted March 11, 2012 Thanks PeterP, however I am actually working with FC2. As far as I am aware there are no rudder pedal animations in cockpit for any fc2 aircraft. [sIGPIC][/sIGPIC] Find us at http://virtual-roulettes.forumotion.com/
SVKSniper Posted March 12, 2012 Posted March 12, 2012 I do not remember exactly the case but it is possible... Support my work
luckybob9 Posted March 12, 2012 Posted March 12, 2012 Why not assign the rudder pedal to the number that does the actual rudder? or is it different since its a cockpit file? Nevada map contributer EDM Modeling tools FAQ: http://forums.eagle.ru/showpost.php?p=1418067&postcount=1 Seo libh a chairde is chanadh liom. Líonaigí'n oíche le greann is le spórt. Seo sláinte na gcarad atá imithe uainn. Mar cheo an tsléibhe uaine, iad imithe go deo
Dimebag Posted March 12, 2012 Author Posted March 12, 2012 I will have to have a look but i think it is different luckybob9. Svksniper, do you have any idea about that? Has it been mentioned before? [sIGPIC][/sIGPIC] Find us at http://virtual-roulettes.forumotion.com/
SVKSniper Posted March 12, 2012 Posted March 12, 2012 Bob its different.....Dimebag today later i send you arg for pedals...but you see moving pedal only in the air..... Support my work
Ells228 Posted March 12, 2012 Posted March 12, 2012 Pedals are argument 266 in Max Depending on how you've set up your pedals model, use a rotation-based-argument as example. Pedals - Arg 266 - Range -1 ... 0 ... 1
SVKSniper Posted March 12, 2012 Posted March 12, 2012 Yes Ells but work not for me..i use arg 31 range -1...0...1 This arg work with my F-14D pit. Support my work
Dimebag Posted March 12, 2012 Author Posted March 12, 2012 Guys,thanks heaps. I will try these and get back to you. [sIGPIC][/sIGPIC] Find us at http://virtual-roulettes.forumotion.com/
Ells228 Posted March 12, 2012 Posted March 12, 2012 Hmmm, I checked the arg on my Typhoon and the list from ED and have 266 for cockpit model. I didn't check external model arg.
Dimebag Posted March 13, 2012 Author Posted March 13, 2012 I tried setting it to 266, however had no luck. It is mentioned for the Russian birds in the Ed arguments file as you said, but I am using the a-10 as a template. Just out of interest I tried it with arg 266 as a su-27 but the pedals gave no response. Svksniper, I used arg 31 For the pedals, and this does provide some movement, however the argument is actually for the sliding ball in the turn and bank indicator, which means when you roll it also results in pedal movement. This is not ideal so I think unless we can magically discover the argument which results in the pedals moving I might just have to leave them. Thanks to you both for the suggestions. [sIGPIC][/sIGPIC] Find us at http://virtual-roulettes.forumotion.com/
Alfa Posted March 13, 2012 Posted March 13, 2012 Argument #266 controls rudder pedals in the Ka-50 pit - don't know about the A-10C(don't have that). However, since earlier lock-on pit models didn't have animated rudder pedals, I doubt any of the flyable aircraft entries in FC2 have this feature coded for them. So the mention of argument 266 in the list is probably just for the Ka-50. JJ
Alfa Posted March 13, 2012 Posted March 13, 2012 Why not assign the rudder pedal to the number that does the actual rudder? or is it different since its a cockpit file? Yes arguments are catagorised. E.g. for the Su-33 argument #0 controls IFR probe inside the cockpit - on the external model the same argument controls nose strut lowering, while IFR probe is under argument #22. JJ
Ells228 Posted March 13, 2012 Posted March 13, 2012 Ok Dimebag, I'll load up my model tomorrow and see what I have set.
Dimebag Posted March 14, 2012 Author Posted March 14, 2012 Thanks Ellis, I'd appreciate that just to make sure I'm not missing something. [sIGPIC][/sIGPIC] Find us at http://virtual-roulettes.forumotion.com/
Blaze Posted March 21, 2012 Posted March 21, 2012 The rudder pedal arguments are for the newer aircraft only (A-10C and Ka-50), FC2 cockpits do not have an argument for rudder pedals. i7 7700K | 32GB RAM | GTX 1080Ti | Rift CV1 | TM Warthog | Win 10 "There will always be people with a false sense of entitlement. You can want it, you can ask for it, but you don't automatically deserve it. "
Ells228 Posted March 21, 2012 Posted March 21, 2012 Thanks Blaze, and to confirm no rudder pedal movement in FC2 on my model.
Dimebag Posted March 22, 2012 Author Posted March 22, 2012 Ok guys, thanks for the info. [sIGPIC][/sIGPIC] Find us at http://virtual-roulettes.forumotion.com/
edgepilot Posted March 26, 2012 Posted March 26, 2012 In DCS:A-10C the argument for rudder pedals are 93 with -1 left rudder pedal down and 1 right rudder pedal down.
Blaze Posted March 26, 2012 Posted March 26, 2012 Yes, but again to sound like a broken record, FC cockpits do not have a rudder pedal animation!!! Unless you are putting your pit over the A-10C in DCS..... i7 7700K | 32GB RAM | GTX 1080Ti | Rift CV1 | TM Warthog | Win 10 "There will always be people with a false sense of entitlement. You can want it, you can ask for it, but you don't automatically deserve it. "
Dimebag Posted March 26, 2012 Author Posted March 26, 2012 Yes, unfortunately my team flies in fc2 so we get shafted. [sIGPIC][/sIGPIC] Find us at http://virtual-roulettes.forumotion.com/
Blaze Posted March 26, 2012 Posted March 26, 2012 Meh, I wouldn't worry. I don't see how a rudder pedal animation (or lack of) would be a useful thing for form flying, IMHO. You gonna spend the whole time staring at your feet when on wing? :lol: i7 7700K | 32GB RAM | GTX 1080Ti | Rift CV1 | TM Warthog | Win 10 "There will always be people with a false sense of entitlement. You can want it, you can ask for it, but you don't automatically deserve it. "
Recommended Posts