Moving Blimp

All about making tracks for MX Simulator
Post Reply
baker
Posts: 332
Joined: Sat Jul 30, 2011 1:43 pm
Team: Spitfire

Moving Blimp

Post by baker »

Blimp for MX Simulator

A blimp that flies a looping waypoint path over your track, follows the terrain height, and turns smoothly at the corners. Script by BAKER.

Setup
  1. Put blimp.jm and blimp.png in your track's statue folder.
  2. Add this line to your statues file (no .shp):

    Code: Select all

    [600.0 0.0 480.0] 0.0 @YourTrackPath/statue/blimp.jm @YourTrackPath/statue/blimp.png
    
  3. Add frills.js to your track, or paste the code into your existing one.
  4. Replace @YourTrackPath in frills.js so it matches the statues line exactly.
Settings (top of frills.js)
  • BLIMP_PATH: loop corners as [x, z] in feet
  • BLIMP_SPEED: feet per second
  • BLIMP_ALT: height above the terrain
  • BLIMP_TURN: how wide the corner turns are
  • BLIMP_FLIP: set to Math.PI if it flies tail-first
Not moving? The paths probably don't match. You'll see "blimp statue not found" in game.

Download: blimp.zip
Post Reply