Flying Carpet - TheClowner/ccRides-Support GitHub Wiki

Added in v1.9.0

Demo Video (Youtube)

A grid of seats on pivoting arms, the seats remain level while the ride whirls around.

Setting types:
Integer = a whole number
Double = a decimal Number
Boolean = true/false
Location = In-game coordinates

Ride Settings

Also see Global Ride Settings for other settings.

Size & Seat Layout

Setting Name Type Default Value Description
WIDTH Double, blocks 2.8 The width of the seating area, in blocks.
DEPTH Double, blocks 7.5 The depthof the seating area, in blocks.
PIVOT_HEIGHT Double, blocks 3.5 How far above the base location the ride's centre of rotation should be.
SEATS_PER_ROW Integer 4 Number of seats in each row.
NUMBER_ROWS Integer 7 Number of seats in each row.
RIDE_ROTATION Integer, degrees 0 The overall rotation of the ride. Full 360° rotation range is supported.
SEAT_ROTATION Integer, degrees 0 Additional rotation for the seats, relative to RIDE_ROTATION
ARM_LENGTH Double, blocks 4.35 The length of the rotating arm.

Note: CAPACITY will need to be set independently to match SEATS_PER_ROW x NUMBER_ROWS - these are used for calculating positions, not the number of seats.

Ride Motion

Setting Name Type Default Value Description
ACCELERATION Double 1.0 Adjusts how quickly the ride changes rotation speed.
FRICTION Double 1.5 Adjusts how quickly the ride slows down when swinging. Higher values = stops the ride sooner
GRAVITY Double 1.0 Adjusts the strength of gravity when swinging.
MAX_ROTATE_SPEED Double 4.0 Adjusts the maximum rotation speed of the ride (values in the sequence are relative to this).

Ride Sequence

Setting Name Default Value
SEQUENCE [0.2:50],[-0.3:90],[0.4:110],[-0.5:120],[0.7:115],[0.3:35],[0.1:20],[1.0:261],[0.4:35],[0.0:100],[-0.4:40],[-1.0:240],[-0.4:35],[0.0:80],[0.1:20],[swing:210],[0.8:80],[swing:80],[-1.0:60],[swing:500],[end:120]

Sequence options
The sequence is split into steps, which each take the format: [RotateSpeed:Time],[step2...],[...],[end:time]
RotateSpeed is relative to the max speed setting, 1.0 putting the ride to max speed, 0.0 slowing the ride to a complete stop. Negative values are supported.
You can also use swing in place of a speed to allow the ride to swing via gravity (pendulum style).

Time is in server ticks. (20 = 1 second).

There is one special step [end:time] which will return the ride to it's level/loading position over the time specified.

Note: The default sequence takes up the entire command length, so for longer sequences you may need to enter them in the ride config. Rather than comma separation the config will have each step on a new line. The default sequence is shown below:

FlyingCarpet:
  Sequence:
  - '[0.2:50]'
  - '[-0.3:90]'
  - '[0.4:110]'
  - '[-0.5:120]'
  - '[0.7:115]'
  - '[0.3:35]'
  - '[0.1:20]'
  - '[1.0:261]'
  - '[0.4:35]'
  - '[0.0:100]'
  - '[-0.4:40]'
  - '[-1.0:240]'
  - '[-0.4:35]'
  - '[0.0:80]'
  - '[0.1:20]'
  - '[swing:210]'
  - '[0.8:80]'
  - '[swing:80]'
  - '[-1.0:60]'
  - '[swing:500]'
  - '[end:120]'

Decoration

Setting Name Type Default Value Description
SHOW_ARMS Boolean true Enables the LEFT_ARM and RIGHT_ARM entity types. Adds multiple entities to represent the ride's support arms.
SHOW_CENTER Boolean false Enables the CENTER entity type. Allowing you to add a model at the center of the seats.
SHOW_FRONT Boolean false Enables the FRONT entity type. Allowing you to add a model at the front of the seats.
SHOW_REAR Boolean false Enables the REAR entity type. Allowing you to add a model at the rear of the seats.
SHOW_SEAT_ROW Boolean false Enables the SEAT_ROW entity type. Allowing you to add a model to each row of seats.
NUM_ARMS_LEFT Integer 2 How many arms to show on the LEFT side of the ride.
NUM_ARMS_RIGHT Integer 2 How many arms to show on the RIGHT side of the ride.
ARM_OFFSET_A Double, blocks -0.7 Adjusts the position of the arms relative to the edge of the seating.
ARM_OFFSET_B Double, blocks 0.7 Adjusts the position of the arms relative to the edge of the seating.
ARM_ENTITIES Integer 8 Sets how many entities to use along the arm. 2x ARM_LENGTH will prevent any gaps showing.

Entity Config

Flying Carpet has up to 7 entity categories, some are disabled by default, but give options to attach models to the ride.

Entity Name Default Entity
SEAT MINECART The entity used for the ride seats
LEFT_ARM ITEM_DISPLAY / IRON_BLOCK Visual support arm(s) on the left side of the ride. By default 8 items used per position.
RIGHT_ARM ITEM_DISPLAY / IRON_BLOCK Visual support arm(s) on the right side of the ride. By default 8 items used per position.
CENTER ITEM_DISPLAY Visual center of the seats area for the ride. Disabled by default.
SEAT_ROW ITEM_DISPLAY Visual entity under each row of seats. Disabled by default.
FRONT ITEM_DISPLAY Visual entity at the front of the seats. Disabled by default.
REAR ITEM_DISPLAY Visual entity at the rear of the seats. Disabled by default.

On versions before 1.19.6 ITEM_DISPLAY entities would be replaced with invisible armor stands.