• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

SOLVED Working track lights

luchian

Administrator
Staff member
AC member NightEye (<thank you) gives a solution for working track lights. As I always seem to stumble upon the original post, and then forget it until I ask myself the question again, here it is as well:

Create a 'semaphore.ini' in your data folder.

Code:
[GROUPS]
DISQUALIFIED=0
READY=3
START=1

[COLOR]
INTENSITY=2.2

[OBJECT_0]
TYPE=1           ; 0=DISQUALIFIED 1=READY 2=START
NAME=AC_SEMAPHORE_RED
ORDER=0          ; it's the first of its set to be turned on

[OBJECT_1]
TYPE=1           ; 0=DISQUALIFIED 1=READY 2=START
NAME=AC_SEMAPHORE_RED
ORDER=1          ; it's the first of its set to be turned on

[OBJECT_1]
TYPE=1           ; 0=DISQUALIFIED 1=READY 2=START
NAME=AC_SEMAPHORE_RED
ORDER=2          ; it's the first of its set to be turned on

[OBJECT_2]
TYPE=2           ; 0=DISQUALIFIED 1=READY 2=START
NAME=AC_SEMAPHORE_GREEN
ORDER=0          ; it's the first of its set to be turned on

This will get you three red lights for 'ready (TYPE=1)' (first 1, then another one, and then another one; see ORDER=X) and green for 'start' (TYPE=2).
In order for any lights to show up you create an object and name it AC_SEMAPHORE_RED/_GREEN (I think any name would do the job as long as they correspond to NAME=X).


Personally, I didn't yet tried it, so let us know about your results :).
 

MacArnu

New Member
Thought I'd share a semaphore system where I had 3 red lights lit up in a row, and then 3 green lights lit up at once on race start. The .ini file looks as following:
Code:
[GROUPS]
DISQUALIFIED=1
READY=3
START=3

[COLOR]
INTENSITY=2.2

[OBJECT_0]
TYPE=1           ; 0=DISQUALIFIED 1=READY 2=START
NAME=Semaphore_Red1
ORDER=0          ; it's the first of its set to be turned on

[OBJECT_1]
TYPE=1          
NAME=Semaphore_Red2
ORDER=1         

[OBJECT_2]
TYPE=1          
NAME=Semaphore_Red3
ORDER=2

[OBJECT_3]
TYPE=2          
NAME=Semaphore_Green1
ORDER=0         

[OBJECT_4]
TYPE=2          
NAME=Semaphore_Green2
ORDER=0         

[OBJECT_5]
TYPE=2          
NAME=Semaphore_Green3
ORDER=0
 

luchian

Administrator
Staff member
This is intended to be used for start lights.
If however you wish to use it other lights/lamps you probably can, but they will be linked to the ready/start position (meaning they will be in state "red" in ready period and then switch to "green" state after race start).
 

Pelukas

New Member
Lo siento, estoy hablando de la línea de boxes, hace el trabajo ini? O es una ini separada.
Bandera azul claro o igual? Otra línea de ini? .
Ejemplo
TYPE=1
NAME = AC_SEMAPHORE_BLUE.
 

DiME

New Member
I tried every possible combination with lettering and ini files, nothing seems to work.
The code MacArnu posted worked, well.. (kind of)
The problem I am facing is that the light objects are always visible, they just get a bit brighter when the race starts,
I thought they would be completely transparent until they are turned on to give illusion of the light turning on?

Also what is startinglights.ini all about? saw it mentioned once in a guide but never here on the threads.
 

fughettaboutit

aka leBluem
I tried every possible combination with lettering and ini files, nothing seems to work.
The code MacArnu posted worked, well.. (kind of)
The problem I am facing is that the light objects are always visible, they just get a bit brighter when the race starts,
I thought they would be completely transparent until they are turned on to give illusion of the light turning on?

Also what is startinglights.ini all about? saw it mentioned once in a guide but never here on the threads.
yes you make startlights gray and dark at creation time in ksEditor and in the texture

the color/glow will come from AC, when using
KS_START_LIGHT_... -> startinglights.ini
using any other name ->semaphore.ini
 
Last edited:

fughettaboutit

aka leBluem
red bull ring: lights are a thing in front of the normal starting lights (some make it slightly transparent, but not here)
upload_2024-6-5_22-58-9.png
 
Last edited:
Top