Profile image

Custom Blink Light Pattern Tutorial

106k hpgbproductions  7.7 years ago

( ! ) Learnt by examining XML code

Preparation

After the showHalo="true" text, add blinkProgram=" after a spacing and before the />
Alternatively, if you set the light to blink in the editor the blinkProgram text will automatically appear and you only have to change the numbers.

Pattern Creation

Directly after blinkProgram=" , add the Light On Duration and Light Off Duration in an alternating pattern, something like this:

sourced from Gestour's SOS Beacon, no idea where the ending angled bracket went
The pattern automatically restarts when it reaches the end. One time unit is one second (tested with SP Race Timer), and the designerBlinkProgram DOES NOT affect the pattern speed.
0.5,0.5 is quick blink and 0.5,2 is slow blink.

Profit

End with " after your string of numbers. And remember to save! Test it out in the Sandbox level.

  • Log in to leave a comment
  • Profile image

    @hpgbproductions thanks alternating 0,0.5,0.5,0 an 0.5,0,0,0.5 made alternately blinking lights as in one on the other off repeating

    1.4 years ago
  • Profile image

    @Sterben214
    You can use 0.5,0.5 and 0,0.5,0.5,0
    Or use funky trees:
    repeat(Time,1)<0.5 and repeat(Time,1)>0.5

    +1 1.4 years ago
  • Profile image

    Anyone know how to get 2 lights to blink in sync as in one one the other off and so on?

    1.4 years ago
  • Profile image
    6,186 WENHUAISHI

    I got the demo and I found the blink program and used 0.05,0.01 to make an blinking go fast like flickering
    That’s how I made my battle damage freedom gundam eyes flickering after it lost half of its head

    1.5 years ago
  • Profile image
    1,059 MiG21Pilot

    Noice

    4.5 years ago
  • Profile image
    15.4k iMxr

    If possible, can someone actually make a beacon with this program for others to use.

    6.5 years ago
  • Profile image
    1,577 2416creeper

    Nice

    7.6 years ago
  • Profile image

    @2416creeper yes, alternate between on time and off time

    7.6 years ago
  • Profile image
    1,577 2416creeper

    Hahaha yea... mayby in 10 years later. Is it the blink battern like 1 seccond 2 seconds ect?

    7.6 years ago
  • Profile image

    @2416creeper its very simple already, some practice and you will get it

    7.6 years ago
  • Profile image
    1,577 2416creeper

    Cunfusing.. uhh english please and its "simple"planes XD idk how you guys do it but keep up the good work!!,

    7.6 years ago
  • Profile image

    @arcues theres no binary at all

    7.7 years ago
  • Profile image
    8,333 arcues

    do you put binary

    7.7 years ago
  • Profile image

    Honestly... bravo for discovering this. I don't know if there is a running page with all the xml discoveries. Are you aware of a wiki page that covers everything?

    7.7 years ago
  • Profile image

    @Gestour thanks, updated the post

    7.7 years ago
  • Profile image

    Thanks! Thats great help

    7.7 years ago