Skip to content
This repository was archived by the owner on Sep 5, 2026. It is now read-only.

Intamin cable lift

Ercan Akyürek edited this page Feb 22, 2015 · 4 revisions
import com.nolimitsframework.*;
import com.nolimitsframework.block.*;
import com.nolimitsframework.spline.*;
import com.nolimitsframework.objects.*;

import nlvm.math3d.*;

public class Coaster extends FrameworkScript {
    public void init() {
        BlockManager cBlockManager = new BlockManager();

        BlockRegularStation Station = new BlockRegularStation("Station");
        TrackSpline CatchCarPath = new TrackSpline(new Vector3f(-33.6625f, 28.6205f, -46.9204f), 135.044f, true, 0.05f);

        IntaminCableLift CableLift = new IntaminCableLift("CatchCar, CC_", CatchCarPath);
        Station.attachObject(CableLift);

        CableLift.attachCable("CatchCarCableBottom, Cable_", 0.5f, false);
        CableLift.attachCable("CatchCarTop1, Cable_", 0.5f, true);
        CableLift.attachCable("CatchCarTop2, Cable_", 0.5f, true);

        cBlockManager.setBlock(Station);
        cBlockManager.setBlock(new BlockRegularLift("Lift"));
        cBlockManager.setBlock(new BlockRegularBrake("Brake1"));
        cBlockManager.setBlock(new BlockRegularBrake("Brake2"));
    }
}

Clone this wiki locally