Valid XHTML 1.0!

Corkscrew Generator

corkscrew.png

Generates a quarter of a corkscrew as a .map file to be opened in GtkRadiant.

The fact that there are so many different types of shingles that can be generated is confusing. The three types are: shingles, tiles, and cap. Shingles go along the inside wall of the corkscrew, much like shingles on the inside of a cylinder. Tiles go on the main surface of the corkscrew (the top) and may help prevent "bounching", especially when flipped upright and used as the wall of a loop. A cap goes on the outside wall of the corkscrew and is useful to prevent lemmings when the corkscrew is flipped upright to form a loop; the cap would then be on top of the loop.

outerRadius: The radius of the outside of the corkscrew. This parameter is ignored if shingles are being generated.
innerRadius: The radius of the inside of the corkscrew. When shingles are being generated, this defines the radius of the shingles structure. This parameter is ignored when a cap is being generated.
altitude: The amount of height you gain going along a quarter of the corkscrew, following either the inner or outer circumference. For smoothest results this should be a multiple of slices. If tiles are being generated, you may want to try negative values here in order to come up with the correct tile orientation.
lip: The difference in height between the outer circumference and the inner circumference, taken at the top surface of the corkscrew, not the bottom. If shingles are being generated, this parameter only affects the overall position (translation) of the shingles. This parameter is ignored when a cap is being generated.
slices: The number of slices that the outer and inner circumferences are chopped into. The total number of brushes generated is 2 * slices. If shingles are being generated then the total number of brushes is half that. A cap contains contains one brush more than shingles do.
outerThickness: The thickness, measured vertically, of the corkscrew at the outer circumference. This parameter is ignored if shingles or tiles are being generated.
innerThickness: The thickness, measured vertically, of the corkscrew at the inner circumference. When shingles are generated this defines the "height" of the shingles. This parameter is ignored when a cap is being generated, and also when tiles are being generated.
adjustForOverlappingCylinderCuts: If aligning [either the outer or inner circumference of] this corkscrew with a cylinder generated with Cylinder Generator and the adjustForOverlappingCylinderCuts flag is set for that cylinder, use the flag here as well so that the two would align perfectly. Also applies on Pipe Generator and adjustForOverlappingPipeCuts.
offsetAngle: The angle, in degrees, by which to rotate the corkscrew counter-clockwise. This only applies if normal brushes or tiles are being generated, not shingles or cap.

generate normal brushes Generates ordinary brushes. You may consider generating shingles for the inner wall of the corkscrew to prevent "bouncing" if the player is going to be flung around the inner wall. Also you may want to experiment with tiles and/or an outer cap.
generate cylinder shingles Can be applied to the inside of a corkscrew. These are one-directional when going around. Use this with the default corkscrew orientation (not rotated).
generate ramp shingles, top shingle square Can be applied to the inside of a corkscrew. Use this when the corkscrew is rotated 90 degrees along the X or Y axis, becoming more like a ramp. The shingle at the top of the ramp is square to prevent lemmings when falling on that shingle.
generate ramp shingles, top shingle triangular Can be applied to the inside of a corkscrew. Use this when the corkscrew is rotated 90 degrees along the X or Y axis, becoming more like a ramp. The shingle at the top of the ramp is triangular in cross section, making the shingles suitable for the last quarter of a vertical loop.
generate tiles Can be applied to the top surface of a corkscrew. This is especially useful when the corkscrew is flipped upright and used as the wall of a loop. For normal use (when going around the corkscrew horizontally), be aware that the tiles may have sharp corners pointing upwards, which causes lemmings when falling on them.
generate tiles, reverse direction Exactly like above, except that the direction of the tiles is flipped.
generate outer cap Can be applied to the outside of a corkscrew. This is especially useful when the corkscrew is flipped upright to form a loop, and when players will be falling onto the top of that loop. The cap prevents lemmings.