Build_Cube
It creates a cube in the center of the scene.
(Build_Cube /scale layer texture isTexturedDinamic/)
Build_Box
It creates a box in the center of the scene.
(Build_Box /w h b layer texture isTexturedDinamic/)
^
Build_Sphere
It creates a sphere in the center of the scene.
(Build_Sphere /size layer texture isTexturedDinamic/)
^
Build_Cylinder
It creates a cylinder in the center of the scene.
(Build_Cylinder /r h layer texture isTexturedDinamic/)
^
Build_Pyramid
It creates a pyramid in the center of the scene.
(Build_Pyramid /r h layer texture isTexturedDinamic/)
^
Build_Quad
It creates a square in the center of the scene.
(Build_Quad /w h layer texture isTexturedDinamic/)
^
Build_Triangle
It creates a triangle in the center of the scene.
(Build_Triangle /w h layer texture isTexturedDinamic/) ^
Build_Poly
It creates a polygon in the center with set points at the vectors.
(Build_Poly /vectors layer texture isTexturedDinamic/)
^
Build_Circle
It creates a circle in the center of the scene, rext and rint are the radiuses, ini and fin the opening and closure angles, for a perfect circle ini must be equal to 0 and fin to 72, works every 5 degrees of the circle. If an inner circle is not desired, then rint must be equal to 0.
(Build_Circle /rext rint ini fin layer texture isTexturedDinamic/)
^
Build_Icon
It creates an icon in the center of the scene, with a referred item and a selected scale (1 is a normal size).
(Build_Icon /icon scale layer texture isTexturedDinamic/)
^
Build_Line
It creates a line in the center with set points at the vectors.
(Build_Line /vectors grosor color alpha layer texture isTexturedDinamic/)
^
Build_Curve
It creates a line in the center of the scene with points set at the vectors using first the inicial vector, then the support vector and finally the output vector. Then the help and exit vectors are repeated.
(Build_Curve /vectors grosor color alpha layer texture isTexturedDinamic/)
^
Build_Node
It creates a node in the center of the scene which can be used to link other models to it.
(Build_Node /layer/)
^
Build_Text
It creates a text in the center of the scene.
(Build_Text /font texto color width size align layer texture isTextured/)
^
Build_Forma
It creates an object of random shape.
(Build_Forma /cantPunt maxx maxy maxz layer texture isTextured/)
^
setColor
It tints the currently active model.
(setColor r g b)
^
setPosition
It sets the position of the currently active model.
(setPosition x & z)
^
setRotation
It sets the rotation of the currently active model.
(setRotation x & z)
^
getPosition
It updates the position buffer to access each of the axis of the currently active model.
(getPosition)
^
getPositionX
Obtains the x position of the currently active model, in order to update it enter (getPosition).
(getPositionX)
^
getPositionY
Same as with the x position.
(getPositionY)
^
getPositionZ
Same as with the x position.
(getPositionZ)
^
getRotationX
Same as with the x position.
(getRotationX)
^
getRotationY
Same as with the x position.
(getRotationY)
^
getRotationZ
Same as with the x position.
(getRotationZ)
^
pushModel
Sets a new model as currently active, saving a buffer to return to the previous one.
(pushModel model)
^
popModel
It frees the buffer of the currently active model and returns to the previous one.
(popModel)
^
pushObject
Same as pushModel but with objects.
(pushObject obj)
^
popObject
Same as popModel but with objects.
(popObject)
^
pushPlugin
Same as pushModel but with plugins.
(pushPlugin plug)
^
popPlugin
Same as popModel but with plugins.
(popPlugin)
^
pushGrad
Same as pushModel but with gradient plugins.
(pushGrad grad)
^
popGrad
Same as popModel but with gradient plugins.
(popGrad)
^
pushFilter
Same as pushModel but with filter plugins.
(pushFilter filter)
^
popFilter
Same as popModel but with filter plugins.
(popFilter)
^
setModColor
If the current model contains variable color in its polygons:esVariable: true/false
variacion1: variation index 1 0-255
variacion2: offset of variation index 1 0-255(setModColor esVariable /variacion1 variacion2/)
^
setAlpha
It sets alpha levels of the current model.
(setAlpha alpha)
^
Currente_Color
It sets the color that will be used for models created from then on in.
(Currente_Color color)
(Currente_Color r g b)
^
setBlur
It sets the blur for the currently active model.
(setBlur blurx blury quality)
^
setFilter
It sets the filters for the object.
(setFilter /filtros/)
^
setLink
Sets links to an object.
(setLink /model x & z rx ry rz/)
^
disableLink
It disables the link mode.
(disableLink)
^
Create_Move
It creates a plugin of continuous movement, which can be of two sorts:
Easy: soft motion towards a new position.
Noise: movement that resembles a push.
The object has to be assigned, if “global” is typed in, the whole scene will be considered the object.
(Create_Move tipo obj))
^
Create_Gradient
It creates a gradient object.
The mode corresponds to the fill mode: linear or radial.
(Create_Gradient color1 color2 color3 modo alpha1 alpha2 alpha3 angle)
^
Modify_Gradient
It modifies an existing gradient object.
The mode corresponds to the fill mode: linear or radial.
(Modify_Gradient objeto color1 color2 color3 modo alpha1 alpha2 alpha3 angle)
^
Create_ParticleSys
It creates a particles plugin.
Icon: is the element that will be used as a particle.
linked: reveals wether its linked to an object.
linkeda: indicates the object its linked to, if “global” is entered it will refer to the scene in general.
(Create_ParticleSys /icono linked linkeda/)
^
Create_Mixer
It creates a mixer.
(Create_Mixer)
^
Create_Signal
It creates a signal that executes a determined function on every frame or in response to an audio event.
(Create_Signal func)
^
Create_Filter
It creates a filter object, the parameters are the same as the ones noted in Flash documentation.
Types: glow, bevel, blur, color, convol, shadow, gradbevel, gradglow.
(Create_Filter type /params…/)
^
setVar
It sets/creates a variable. If “temp” is entered, the system uses a temporary variables in the function.
(setVar nombre valor /”temp”)
^
getVar
It gives back a variable. If “temp” is entered, the system uses a temporary variables in the function.
(getVar nombre /”temp”)
^
object
It operates on a given object.
Object: Object’s name, linked variable or constant reference.
Action: set: Sets a property val1 with val2.
Get: It gives back the property val1.
getFN: Returns the result of the method val1 using val2 as a parameter.
call: ejecutes the method val1 using val2 as a parameter.
getObjetc: It gives back a pointer to the object.(object objeto accion /val1 val2…/)
(object objeto accion /val1 val2…/)
^
onAudioModo2
Commands action/list to be performed at the event AudioModo2: an event that is launched when the difference between audio volumes in 2 frames is equal or larger than a certain value.
((onAudioModo2 (acc)/(accs…/)
^
addVideoOp
It adds a process to video operations. These define the buffer and what will be shown in each frame on the screen.
The pipeline is: actions prev-> renders 3d -> actions post
order: prev o post
actions:
clear: clears the buffer
drawImage (image mode): draws an image, it can be a gradient, in a certain mode (screen, add, normal, overlay, etc.) see Flash modes.
colorTrans (ra ga ba aa rb gb bb ab /buffer/): it applies a color transformation, if a buffer is assigned, it operates on the buffer not on the output.
applyFilter (filter /buffer): it applies a filter, if a buffer is assigned, it operates on the buffer not on the output.
drawRender: it draws the 3D raw render.
saveRender (index mode): it saves the image to a video buffer in a set mode (screen, add, normal, overlay, etc), see Flash 8 modes.
drawFromBuffer (index mode): it saves the image from a video buffer in a set mode (screen, add, normal, overlay, etc), see Flash 8 modes.
(addVideoOp orden accion /+params/)
(addVideoOp orden accion /+params/)
^
createVideoBuffer
It creates a new video buffer for operations.
(createVideoBuffer ind)
^
videoClrPrev
It clears the preview list of video operations.
(videoClrPrev)
^
videoClrPost
It clears the list of video post operations.
(videoClrPost)
^
videoRenderModeNormal
If it renders the video normally (always) or does so through user operations: 0,1,
mode: draw mode (screen, add, normal, overlay, etc), see Flash 8 modes..
(videoRenderModeNormal do mode)
^
every_frame
An actions or commands list to be executes on every frame.
(every_frame (acc)/(acc..)/)
^
define
It defines a function with a set list of actions or commands.
(define nombre (acc)/(acc..)/)
^
getModel
A certain model becomes the active one.
(getModel modelString)
^
AudioPort
It operates or gets data from the audio port.
accion: getLevel: retrieves the current volume level.
(AudioPort accion)
^
vecToColor
It contains the r g b values in a numeric color value.
(vecToColor r g b)
^
deleteModel
It deletes a certain model.
(deleteModel model)
^
deleteAllModels
It erases all models.
(deleteAllModels)
^
deletePlugin
It deletes a plugin.
(deletePlugin movobj)
^
deleteAllPlugin
It deletes all plugins.
(deleteAllPlugin)
^
deleteGrad
It eliminates a certain gradient.
(deleteGrad gradient)
^
deleteAllGrad
It eliminates all gradient objects.
(deleteAllGrad)
^
deleteFilter
It eliminates a certain filter.
(deleteFilter filter)
^
deleteAllFilter
It eliminates all filter objects.
(deleteAllFilter)
^
deleteAll
It eliminates all models, plugins, gradients and filters.
(deleteAll)
^
deleteVar
It eliminates a variable, if “temp” is entered it eliminates a temporary of the function.
(deleteVar var /temp)
^
deleteAllVar
It eliminates all the variables.
(deleteAllVar)
^
deleteDefinition
It eliminates a definition/function.
(deleteDefinition def)
^
deleteAllDefinition
It eliminates all variables.
(deleteAllDefinition)
^
Vector
It creates a data vector.
(Vector val1 val2 /val3…/)
^
resetGlobal
It restitutes the global scene to the initial center position.
(resetGlobal)
^
setSwitch
Sets the switch in the active mixer.
(setSwitch ind func)
^
doOnAudioModo2
It activates the reaction to audio mode 2 if the active plugin has it.
(doOnAudioModo2 1o0)
^
doOnAudioModo1
It activates the reaction to audio mode 1 if the active plugin has it.
(doOnAudioModo1 1o0)
^
doOnEveryFrame
It activates the reaction on all frames if the active plugin has it.
(doOnEveryFrame 1o0)
^
setBlendMode
It sets the way in which the object is drawn, see blendModes in Flash 8.
(setBlendMode mode)
^
clearScreen
It clears the screen, if a color is chosen, it replaces the video’s colorBase.
(clearScreen /color/)
^
videoColorBase
It replaces the video’s colorBase.
(videoColorBase color)
^
clearTotal
It eliminates all plugins, models, gradients, variables, definitions and video operations, following this operations an image cleaning has to be set on every frame.
(clearTotal)
^
doExtrudeAnim
It displaces some coordinates with animation ext, extmin, limites and mult are xyz vectors.
(doExtrudeAnim /model, pasos, ext, extmin, limitinf, limitsup, mult /)
^
doExtrude
It displaces some coordinates ext, extmin, limites and mult are xyz vectors.
(doExtrude /model, ext, extmin, limitinf, limitsup, mult /)
Constantes
ACTIVE_PLUGIN: last plugin accesed.
ACTIVE_OBJECT: last object accesed.
ACTIVE_MODEL: last model accesed.
ACTIVE_GRADIENT: last gradient plugin accesed.
ACTIVE_FILTER: last filter plugin accesed.
easyMove, methods & properties
newPositions (tipo:FN): calculates new position and rotation.
enableRX posib mod (tipo:FN): enables rotX, possibility, modifier.
enableRY posib mod (tipo:FN): enables rotY, possibility, modifier.
enableRZ posib mod (tipo:FN): enables rotZ, possibility, modifier.
disableRX (tipo:FN): disables RX.
disableRY (tipo:FN): disables RY.
disableRZ (tipo:FN): disables RZ.
velocity (tipo:PROP): transition velocity.
doOnAudioModo1 (tipo:PROP): makes a newPosition at a onAudioModo1
doOnAudioModo2 (tipo:PROP): makes a newPosition at a onAudioModo2
doOnEveryFrame (tipo:PROP): makes a newPosition on each frame.
noiseMove, methods & properties
matrixDO [6 elementos 0,1] (tipo:FN) enables, disables rotation and movement axis on which it operates.
amp (tipo:PROP): noise amplifier in its position.
ampRot (tipo:PROP): noise amplifier in its rotation.
AMPisLinkedToAudio (tipo:PROP): if true, the amp is equal to the audio level times the multiplier.
AMPmultLinkedAudio (tipo:PROP): audio level multiplier.
AMPROTisLinkedToAudio (tipo:PROP): if true, the amprot is equal to the audio level times the multiplier.
AMPROTmultLinkedAudio (tipo:PROP): audio level multiplier
ParticleSystem, methods & properties
setGlow color alpha blurx blury strenght quality inner knockout (tipo:FN) adds glow to the particles.
setBlur blurx blury quality (tipo:FN): adds blur to the particles.
x (tipo:PROP): position of the particle generator.
y (tipo:PROP): position of the particle generator.
z (tipo:PROP): position of the particle generator.
rx (tipo:PROP): rotation of the particle generator.
ry (tipo:PROP): rotation of the particle generator.
rz (tipo:PROP): rotation of the particle generator.
minX (tipo:PROP): minimum limit on velocidadX.
maxX (tipo:PROP): maximum limit on velocidadX.
acelX (tipo:PROP):acceleration on velocidadX.
magnetoX (tipo:PROP):magnetism on ejeX.
minY (tipo:PROP): minimum limit on velocidadY.
maxY (tipo:PROP): maximum limit on velocidadY.
acelY (tipo:PROP): acceleration on velocidadY.
magnetoY (tipo:PROP): magnetism on ejeY.
minZ (tipo:PROP): minimum limit on velocidadZ.
maxZ (tipo:PROP):maximum limit on velocidadZ.
acelZ (tipo:PROP): acceleration on velocidadZ.
magnetoZ (tipo:PROP):magnetism on ejeZ.
_max (tipo:PROP): maximum amuont of particles on screen.
_frecuencia (tipo:PROP): every how many frames it launches a particle.,
_grav (tipo:PROP): force of gravity.
minLife (tipo:PROP): minimum time of frame life.
maxLife (tipo:PROP): maximum time of frame life.
doOnAudioModo2 (tipo:PROP): it activates the generation of particles in audiomode2.
doOnAudioModo1 (tipo:PROP): it activates the generation of particles in audiomode1.
doOnEveryFrame (tipo:PROP): it activates the generation of particles on all frames.
Mixer, methods & properties
Mix (tipo:FN) it mixes between the switcher.
setSwitch ind func (tipo:FN): it sets a switch.
doOnAudioModo2 (tipo:PROP): it activates automatic reaction to audiomode2.
doOnAudioModo1 (tipo:PROP): it activates automatic reaction to audiomode1.
doOnEveryFrame (tipo:PROP): it activates automatic reaction on all frames.Signal, methods & properties
delay cant (tipo:FN): delay before executing an action, amount of events that have to take place before its executed.
doOnAudioModo2 (tipo:PROP): it activates automatic reaction to audiomode2.
doOnAudioModo1 (tipo:PROP): it activates automatic reaction to audiomode1.
doOnEveryFrame (tipo:PROP): it activates automatic reaction on all frames.
Model, methods & properties
setFreezable isFreezable modPorF (tipo:FN): if it suddenly freezes, modPorF is the posibilities of it freezing.
setFX1 do coordsFX1 modFacFX1 (tipo:FN): if it suddenly does fx1, coords is an array with an index of the coordinates that will be affected, modFac is a modifier, by default the value is 30.
setFX2 do modFacFX1 (tipo:FN): if it suddenly does fx2, modFac is a modifier, by default the value is 30.
setModColor do modA modB (tipo:FN): if every polygon of the object has a different tone, it simulates a shading, modA and modB determine the variation.
setBlendMode mode (tipo:FN): object drawing mode (screen, add, etc).
Multiuser Server
Tell text (tipo:FN): prints the text on the output to communicate something to the others.
login name (tipo:FN): logs on to the server with a certain name. Please check repeatedly in the output until the server confirms the log. Once logged the excecuted actions will also be excecuted by the rest of the connected users.
logout (tipo:FN): disconnects from the multi-user server.