Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Released: Sleicher ASK-13 (Glider) For Outerra

Featured Replies

Great work Levi and Bomber!! And yet another feather in Outerras cap.

 

http://forum.outerra.com/index.php?topic=2862.0

 

 

(August 27, 2014)

Released on August 27, 2014

Features:

  • Basic Wing Flex (upgrade pending).
  • Two different camera positions (using  Mixture).
  • Animated ailerons.
  • Animated air brakes (using throttle).
  • Animated rudder.
  • Animated elevator & elevator trim.
  • Animated rudder pedals (front & rear).
  • Animated air brakes handles.
  • Animated elevator trim handles.
  • Animated yokes (front & rear).
  • Animated canopy (using gear key).
  •  
  • Sounds for:
    - General wind.
    - Air brakes wind.
    - Roll.
    - Creak % Vario beep based on AoA.
  •  
  • Working instruments/gauges:
    - Turn indicator (front & rear).
    - Air speed indicator (front & rear).
    - Vertical speed indicator (front & rear).
    - Compass (front & rear).
    - Altimeter (front & rear).

 

We are all connected..... To each other, biologically...... To the Earth, chemically...... To the rest of the Universe atomically.
 
Devons rig
Intel Core i5 13600K @ 5.1GHz / G.SKILL Trident Z5 RGB Series Ram 64GB / GIGABYTE GeForce RTX 4070 Ti GAMING OC 12G Graphics Card / Sound Blaster Z / Meta Quest 2 VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 1x Samsung SSD 850 EVO 500GB / 2x Samsung SSD 860 EVO 1TB /  1x Samsung - 970 EVO Plus 2TB NVMe /  1x Samsung 980 NVMe 1TB / 2 other regular hd's with up to 10 terabyte capacity / Windows 11 Pro 64-bit / Gigabyte Z790 Aorus Elite AX Motherboard LGA 1700 DDR5

Great work Levi and Bomber!! And yet another feather in Outerras cap.

 

http://forum.outerra.com/index.php?topic=2862.0

 

 

(August 27, 2014)

Released on August 27, 2014

 

Features:

  • Basic Wing Flex (upgrade pending).
  • Two different camera positions (using  Mixture).
  • Animated ailerons.
  • Animated air brakes (using throttle).
  • Animated rudder.
  • Animated elevator & elevator trim.
  • Animated rudder pedals (front & rear).
  • Animated air brakes handles.
  • Animated elevator trim handles.
  • Animated yokes (front & rear).
  • Animated canopy (using gear key).
  •  
  • Sounds for:

    - General wind.

    - Air brakes wind.

    - Roll.

    - Creak % Vario beep based on AoA.

  •  
  • Working instruments/gauges:

    - Turn indicator (front & rear).

    - Air speed indicator (front & rear).

    - Vertical speed indicator (front & rear).

    - Compass (front & rear).

    - Altimeter (front & rear).

 

 

 

Very nice! JSBsim isn's as bad as some people in the community want us to believe. After all, the Majestic Dash 8 Q 400 uses it as well. 

 

Is there a tutorial on implementing working gauges?

Andreas Paul

  • Author

From User M7, who does wing-man videos that often end in tragedy. (Boom)  :P

 

We are all connected..... To each other, biologically...... To the Earth, chemically...... To the rest of the Universe atomically.
 
Devons rig
Intel Core i5 13600K @ 5.1GHz / G.SKILL Trident Z5 RGB Series Ram 64GB / GIGABYTE GeForce RTX 4070 Ti GAMING OC 12G Graphics Card / Sound Blaster Z / Meta Quest 2 VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 1x Samsung SSD 850 EVO 500GB / 2x Samsung SSD 860 EVO 1TB /  1x Samsung - 970 EVO Plus 2TB NVMe /  1x Samsung 980 NVMe 1TB / 2 other regular hd's with up to 10 terabyte capacity / Windows 11 Pro 64-bit / Gigabyte Z790 Aorus Elite AX Motherboard LGA 1700 DDR5

Very nice! JSBsim isn's as bad as some people in the community want us to believe. After all, the Majestic Dash 8 Q 400 uses it as well. 

 

Is there a tutorial on implementing working gauges?

I don't think there's a tutorial for this, but I'll try to briefly explain it.

 

Implementing working gauges isn't that hard. Those are just objects that moves or rotates depending on a variable defined in JavaScript, which is generally tied to a JSBSim property.

 

Let's take as an example the needle from the vertical speed indicator used on this glider.

idbCyEPgeY79A.png

 

First, we have to properly name the object in question. In our 3D modeling software, we name the needle as BONE_needle_vsi. BONE_ is needed to tell the Outerra's importer (I use the FBX importer) that we need to access to that object via JavaScript.

 

Now after we successfully imported the model into Outerra, let's script that needle.

 

 

In JavaScript, I use this simple function to limit the rotation angle of our object(s).

function clamp(val, min, max){if(val < min) return min;else if(val > max) return max;else return val;}

And this one for converting from degrees to radians, together with the constant PI:

const PI = 3.14159265358979323846;
function deg2rad(angle_deg) { return (PI / 180.0) * angle_deg; }

Inside the function initialize(reload){}, we get our object(s) from the package for posterior use. As you can see, BONE_ is only needed for the importer. The real object's name is needle_vsi.

function initialize(reload){geom = this.get_geomob(0);jsb = this.jsb();

   needle_vsi = geom.get_joint('needle_vsi');
.
..
...
....
}

Now, let's proceed to animate this needle. This code needs to be written inside the function update_frame(dt){}

function update_frame(dt){
   val = jsb['velocities/v-down-fps']*2.55;
   geom.rotate_joint_orig(needle_vsi, clamp(deg2rad(val) ,-0.75,0.75)* PI, {x:1,y:0,z:0});...
...
....}

jsb['velocities/v-down-fps']  is the property used in JSBSim for the vertical speed. Then, I multiplied that by 2.55 to match the needle with the background texture.

 
 
Use this code under function update_frame(dt){} to print and show the vertical speed in real-time on console('P' key) . It also converts from foot per second to meters per second. This will help you to know how much you have to multiply jsb['velocities/v-down-fps'] in order to match the needle with your background texture.
this.log_inf("m/s  "+jsb['velocities/v-down-fps']*0.3048);

So yeah, that's basically what you need to do in order to animate gauges, and not only gauges, but any other object. You can always check out the scripts from any other plane and see how it was done.

 

I hope this is understandable, because I'm really bad when I have to explain things, and English not being my first language...  :P

 
  • Author

Thank you for the detailed answer Levi!

 

I guess i'll also post here that the ASK-13 has just received an update. Please re-download!

 

Update:
(August 30, 2014)

  • Updated FDM.

http://forum.outerra.com/index.php?topic=2862.0

We are all connected..... To each other, biologically...... To the Earth, chemically...... To the rest of the Universe atomically.
 
Devons rig
Intel Core i5 13600K @ 5.1GHz / G.SKILL Trident Z5 RGB Series Ram 64GB / GIGABYTE GeForce RTX 4070 Ti GAMING OC 12G Graphics Card / Sound Blaster Z / Meta Quest 2 VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 1x Samsung SSD 850 EVO 500GB / 2x Samsung SSD 860 EVO 1TB /  1x Samsung - 970 EVO Plus 2TB NVMe /  1x Samsung 980 NVMe 1TB / 2 other regular hd's with up to 10 terabyte capacity / Windows 11 Pro 64-bit / Gigabyte Z790 Aorus Elite AX Motherboard LGA 1700 DDR5
  • Author

M7 at it again. He does love his formation flying.  B)

 

We are all connected..... To each other, biologically...... To the Earth, chemically...... To the rest of the Universe atomically.
 
Devons rig
Intel Core i5 13600K @ 5.1GHz / G.SKILL Trident Z5 RGB Series Ram 64GB / GIGABYTE GeForce RTX 4070 Ti GAMING OC 12G Graphics Card / Sound Blaster Z / Meta Quest 2 VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 1x Samsung SSD 850 EVO 500GB / 2x Samsung SSD 860 EVO 1TB /  1x Samsung - 970 EVO Plus 2TB NVMe /  1x Samsung 980 NVMe 1TB / 2 other regular hd's with up to 10 terabyte capacity / Windows 11 Pro 64-bit / Gigabyte Z790 Aorus Elite AX Motherboard LGA 1700 DDR5
  • 3 weeks later...
  • Author

Update:
(September 16, 2014)

  • Upgraded WingFlex.

http://forum.outerra.com/index.php?topic=2862.0

We are all connected..... To each other, biologically...... To the Earth, chemically...... To the rest of the Universe atomically.
 
Devons rig
Intel Core i5 13600K @ 5.1GHz / G.SKILL Trident Z5 RGB Series Ram 64GB / GIGABYTE GeForce RTX 4070 Ti GAMING OC 12G Graphics Card / Sound Blaster Z / Meta Quest 2 VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 1x Samsung SSD 850 EVO 500GB / 2x Samsung SSD 860 EVO 1TB /  1x Samsung - 970 EVO Plus 2TB NVMe /  1x Samsung 980 NVMe 1TB / 2 other regular hd's with up to 10 terabyte capacity / Windows 11 Pro 64-bit / Gigabyte Z790 Aorus Elite AX Motherboard LGA 1700 DDR5

Download

(September 16, 2014)

Update:
(September 16, 2014)
  • Upgraded WingFlex.

 

Edit: Ah HiFlyer, you were faster than me!  :lol:

Interesting!  B)

Flying gliders since 1980

Flightsimming since 1992

AMD Ryzen 5600x, 32GB RAM, GPU Nvidia RTX 3060 Ti 8 GB, 1 TB and 500 GB nvme2 SSD drives, HP 27" 60Hz LED monitor @ 1920x1080, T16000, Hotas from old X52 Pro, Saitek Combat Rudder Pro (2010 model)

Not bad at all. Obviously still a very long way to go but this is a definite few steps forward.

ASUS ROG STRIX Z390-E GAMING / i9-9900k @ 4.7 all cores w/ NOCTUA NH-D15S / 2080ti / 32GB G.Skill 3200 RIPJAWS / 1TB Evo SSD / 500GB Evo SSD /  2x 3TB HDD / CORSAIR CRYSTAL 570X / IPSG 850W 80+ PLATINUM / Dual 4k Monitors 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.