Hello Guest November 23, 2024, 02:01:33 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
Pages: [1]   Go Down

Author Topic: Custom Ship light help  (Read 2100 times)

RMS Gigantic

  • Forum member
  • Posts: 2601
Custom Ship light help
« on: October 06, 2009, 04:00:41 »

Working on some custom lights, and I want to know:

Given the following five:

         <OffWhileBeingTowed Type="Val"> 0/1 </OffWhileBeingTowed>
         <OnWhileMoored Type="Val"> 0/1 </OnWhileMoored>
         <OffWhileMoored Type="Val"> 0/1 </OffWhileMoored>
         <OffWhileTowing Type="Val"> 0/1 </OffWhileTowing>
         <OnWhileTowing Type="Val"> 0/1 </OnWhileTowing>

Do you know of a way to have a light be off regularly, but on when moored and being towed for something that is not able to tow?
Logged

TJK

  • Guest
Re: Custom Ship light help
« Reply #1 on: October 10, 2009, 17:50:09 »

Working on some custom lights, and I want to know:

Given the following five:

         <OffWhileBeingTowed Type="Val"> 0/1 </OffWhileBeingTowed>
         <OnWhileMoored Type="Val"> 0/1 </OnWhileMoored>
         <OffWhileMoored Type="Val"> 0/1 </OffWhileMoored>
         <OffWhileTowing Type="Val"> 0/1 </OffWhileTowing>
         <OnWhileTowing Type="Val"> 0/1 </OnWhileTowing>

Do you know of a way to have a light be off regularly, but on when moored and being towed for something that is not able to tow?
Hope this help you
<OffWhileBeingTowed Type="Val"> 0 </OffWhileBeingTowed>
         <OnWhileMoored Type="Val"> 0 </OnWhileMoored>
         <OffWhileMoored Type="Val"> 1 </OffWhileMoored>
         <OffWhileTowing Type="Val"> 0 </OffWhileTowing>
         <OnWhileTowing Type="Val"> 0 </OnWhileTowing>

Tore
Logged

RMS Gigantic

  • Forum member
  • Posts: 2601
Re: Custom Ship light help
« Reply #2 on: October 10, 2009, 19:07:36 »

Thanks. Trying that out, though, the light is on regularly, turning off when mooring, but being on when being towed.

It seems that for a light to be normally off on a non-towing ship, the last value must be sent to "1"

This, however, also seems to make it impossible for the mooring options to have any effect.
Logged
Pages: [1]   Go Up
 
 


SMF 2.0.14 | SMF © 2017, Simple Machines