this.length = 3;
this.frontOffset = 5.9;
this.rearOffset = 7.3;
this.frontAnchor = 5.9;
this.rearAnchor = 5.5;

this.displayName = MAIN.$strings.$vehicle_metro03;
this.capacity = 42;

this.acceleration = 2.0;
this.braking = 0.25;
this.speed = 0.75;
this.turning = 2.0;

this.addPath("doorR0-enter", GRID_PATH_END, vector(2.0, 0.8, 4.6), QUAT_IDENT, vector(-0.5, 0.8, 4.6), QUAT_IDENT);
this.addPath("doorL0-enter", GRID_PATH_END, vector(-2.0, 0.8, 4.6), QUAT_IDENT, vector(0.5, 0.8, 4.6), QUAT_IDENT);
this.addPath("doorR0-exit", GRID_PATH_START, vector(-0.5, 0.8, 4.6), QUAT_IDENT, vector(2.0, 0.8, 4.6), QUAT_IDENT);
this.addPath("doorL0-exit", GRID_PATH_START, vector(0.5, 0.8, 4.6), QUAT_IDENT, vector(-2.0, 0.8, 4.6), QUAT_IDENT);

this.addPath("doorR1-enter", GRID_PATH_END, vector(2.0, 0.8, 1.9), QUAT_IDENT, vector(-0.5, 0.8, 1.9), QUAT_IDENT);
this.addPath("doorL1-enter", GRID_PATH_END, vector(-2.0, 0.8, 1.9), QUAT_IDENT, vector(0.5, 0.8, 1.9), QUAT_IDENT);
this.addPath("doorR1-exit", GRID_PATH_START, vector(-0.5, 0.8, 1.9), QUAT_IDENT, vector(2.0, 0.8, 1.9), QUAT_IDENT);
this.addPath("doorL1-exit", GRID_PATH_START, vector(0.5, 0.8, 1.9), QUAT_IDENT, vector(-2.0, 0.8, 1.9), QUAT_IDENT);

this.addPath("doorR2-enter", GRID_PATH_END, vector(2.0, 0.8, -1.0), QUAT_IDENT, vector(-0.5, 0.8, -1.0), QUAT_IDENT);
this.addPath("doorL2-enter", GRID_PATH_END, vector(-2.0, 0.8, -1.0), QUAT_IDENT, vector(0.5, 0.8, -1.0), QUAT_IDENT);
this.addPath("doorR2-exit", GRID_PATH_START, vector(-0.5, 0.8, -1.0), QUAT_IDENT, vector(2.0, 0.8, -1.0), QUAT_IDENT);
this.addPath("doorL2-exit", GRID_PATH_START, vector(0.5, 0.8, -1.0), QUAT_IDENT, vector(-2.0, 0.8, -1.0), QUAT_IDENT);

this.addPath("doorR3-enter", GRID_PATH_END, vector(2.0, 0.8, -3.7), QUAT_IDENT, vector(-0.5, 0.8, -3.7), QUAT_IDENT);
this.addPath("doorL3-enter", GRID_PATH_END, vector(-2.0, 0.8, -3.7), QUAT_IDENT, vector(0.5, 0.8, -3.7), QUAT_IDENT);
this.addPath("doorR3-exit", GRID_PATH_START, vector(-0.5, 0.8, -3.7), QUAT_IDENT, vector(2.0, 0.8, -3.7), QUAT_IDENT);
this.addPath("doorL3-exit", GRID_PATH_START, vector(0.5, 0.8, -3.7), QUAT_IDENT, vector(-2.0, 0.8, -3.7), QUAT_IDENT);

with (this.loadSkeleton("metro03b_scene.skeleton")) {
  .loadAnimation("default", "metro03b_anim2.animation", 0);
}

this.doorOpenStart = 75.0 / 30.0;
this.doorOpenLen = 1.0;
this.doorCloseStart = 110.0 / 30.0;
this.doorCloseLen = 35.0 / 30.0;

this.doorOpenStart2 = 0.0;
this.doorOpenLen2 = 1.0;
this.doorCloseStart2 = 35.0 / 30.0;
this.doorCloseLen2 = 1.0;

