Wormhole

Creates a two way Wormhole which allows units to instantaneously travel between entrances. Entering a Wormhole toggles off any ToggleWeapons that are active.

Wormholes have footprints by default and are selectable in-game.

classlabel = "wormhole_obj"

Stock ODF Commands

animationTime

Float, Default: ~2.5

The amount of time in seconds it takes the Wormhole to go from closed to open stance.

closedScale

Float, Default: ???

Modifies the size of the Wormhole when it is fully closed, as compared to its model file.

openScale

Float, Default: ???

Modifies the size of the Wormhole when it is fully opened, as compared to its model file.

animationRadius*

***Appears non-functional in Armada II / Fleet Ops.

transportRadius

***Appears non-functional in Armada II / Fleet Ops.

disableTimer

***Appears non-functional in Armada II / Fleet Ops.

rotation

***Appears non-functional in Armada II / Fleet Ops.

red_glow

Float, Default: ???

The intensity of red glow of the Wormhole, from 0.0 to 1.0.

green_glow

Float, Default: ???

The intensity of green glow of the Wormhole, from 0.0 to 1.0.

blue_glow

Float, Default: ???

The intensity of blue glow of the Wormhole, from 0.0 to 1.0.

glow_falloff_start

Float, Default: ???

How far from the center of the GameObject before the intensity of the glow begins to drop off.

glow_falloff_range

Float, Default: ???

How far from glow_falloff_start before intensity of the glow is zero (at glow_falloff_range + glow_falloff_start the intensity of the light is zero).

speedEffectRange

Float, Default: ~150.0

The range from the center of the Wormhole when the entering Craft begins to speed up.

maxSpeedFactor

Float, Default: ???

Modifies the Craft's impulse speed by this fraction to generate its maximum velocity as it just enters the center of the Wormhole.

scaleEffectRange

Float, Default: ~0.0

The range from the center of the Wormhole when the entering Craft begins elongating.

maxScaleFactor

Float, Default: ???

The maximum elongation factor (a Craft stretches upon entry), which is achieved as the Craft just enters the center of the Wormhole.

MaxScaleFactor = 2.0

openSound

String, Default: Null

The sound file played when the Wormhole opens. Requires filename extension.

closeSound

String, Default: Null

The sound file played when the Wormhole closes. Requires filename extension.

expireOnClose

Boolean, Default: FALSE

When set to true (1), the Wormhole will close permanently when it closes for the first time.