Skip to content

Wiremod E2 API

Deyan Dobromirov edited this page Oct 8, 2020 · 73 revisions
            Crankshaft extensions               Out   Description 
image:allPiston(image) image Returns the count of all piston keys
image:clrPiston(image) image Clears the pistons from the crankshaft entity
image:cntPiston(image) image Returns the count of integer piston keys
image:cnvPistonMark(image) image Converts the crankshaft marker vector local to the base entity with general marker and base
image:cnvPistonMark(image) image Converts the crankshaft marker vector local to the base entity with general marker and local base
image:cnvPistonMark(image,image,image) image Converts the crankshaft marker vector local to the base entity with local X, Y, Z marker and general base
image:cnvPistonMark(image) image Converts the crankshaft marker vector local to the base entity with local marker and general base
image:cnvPistonMark(image,image) image Converts the crankshaft marker vector local to the base entity with local marker and local base
image:getPiston(image,image) image Returns the piston bearing timing by an integer key
image:getPiston(image,image) image Returns the piston vector timing by an integer key
image:getPiston(image,image) image Returns the piston bearing timing by a string key
image:getPiston(image,image) image Returns the piston vector timing by a string key
image:getPistonAxis(image) image Returns the shaft rotation axis by an integer key
image:getPistonAxis(image) image Returns the shaft rotation axis by a string key
image:getPistonMax(image) image Returns the piston number highest point parameter by an integer key
image:getPistonMax(image) image Returns the piston number highest point parameter by a string key
image:getPistonMaxX(image) image Returns the piston vector highest point parameter by an integer key
image:getPistonMaxX(image) image Returns the piston vector highest point parameter by a string key
image:getPistonMin(image) image Returns the piston number lowest point parameter by an integer key
image:getPistonMin(image) image Returns the piston number lowest point parameter by a string key
image:getPistonMinX(image) image Returns the piston vector lowest point parameter by an integer key
image:getPistonMinX(image) image Returns the piston vector lowest point parameter by a string key
image:getPistonTune(image) image Returns the piston tuning coefficient by an integer key
image:getPistonTune(image) image Returns the piston tuning coefficient by a string key
image:isPistonExpo(image) image Returns flag if the piston is in exponential mode by an integer key
image:isPistonExpo(image) image Returns flag if the piston is in exponential mode by a string key
image:isPistonLogn(image) image Returns flag if the piston is in logarithmic mode by an integer key
image:isPistonLogn(image) image Returns flag if the piston is in logarithmic mode by a string key
image:isPistonPowr(image) image Returns flag if the piston is in power mode by an integer key
image:isPistonPowr(image) image Returns flag if the piston is in power mode by a string key
image:isPistonRamp(image) image Returns flag if the piston is in triangular mode by an integer key
image:isPistonRamp(image) image Returns flag if the piston is in triangular mode by a string key
image:isPistonSign(image) image Returns flag if the piston is in sign mode by an integer key
image:isPistonSign(image) image Returns flag if the piston is in sign mode by a string key
image:isPistonSignX(image) image Returns flag if the piston is in cross product sign mode by an integer key
image:isPistonSignX(image) image Returns flag if the piston is in cross product sign mode by a string key
image:isPistonTroc(image) image Returns flag if the piston is in trochoid mode by an integer key
image:isPistonTroc(image) image Returns flag if the piston is in trochoid mode by a string key
image:isPistonTrpz(image) image Returns flag if the piston is in trapezoidal mode by an integer key
image:isPistonTrpz(image) image Returns flag if the piston is in trapezoidal mode by a string key
image:isPistonWave(image) image Returns flag if the piston is in wave mode by an integer key
image:isPistonWave(image) image Returns flag if the piston is in wave mode by a string key
image:isPistonWaveX(image) image Returns flag if the piston is in cross product wave mode by an integer key
image:isPistonWaveX(image) image Returns flag if the piston is in cross product wave mode by a string key
image:remPiston(image) image Removes the piston by an integer key
image:remPiston(image) image Removes the piston by a string key
image:setPistonAxis(image,image) image Updates the piston dedicated axis parameter by an integer key and value as number X
image:setPistonAxis(image,image,image) image Updates the piston dedicated axis parameter by an integer key and value as numbers X and Y
image:setPistonAxis(image,image,image,image) image Updates the piston dedicated axis parameter by an integer key and value as numbers X, Y and Z
image:setPistonAxis(image,image) image Updates the piston dedicated axis parameter by an integer key and value as an array
image:setPistonAxis(image,image) image Updates the piston dedicated axis parameter by an integer key and value as a 3D vector
image:setPistonAxis(image,image) image Updates the piston dedicated axis parameter by an integer key and value as a 2D vector
image:setPistonAxis(image,image) image Updates the piston dedicated axis parameter by a string key and value as number X
image:setPistonAxis(image,image,image) image Updates the piston dedicated axis parameter by a string key and value as numbers X and Y
image:setPistonAxis(image,image,image,image) image Updates the piston dedicated axis parameter by a string key and value as numbers X, Y and Z
image:setPistonAxis(image,image) image Updates the piston dedicated axis parameter by a string key and value as an array
image:setPistonAxis(image,image) image Updates the piston dedicated axis parameter by a string key and value as a 3D vector
image:setPistonAxis(image,image) image Updates the piston dedicated axis parameter by a string key and value as a 2D vector
image:setPistonBase(image) image Stores the expression chip general base entity using an entity
image:setPistonExpo(image,image) image Creates exponential default coefficient [10] timed piston by an integer key and highest point angle in degrees
image:setPistonExpo(image,image,image) image Creates exponential tuning coefficient [0..500] timed piston by an integer key and highest point angle in degrees
image:setPistonExpo(image,image) image Creates exponential default coefficient [10] timed piston by a string key and highest point angle in degrees
image:setPistonExpo(image,image,image) image Creates exponential tuning coefficient [0..500] timed piston by a string key and highest point angle in degrees
image:setPistonLogn(image,image) image Creates logarithmic default coefficient [10] timed piston by an integer key and highest point angle in degrees
image:setPistonLogn(image,image,image) image Creates logarithmic tuning coefficient [0..500] timed piston by an integer key and highest point angle in degrees
image:setPistonLogn(image,image) image Creates logarithmic default coefficient [10] timed piston by a string key and highest point angle in degrees
image:setPistonLogn(image,image,image) image Creates logarithmic tuning coefficient [0..500] timed piston by a string key and highest point angle in degrees
image:setPistonPowr(image,image) image Creates power default coefficient [10] timed piston by an integer key and highest point angle in degrees
image:setPistonPowr(image,image,image) image Creates power tuning coefficient [0..500] timed piston by an integer key and highest point angle in degrees
image:setPistonPowr(image,image) image Creates power default coefficient [10] timed piston by a string key and highest point angle in degrees
image:setPistonPowr(image,image,image) image Creates power tuning coefficient [0..500] timed piston by a string key and highest point angle in degrees
image:setPistonRamp(image,image) image Creates triangular timed piston by an integer key and highest point angle in degrees
image:setPistonRamp(image,image) image Creates triangular timed piston by a string key and highest point angle in degrees
image:setPistonSign(image,image) image Creates sign timed piston by an integer key and highest point angle in degrees
image:setPistonSign(image,image) image Creates sign timed piston by a string key and highest point angle in degrees
image:setPistonSignX(image,image) image Creates cross product timed piston with sign output by an integer key and highest point local vector
image:setPistonSignX(image,image,image) image Creates cross product timed piston with sign output by an integer key, highest point local vector and axis vector
image:setPistonSignX(image,image) image Creates cross product timed piston with sign output by a string key and highest point local vector
image:setPistonSignX(image,image,image) image Creates cross product timed piston with sign output by a string key, highest point local vector and axis vector
image:setPistonTroc(image,image) image Creates trochoid timed piston by an integer key and highest point angle in degrees
image:setPistonTroc(image,image) image Creates trochoid timed piston by a string key and highest point angle in degrees
image:setPistonTrpz(image,image) image Creates trapezoidal default coefficient [10] timed piston by an integer key and highest point angle in degrees
image:setPistonTrpz(image,image,image) image Creates trapezoidal tuning coefficient [0..500] timed piston by an integer key and highest point angle in degrees
image:setPistonTrpz(image,image) image Creates trapezoidal default coefficient [10] timed piston by a string key and highest point angle in degrees
image:setPistonTrpz(image,image,image) image Creates trapezoidal tuning coefficient [0..500] timed piston by a string key and highest point angle in degrees
image:setPistonTune(image,image) image Updates the piston dedicated tuning in [0..500] parameter by an integer key and value as a 3D vector
image:setPistonTune(image,image) image Updates the piston dedicated tuning in [0..500] parameter by a string key and value as a 2D vector
image:setPistonWave(image,image) image Creates wave timed piston by an integer key and highest point angle in degrees
image:setPistonWave(image,image) image Creates wave timed piston by a string key and highest point angle in degrees
image:setPistonWaveX(image,image) image Creates cross product timed piston with wave output by an integer key and highest point local vector
image:setPistonWaveX(image,image,image) image Creates cross product timed piston with wave output by an integer key, highest point local vector and axis vector
image:setPistonWaveX(image,image) image Creates cross product timed piston with wave output by a string key and highest point local vector
image:setPistonWaveX(image,image,image) image Creates cross product timed piston with wave output by a string key, highest point local vector and axis vector
        General functions           Out   Description 
getPistonAxis(image) image Returns the expression chip general axis local vector using no arguments
getPistonBase(image) image Returns the expression chip general base entity using no arguments
getPistonMark(image) image Returns the expression chip general rotation marker local vector using no arguments
resPistonAxis(image) image Clears the expression chip general axis local vector using no arguments
resPistonBase(image) image Clears the expression chip general base entity using no arguments
resPistonMark(image) image Clears the expression chip general rotation marker local vector using no arguments
resPistonTune(image) image Clears the expression chip general tuning coefficient [10] using no arguments
setPistonAxis(image) image Stores the expression chip general axis local vector using number X
setPistonAxis(image,image) image Stores the expression chip general axis local vector using numbers X and Y
setPistonAxis(image,image,image) image Stores the expression chip general axis local vector using numbers X, Y and Z
setPistonAxis(image) image Stores the expression chip general axis local vector using an array
setPistonAxis(image) image Stores the expression chip general axis local vector using a 3D vector
setPistonAxis(image) image Stores the expression chip general axis local vector using a 2D vector
setPistonBase(image) image Stores the expression chip general base entity using an entity
setPistonMark(image) image Stores the expression chip general rotation marker local vector using number X
setPistonMark(image,image) image Stores the expression chip general rotation marker local vector using numbers X and Y
setPistonMark(image,image,image) image Stores the expression chip general rotation marker local vector using numbers X, Y and Z
setPistonMark(image) image Stores the expression chip general rotation marker local vector using array
setPistonMark(image) image Stores the expression chip general rotation marker local vector using 3D vector
setPistonMark(image) image Stores the expression chip general rotation marker local vector using 2D vector
setPistonTune(image) image Stores the expression chip general tuning coefficient [0..500] using number
Clone this wiki locally