Depence R4
  • Depence R4 Documentation
  • Getting Started
    • Installation
      • Update
      • Start Options
    • Projects
    • System Requirements
    • Graphics Hardware
  • Program Overview
    • Workspaces
    • Windows
    • Supported File Formats
      • Supported 3D-Model Import Formats
      • Supported Image / Texture Formats
    • Camera & Navigation
    • Render Views
      • Quad View
      • Background Image
    • Shortcuts
    • Fixture Manager
    • Auto Backup
  • Construction
    • Scene Graph & Grouping
      • 3D Hierarchy Filters
      • Group Objects
    • Object Extensions
      • Depending Visibility
      • Spline Arrange
      • Reflector
    • Layers
    • Editor Tools
      • Selection
      • Move Objects
      • Rotate Objects
      • Transformation
      • CAD Editor Snapping
    • Splines
      • Draw a Spline
      • Circle Spline
      • Rectangle Spline
      • Star Spline
      • Formular Spline
    • Nurbs
    • Add Fixtures and Objects
      • Fixture Hang Tool
    • Connect Dependencies
      • Manual Connect
      • Distributors
      • Auto Connect
      • Disconnect
    • Terrain
      • Terrain Sculpting Tool
      • Terrain Painting Tool
      • Terrain Mass Placement Tool
    • Atmosphere
    • Crowds
    • Import 3D Models
      • Tips & Tricks for 3D modeling
    • Arealights
    • Materials
      • PBR Material
        • DMX Control
        • DMX Matrix
        • Chroma-Key
      • Water Material
      • Video-Wall Material
    • Video Sources
      • Camera Video Source
      • Media-Player
      • NDI Video Source
    • My Library
    • Fixtures
      • Lighting Fixtures Settings
      • Modular Fixtures
      • DMX Motors
      • Channel Patch
      • Patching and Multiple DMX Address
      • Replace a fixture by another one
    • Laser
      • Connect Pangolin Beyond
      • Connect Lasergraph DSP
    • Firework
      • Firework by DMX
      • Timeline workflow
        • Alignment
        • Arrange Events
        • Stepper
        • Spline-Positions
      • Build custom Effects
        • Generic Firework Objects
        • Shell
        • Stars
        • Tail
        • Crackle
        • Cake Box
    • Decals
    • MVR
    • Drones
  • Show & Animation
    • Selection Groups
    • Schematic Views
    • Repository
      • Team Management
      • Scenes
        • Scene Fade / Delay Path
      • Audio & Video Files
      • Sequences
      • Playlists
      • MsgCues
      • Scripts
      • Profiles
      • Virtual Masters
    • Programmer
      • Table View
      • Full Open
      • Release/Clear
      • Value Editors
        • Value
        • Position
        • Color Mix
        • Effects
          • Wave FX
          • Color FX
          • Position FX
      • Panorama Alignment
      • Post Selection
      • Store a Scene
      • Palettes
        • Store values in Palette
        • Use a Palette
        • Edit Palette Values
    • Selection Tool
    • Show Sequencer
      • Track Types
        • Repository Scene Track
        • Any Scene Track
        • Fixture Group Tracks
        • Sequence Track
        • Audio Track
        • Video Track
        • DMX-Stream Track
        • MsgCue Track
        • Script Track
        • Multimedia Stream Track
        • Master Track
        • Speed Master Track
        • Intensity Master Track
        • Parameter Tracks
        • Marker Track
        • OSC Track
        • OSC Track
      • Editor
      • Scene Event - Blocks
      • Loop Region
      • Keyframe Animations
        • Easing Options
        • Spline Mode
        • Rail Rotation
      • Camera Animation
      • Sequencer Settings
      • Automatic Light Control (ALC)
      • Using MIDI keyboard.
  • Rendering
    • Video Rendering
      • Render H.264
      • Render Image Sequence
      • Physics and Framerates
      • Synchronize Pangolin Beyond for Video Rendering
    • Image Rendering
      • Long Exposure Rendering
    • Render Settings
      • Scene
      • Lighting
      • Laser Render Settings
      • Fountain
      • Post-FX
    • Virtual Reality
  • Plot & Documentation
  • Hardware & Control
    • Connect to vServer or vNano/wecs
    • Connect a Console
    • Modules
      • NDI
      • Logic Module
        • Logic Module Items
          • External Devices
          • Tools
          • Events
          • Outputs
          • Conditions
          • Inputs
          • Status
          • Tracker
          • Transformation
          • Converter
          • Container
          • Logic Test
          • Syncro Cloud
        • Group Items on a Group Panel
        • Connect a digital Wind Anemometer
        • Connect an analog Wind-Anemometer to a v:Server
        • Routing different DMX universes to the 4 XLR outputs of the vServer
        • Connection example for recording DMX values via the 4 DMX XLR connectors of the vServer.
        • Assign DMX universes to different ArtNet nodes or other Devices.
      • Scheduler
        • Day Schedule
        • Week Schedule
        • Year Schedule
      • ModBus
      • Synchronization
      • Viz-Key
        • Install Viz-Key Driver
        • Connect Depence to a grandMA3 session
        • Potential Issues and Limitations
      • vServer Test Period
    • Live-Panel
    • Scripting
    • Editing the scheduler with the additional 'ShowOrganizer' program
  • Tips & Tricks
    • Network Settings
    • How to use a DeskDough?
    • Using Variables
    • How to export MVR to grandMA3
    • Control Atmosphere by DMX
    • Camera Remote Control
    • Log files
  • Performance
    • Scene Organization
    • Lighting
    • Other optimizations
  • Release Notes
    • Version 4.0.5
    • Version 4.0.0
Powered by GitBook
On this page
  • SELECTION OF FIXTURES
  • SELECTION OF CHANNELS
  • SHORTCUTS
  • EFFECT SETTINGS
  • TIME SETTINGS
  • ADDITIONAL SET COMMANDS
  • ARRANGE INSTRUCTIONS
  • VARIABLES
  • ADDITIONALS COMMANDS
  • Example 1:
  • Example 2 :
Export as PDF
  1. Hardware & Control

Scripting

PreviousLive-PanelNextEditing the scheduler with the additional 'ShowOrganizer' program

Depence offers an extensive script language to execute several control related commands for selection, creating effects and many more.

Using script commands, you can accomplish some interesting tasks that aren't possible with simple scenes. For this purpose, you use the Depence script language and create script files in the 'Scripts' folder within the repository. These script files can be executed within a sequence in a script track.

The following commands are available:

SELECTION OF FIXTURES

  • SELECT FIXTURE 101,102,103

  • SELECT FIXTURE 101 THRU 120

  • SELECT FIXTURE 101 THRU 120 odd

  • SELECT FIXTURE 101,102,110 THRU 120

  • SELECT FIXTURE 101 THRU 120 STEP 4

  • SELECT FIXTURE var1 THRU var2

  • SELECT FIXTURE var1,var2,var3

SELECTION OF CHANNELS

  • SELECT Red

  • SELECT PumpPower

  • SELECT Pan

  • SELECT Iris

SHORTCUTS

  • Set @Full

SET NORMAL DMX VALUE - Special characters are { = at @ to }

  • SET Value = 255

  • SET Value = 100%

  • Set Value = 30 bpm

  • Set Value = 45°

  • Set Value = 10 Hz

  • Set Value = @FeatureName

EFFECT SETTINGS

  • SET Effect = Sinus

  • SET Min = 10%

  • SET Max = 90%

  • SET Center = 50%

  • SET Amplitude = 50%

  • SET Speed = 60 bpm

  • SET Phase = 360°

  • SET Offset = 360°

  • SET Wings = 1

  • SET Blocks = 1

  • SET CutLeft = 0%

  • SET CutRight = 100%

  • SET Width = 100%

TIME SETTINGS

  • SET Fadetime = 2,5s

    • Set the fade time of the immediately following command to 2.5 seconds. (Afterwards, the fade time will reset and needs to be set again for the next command)

  • SET DelayTime = 3,2s

    • Set the delay time of the immediately following command to 3.2 seconds. (Afterwards, the delay time will reset and needs to be set again for the next command)

ADDITIONAL SET COMMANDS

  • SET MASTER VMastername = 100%

  • SET INDEX = 20

    • Sets the counter for the next selection index to 20.

ARRANGE INSTRUCTIONS

  • Set Panorama = |

  • Set Panorama = \

  • Set Panorama = /

  • Set Panorama = >

  • Set Panorama = <

  • Set Panorama = X

VARIABLES

  • Var {name} = {value}

    • Private variable within a script.

  • PVar {name} = {value}

    • Public variable within a project (LogicModule, LivePanel).

ADDITIONALS COMMANDS

  • Play "ShowName"

    • Plays a show.

  • Stop "ShowName"

    • Stops a specific show.

  • Stop

    • Stops all running shows.

  • Timeplaner start {play,run}

    • Activates the daily planner (vServer4 only).

  • Timeplaner stop {end}

    • Deactivates the daily planner (vServer4 only).

  • Call "ScriptName"

    • Calls the script specified in quotation marks. (Note: not recursion-safe).

Example 1:

Clear

SELECT Pan

Set Value = 0°

SELECT Tilt

SET Min = 0°

Set Max = 45°

Set Effect = "Sinus"

Set Speed = 15 bpm

Example 2 :

Clear

SELECT Fixture 101 THRU 110 odd

SELECT Pan

Set Value = 0°

SELECT Tilt

SET Min = 0°

Set Max = 45°

Set Effect = "Sinus"

Set Speed = 15 bpm