A couple of people have asked how to make the Katana electric. I did this by editing the files generated by Aerofly RC when you modify an exisiting plane. I worked out how to make the motor electric by looking at code made by JP Aria. Here is what I did.
1. First make a modified version of the Katana using the editor in RC10. You don't have to make any changes, just give it a new name like "Katana Electric" and save.
2. Now you need to find the file you created. It is in the "aircraft_mod" directory for RC10.
3. Open the most recently created "katana__00x.tmc" file and check that it has your new name in it. The "x" will be a number. If you haven't created mods for the Katana before it will probably be "0". Now In my file on line 29 it says:
Code
<[string8][Text][Katana Elec]>
4. Now you have identified the tmc file, we are going to overwrite it. Say your tmc file was "katana__001.tmc" - then we will modify the following files:
katana__001.tmc
katana__001.tmd
We are now going to overwrite these files. Open them in a text editor and replace them with following content:
katana__001.tmc
Code
<[file][][]
<[modelinformation][][]
<[list_vector4_float64][ContactPoints][(-1.7343 -0.0003 -0.204 0.025) (0.3051 -0.3858 -0.382 0.067) (0.3051 0.3858 -0.382 0.067) ]>
<[float64][Scale][1]>
<[float64][Mass][15.32]>
<[float64][WingSpan][2.99]>
<[float64][MinimumSpeed][15]>
<[float64][MaximumSpeed][75]>
<[bool][Airplane][true]>
<[bool][Helicopter][false]>
<[bool][Quadcopter][false]>
<[bool][Glider][false]>
<[bool][FloatPlane][false]>
<[bool][Jet][false]>
<[bool][ScaleModel][false]>
<[bool][TrueScale][false]>
<[bool][Aerobatic][true]>
<[bool][Special][false]>
<[bool][Gear][true]>
<[bool][Retracts][false]>
<[bool][Flaps][false]>
<[bool][GliderEngine][false]>
<[bool][ThrustReverse][false]>
<[bool][ExtendedStall][false]>
<[string8][DisplayName][Katana Elec]>
<[list_string_ml][DescriptionText][]
<[string_ml][element][0]
<[string8][Language][en]>
<[string8][Text][Katana Elec]>
>
<[string_ml][element][1]
<[string8][Language][de]>
<[string8][Text][
Krill Katana
Wettbewerbssetup mit größeren Ruderausschlägen. Für den normalen Kunstflug sollten die Ausschläge per Dual Rate auf 40%- 60% reduziert werden, für extreme 3D-Manöver dann 100% Ausschläge in Kombination mit 30-40% Expo.]>
>
<[string_ml][element][2]
<[string8][Language][fr]>
<[string8][Text][
Krill Katana
Réglage compétition. Utiliser Dual Rate entre 40% - 60% pour l'acrobatie et 100% combiné avec 30%-40% Expo pour l'extreme 3D.]>
>
<[string_ml][element][3]
<[string8][Language][jp]>
<[string8][Text][
Krill Katana (クリル社 カタナ)
最大舵角をより大きく調整した競技会用セットアップ。普通のアクロバット飛行には最大舵角はデュアルレートで40-60 %に抑えるべきであり、超3Dマニューバには30-40%にしたエキスポと組み合わ せて100%にする。]>
>
<[string_ml][element][4]
<[string8][Language][es]>
<[string8][Text][
Krill Katana
Configuración de competición con tiros de control más grandes. Use D/R entre 40% - 60% para vuelos acrobáticos estándar y 100% combinado con 30% -40% Expo para maniobras extremas en 3D.]>
>
<[string_ml][element][5]
<[string8][Language][it]>
<[string8][Text][
Krill Katana
Configurazione della competizione con tiri di controllo più ampi. Usa D/R tra il 40% e il 60% per il volo acrobatico standard e il 100% combinato con il 30% -40% di Expo per manovre 3D estreme.]>
>
<[string_ml][element][6]
<[string8][Language][nl]>
<[string8][Text][
Krill Katana
Wedstrijdconfiguratie met grotere besturingsslagen. Gebruik D/R tussen 40% - 60% voor standaard aerobatic-vluchten en 100% gecombineerd met 30% -40% Expo voor extreme 3D-manoeuvres.]>
>
<[string_ml][element][7]
<[string8][Language][dk]>
<[string8][Text][
Krill Katana
Konkurrence opsætning med større rorudslag.Bruger D/R mellem 40% og 60% for standard kunstflyvning og 100% kombineret med 30%-40% Expo for ekstreme 3D manøvrer.]>
>
<[string_ml][element][8]
<[string8][Language][cz]>
<[string8][Text][
Krill Katana
Soutěžní nastavení s většími výchylkami kormidel. Použijte D/R mezi 40% - 60% pro klasickou akrobacii a 100% v kombinaci s 30%-40% Expo pro extrémní 3D akrobacii.]>
>
<[string_ml][element][9]
<[string8][Language][ru]>
<[string8][Text][
Криль Катана
Пилотажный вариант с большими расходами рулей. Используйте для стандартного пилотажа расходы между 40%-60% и расходы 100% с экспонентой 30%-40% для 3D-маневров.]>
>
<[string_ml][element][10]
<[string8][Language][pl]>
<[string8][Text][
Krill Katana
Competition setup z większymi rzutami kontrolnymi. Używaj D/R w zakresie 40% - 60% dla standardowych lotów akrobacyjnych i 100% w połączeniu z 30%-40% Expo dla ekstremalnych manewrów 3D.]>
>
>
>
>
5. That's it. Save your modified files and restart aerofly rc. Once there, you can load your modified Katana and fly it. I have tested this on Aerofly RC 10,9,8 (MacOS) and Aerofly RC10 (Windows).