Please login or register.

Login with username, password and session length

News:

Registration is only required if you want to post, and is not needed to read any posts. To avoid excess 'spam' accounts, all accounts where no posts have been made will be deleted after two weeks. Please register again if you wish to post.

Author Topic: Adding light foe bouy  (Read 14220 times)

July 02, 2015, 08:16:13 AM
  • Member
  • **
  • Posts: 18
    • View Profile
Good Day. Would you mind explaining how to add light to buoy.
thank you for your patience

July 06, 2015, 08:17:45 AM
Reply #1
  • Administrator
  • Member
  • *****
  • Posts: 112
    • View Profile
Hi,

To do this,
1) Find the number of the buoy you want to add the light to (from the buoy.ini file)
2) In the light.ini file, add the light by:

Increasing the 'Number=' value by one, and then adding a section in the following format:

Buoy(#)=<Buoy Number>
Height(#)=4.0
Red(#)=255
Green(#)=0
Blue(#)=0
Range(#)=4.0
Sequence(#)="LLDDDDDD"
StartAngle(#)=0
EndAngle(#)=360

Replace the '#' with the number of the light, and <Buoy Number> with the number of the buoy you want to add the light to. This example would add a flashing red light, on for 0.5s, then off for 1.5s, and at 4m above water level.

For more details, have a look at https://www.bridgecommand.co.uk/Doc/WorldFileSpec.php

July 07, 2015, 06:07:58 AM
Reply #2
  • Member
  • **
  • Posts: 18
    • View Profile
Thank you sir. This information was helpful to me.Be blessed