{
  "format_version": "1.16.0",
  "animations": {
    "animation.shelby.explode": {
      "loop": true,
      "particle_effects": {
        "0.0": [
          {
            "effect": "engine_smoke",
            "locator": "engine_smoke_right"
          },
          {
            "effect": "engine_smoke",
            "locator": "engine_smoke_left"
          },
          {
            "effect": "engine_smoke",
            "locator": "engine_smoke_right"
          },
          {
            "effect": "flame",
            "locator": "engine_smoke_right"
          },
          {
            "effect": "flame",
            "locator": "engine_smoke_left"
          },
          {
            "effect": "flame",
            "locator": "engine_smoke_right"
          },
          {
            "effect": "explode"
          },
          {
            "effect": "explode"
          }
        ]
      }
    },
    "animation.shelby.destroyed": {
      "loop": true,
      "animation_length": 0.25,
      "anim_time_update": "(q.anim_time + q.delta_time * 0.5) + q.ground_speed * 0.04 + math.random(0.04, 0.02)",
      "particle_effects": {
        "0.0": [
          {
            "effect": "flame",
            "locator": "engine_smoke_right"
          },
          {
            "effect": "flame",
            "locator": "engine_smoke_left"
          }
        ]
      },
      "sound_effects": {
        "0": {
          "effect": "flame_sound"
        }
      }
    },
    "animation.shelby.engine.smoke": {
      "loop": true,
      "animation_length": 0.25,
      "anim_time_update": "(q.anim_time + q.delta_time * 2) + q.ground_speed * 0.04",
      "particle_effects": {
        "0.0": [
          {
            "effect": "engine_smoke",
            "locator": "engine_smoke_right"
          },
          {
            "effect": "engine_smoke",
            "locator": "engine_smoke_left"
          },
          {
            "effect": "oil",
            "locator": "engine_smoke_right"
          },
          {
            "effect": "oil",
            "locator": "engine_smoke_left"
          }
        ]
      },
      "sound_effects": {
        "0": {
          "effect": "damaged_engine"
        }
      }
    },
    "animation.shelby.sound.idle": {
      "animation_length": 0.4,
      "loop": true,
      "anim_time_update": "(q.anim_time + q.delta_time * 1) + q.ground_speed * 0.01 + math.random(0.04, -0.02)",
      "sound_effects": {
        "0": {
          "effect": "sound_idle"
        }
      }
    },
    "animation.shelby.exhaust": {
      "loop": true,
      "animation_length": 0.25,
      "particle_effects": {
        "0.0": [
          {
            "effect": "exhaust",
            "locator": "exhaust_left"
          },
          {
            "effect": "exhaust",
            "locator": "exhaust_right"
          }
        ]
      }
    },
    "animation.Eleanor.Shelby.G.T.500.limpadores": {
      "loop": true,
      "animation_length": 1,
      "bones": {
        "limpador_left": {
          "rotation": {
            "0.0": [
              0,
              0,
              0
            ],
            "0.5": [
              0,
              0,
              82.5
            ],
            "1.0": [
              0,
              0,
              0
            ]
          }
        },
        "limpador_right": {
          "rotation": {
            "0.0": [
              0,
              0,
              0
            ],
            "0.5": [
              0,
              0,
              82.5
            ],
            "1.0": [
              0,
              0,
              0
            ]
          }
        }
      }
    },
    "animation.Eleanor.Shelby.G.T.500.open.close.door": {
      "animation_length": 1,
      "bones": {
        "door_left": {
          "rotation": {
            "0.0": [
              0,
              0,
              0
            ],
            "0.5": [
              0,
              60,
              0
            ],
            "1.0": [
              0,
              0,
              0
            ]
          }
        },
        "door_right": {
          "rotation": {
            "0.0": [
              0,
              0,
              0
            ],
            "0.5": [
              0,
              -60,
              0
            ],
            "1.0": [
              0,
              0,
              0
            ]
          }
        }
      },
      "sound_effects": {
        "0.0": {
          "effect": "door"
        }
      }
    },
    "animation.Eleanor.Shelby.G.T.500.down.windows": {
      "loop": "hold_on_last_frame",
      "animation_length": 2,
      "bones": {
        "left_window": {
          "rotation": {
            "0.0": [
              0,
              0,
              0
            ],
            "1.0": [
              0,
              -4,
              12.25
            ],
            "2.0": [
              0,
              -6,
              12.5
            ]
          },
          "position": {
            "0.0": [
              0,
              0,
              0
            ],
            "1.0": [
              0.5,
              -5.5,
              2
            ],
            "2.0": [
              -0.4,
              -11,
              4
            ]
          }
        },
        "bone399": {
          "rotation": {
            "0.0": [
              0,
              0,
              0
            ],
            "2.0": [
              1440,
              0,
              0
            ]
          }
        },
        "right_window": {
          "rotation": {
            "0.0": [
              0,
              0,
              0
            ],
            "1.0": [
              0,
              4,
              -12.25
            ],
            "2.0": [
              0,
              6,
              -12.5
            ]
          },
          "position": {
            "0.0": [
              0,
              0,
              0
            ],
            "1.0": [
              -0.5,
              -5.5,
              2
            ],
            "2.0": [
              0.4,
              -11,
              4
            ]
          }
        },
        "bone583": {
          "rotation": {
            "0.0": [
              0,
              0,
              0
            ],
            "2.0": [
              1440,
              0,
              0
            ]
          }
        }
      }
    },
    "animation.Eleanor.Shelby.G.T.500.up.windows": {
      "loop": "hold_on_last_frame",
      "animation_length": 2,
      "bones": {
        "left_window": {
          "rotation": {
            "0.0": [
              0,
              -6,
              12.5
            ],
            "1.0": [
              0,
              -4,
              12.25
            ],
            "2.0": [
              0,
              0,
              0
            ]
          },
          "position": {
            "0.0": [
              -0.4,
              -11,
              4
            ],
            "1.0": [
              0.5,
              -5.5,
              2
            ],
            "2.0": [
              0,
              0,
              0
            ]
          }
        },
        "bone399": {
          "rotation": {
            "0.0": [
              1440,
              0,
              0
            ],
            "2.0": [
              0,
              0,
              0
            ]
          }
        },
        "right_window": {
          "rotation": {
            "0.0": [
              0,
              6,
              -12.5
            ],
            "1.0": [
              0,
              4,
              -12.25
            ],
            "2.0": [
              0,
              0,
              0
            ]
          },
          "position": {
            "0.0": [
              0.4,
              -11,
              4
            ],
            "1.0": [
              -0.5,
              -5.5,
              2
            ],
            "2.0": [
              0,
              0,
              0
            ]
          }
        },
        "bone583": {
          "rotation": {
            "0.0": [
              1440,
              0,
              0
            ],
            "2.0": [
              0,
              0,
              0
            ]
          }
        }
      }
    },
    "animation.shelby.root": {
      "loop": true,
      "bones": {
        "waist": {
          "rotation": [
            "math.max(-45,math.min(45, (-q.vertical_speed / 0.25 * q.modified_move_speed)))",
            0,
            0
          ]
        },
        "pivot_body": {
          "rotation": [
            "query.modified_move_speed*-0.5 + math.sin(q.life_time*5000)*0.05*query.modified_move_speed",
            0,
            "(query.mark_variant == 1 ? math.sin(q.life_time*5000)*0.05 : 0) + (query.yaw_speed * 0.03* query.modified_move_speed)"
          ]
        },
        "light_ground": {
          "position": [
            0,
            0,
            "q.vertical_speed > 0.1 ?  10 + math.sin( q.vertical_speed / 0.25 * q.modified_move_speed ) * -1 : 10 + math.sin( -q.vertical_speed / 0.25 * q.modified_move_speed ) * -1"
          ],
          "rotation": [
            "0.01 + math.max(-45,math.min(45, (q.vertical_speed / 0.25 * q.modified_move_speed))) + query.modified_move_speed*-0.5 ",
            0,
            "query.yaw_speed * -0.03* query.modified_move_speed"
          ],
          "scale": "q.vertical_speed > 0.1 ?  1 + math.sin( q.vertical_speed / 0.25 * q.modified_move_speed ) * -1 : 1 + math.sin( -q.vertical_speed / 0.25 * q.modified_move_speed ) * -1"
        },
        "rpm": {
          "rotation": [
            0,
            0,
            "query.modified_move_speed * -300"
          ]
        },
        "mph": {
          "rotation": [
            0,
            0,
            "(query.ground_speed / -0.11) * query.modified_move_speed"
          ]
        },
        "direcao": {
          "rotation": [
            0,
            0,
            "(-query.yaw_speed * 1.5) * query.modified_move_speed"
          ]
        },
        "freio_de_mao": {
          "rotation": [
            "query.mark_variant != 2 ? 0 : -27.5",
            0,
            0
          ]
        },
        "embreagem": {
          "rotation": [
            "-22.5 + query.modified_move_speed * 22.5",
            0,
            0
          ]
        },
        "freio": {
          "rotation": [
            "-25 + query.modified_move_speed * 25",
            0,
            0
          ]
        },
        "acelerador": {
          "rotation": [
            "query.modified_move_speed * 45",
            0,
            0
          ]
        },
        "alavanca": {
          "rotation": [
            "query.variant == 1 ? 12.5 : (query.variant == 2 ? -12.5 : (query.variant == 3 ? 12.5 : (query.variant == 4 ? -12.5 : (query.variant == 5 ? 12.5 : (query.variant == 6 ? -12.5 : 0)))))",
            0,
            "query.variant == 1 ? 15 : (query.variant == 2 ? 15 : (query.variant == 3 ? 0 : (query.variant == 4 ? 0 : (query.variant == 5 ? -15 : (query.variant == 6 ? -15 : 0)))))"
          ]
        },
        "wheels_left": {
          "rotation": [
            0,
            0,
            "!query.is_on_ground ? 15 : 0"
          ]
        },
        "wheels_right": {
          "rotation": [
            0,
            0,
            "!query.is_on_ground ? -15 : 0"
          ]
        },
        "pivot_wheel_left_front": {
          "rotation": [
            0,
            0,
            "math.random(-4, -2) * query.modified_move_speed"
          ]
        },
        "pivot_wheel_left_back": {
          "rotation": [
            0,
            0,
            "math.random(-4, -2) * query.modified_move_speed"
          ]
        },
        "pivot_wheel_right_front": {
          "rotation": [
            0,
            0,
            "math.random(4, 2) * query.modified_move_speed"
          ]
        },
        "pivot_wheel_right_back": {
          "rotation": [
            0,
            0,
            "math.random(4, 2) * query.modified_move_speed"
          ]
        },
        "wheel_left_front": {
          "rotation": [
            "q.cardinal_facing_2d == 2 ? -q.position(2) * 45 : (q.cardinal_facing_2d == 3 ? q.position(2) * 45 : (q.cardinal_facing_2d == 4 ? -q.position(0) * 45 : (q.cardinal_facing_2d == 5 ? q.position(0) * 45 : q.modified_distance_moved * 45)))",
            "math.min(35, math.max(-35, query.yaw_speed * 1)) * query.modified_move_speed * 1",
            0
          ]
        },
        "wheel_right_front": {
          "rotation": [
            "q.cardinal_facing_2d == 2 ? -q.position(2) * 45 : (q.cardinal_facing_2d == 3 ? q.position(2) * 45 : (q.cardinal_facing_2d == 4 ? -q.position(0) * 45 : (q.cardinal_facing_2d == 5 ? q.position(0) * 45 : q.modified_distance_moved * 45)))",
            "math.min(35, math.max(-35, query.yaw_speed * 1)) * query.modified_move_speed * 1",
            0
          ]
        },
        "wheel_left_back": {
          "rotation": [
            "q.cardinal_facing_2d == 2 ? -q.position(2) * 45 : (q.cardinal_facing_2d == 3 ? q.position(2) * 45 : (q.cardinal_facing_2d == 4 ? -q.position(0) * 45 : (q.cardinal_facing_2d == 5 ? q.position(0) * 45 : q.modified_distance_moved * 45)))",
            0,
            0
          ]
        },
        "wheel_right_back": {
          "rotation": [
            "q.cardinal_facing_2d == 2 ? -q.position(2) * 45 : (q.cardinal_facing_2d == 3 ? q.position(2) * 45 : (q.cardinal_facing_2d == 4 ? -q.position(0) * 45 : (q.cardinal_facing_2d == 5 ? q.position(0) * 45 : q.modified_distance_moved * 45)))",
            0,
            0
          ]
        }
      }
    },
    "animation.shelby.exploded": {
      "loop": true,
      "bones": {
        "para_brisa_frontal_esquerdo": {
          "scale": 0
        },
        "para_brisa_frontal_direito": {
          "scale": 0
        },
        "para_brisa_traseiro_esquerdo": {
          "scale": 0
        },
        "para_brisa_traseiro_direito": {
          "scale": 0
        },
        "door_left": {
          "scale": 0
        },
        "espelho": {
          "scale": 0
        },
        "door_right": {
          "scale": 0
        },
        "limpador_left": {
          "scale": 0
        },
        "limpador_right": {
          "scale": 0
        }
      }
    }
  }
}