Hi to all modders friends, Today I would like to ask you if it is possible to make a starting timer working on AC, and how to do it. Let me explain, the idea is to make a timer that counts 5 seconds, and repeat the cycle, without stopping so as to be able to space out the starts of the cars (we are talking about a sort of rally). My idea is to model 5 meshs shaped as the numbers from 1 to 5 and make them light up in sequence, restarting each time, without stopping. Is there a way to do this? Maybe as we do with the starting light, trough the .ini file. Sorry for my English and thanks for your attention! Best regards to all Massimo
yes, but afaik no way to make it synced in online servers: (eventually with INPUT=TIME, but i have no idea how to do the LUT then) also AC timing is completely un-affected with this Code: [CONDITION_...] NAME=BLINKRED ; 20 seconds on INPUT=ONE FLASHING_LUT=(|0=1|0.6666=1|0.6666=0|0.95=0|1=1|) FLASHING_FREQUENCY=0.0333 ; loop 30 seconds FLASHING_SKIP_OFF_STATE=1 FLASHING_SKIP_DOWNHILL_STATE=1 FLASHING_SMOOTHNESS=1 [CONDITION_...] NAME=BLINKYELLOW ; 5 seconds on from 15 seconds in INPUT=ONE FLASHING_LUT=(|0=0|0.45=0|0.5=1|0.6666=1|0.6666=0|1=0|) FLASHING_FREQUENCY=0.0333 ; loop 30 seconds FLASHING_SKIP_OFF_STATE=1 FLASHING_SKIP_DOWNHILL_STATE=1 FLASHING_SMOOTHNESS=1 [CONDITION_...] NAME=BLINKGREEN ; 10 seconds on from 20 seconds in INPUT=ONE FLASHING_LUT=(|0=0,0,0|0.5=0|0.6666=0|0.6666=1|0.95=1|1=0|) FLASHING_FREQUENCY=0.0333 ; loop 30 seconds FLASHING_SKIP_OFF_STATE=1 FLASHING_SKIP_DOWNHILL_STATE=1 FLASHING_SMOOTHNESS=1 [MATERIAL_ADJUSTMENT_...] MATERIALS=blinkred KEY_0=ksEmissive VALUE_0=255,2,1,1 CONDITION=BLINKRED [MATERIAL_ADJUSTMENT_...] MATERIALS=blinkyellow KEY_0=ksEmissive VALUE_0=255,255,1,1 CONDITION=BLINKYELLOW [MATERIAL_ADJUSTMENT_...] MATERIALS=blinkgreen KEY_0=ksEmissive VALUE_0=2,255,1,1 CONDITION=BLINKGREEN
Well, i wrote this and it works not perfectly but it works, now all that remains is to associate it with the server time. little video with the light [CONDITION_5] NAME=BLINKRED ; 20 seconds on INPUT=ONE FLASHING_LUT=(|0=1|0.6666=1|0.6666=0|0.95=0|1=1|) FLASHING_FREQUENCY=0.0333 ; loop 30 seconds FLASHING_SKIP_OFF_STATE=1 FLASHING_SKIP_DOWNHILL_STATE=1 FLASHING_SMOOTHNESS=1 [CONDITION_6] NAME=BLINKYELLOW ; 5 seconds on from 15 seconds in INPUT=ONE FLASHING_LUT=(|0=0|0.45=0|0.5=1|0.6666=1|0.6666=0|1=0|) FLASHING_FREQUENCY=0.0333 ; loop 30 seconds FLASHING_SKIP_OFF_STATE=1 FLASHING_SKIP_DOWNHILL_STATE=1 FLASHING_SMOOTHNESS=1 [CONDITION_7] NAME=BLINKGREEN ; 10 seconds on from 20 seconds in INPUT=ONE FLASHING_LUT=(|0=0,0,0|0.5=0|0.6666=0|0.6666=1|0.95=1|1=0|) FLASHING_FREQUENCY=0.0333 ; loop 30 seconds FLASHING_SKIP_OFF_STATE=1 FLASHING_SKIP_DOWNHILL_STATE=1 FLASHING_SMOOTHNESS=1 [MATERIAL_ADJUSTMENT_10] MATERIALS = luce rossa MESHES = SEMAFORO0_SUB7 KEY_0=ksEmissive VALUE_0=255,2,1,1 CONDITION=BLINKRED [MATERIAL_ADJUSTMENT_11] MATERIALS = luce arancio MESHES = SEMAFORO0_SUB8 KEY_0=ksEmissive VALUE_0=255,255,1,1 CONDITION=BLINKYELLOW [MATERIAL_ADJUSTMENT_12] MATERIALS = luce verde MESHES = SEMAFORO0_SUB9 KEY_0=ksEmissive VALUE_0=2,255,1,1 CONDITION=BLINKGREEN
on the right of this video there is real sequence 0.35 sec, ps i have realized this track for assetto corsa
Great Guys! Thanks to funghettaboutit as always for the solution and thanks to jocala for testing it! Jocala, can I ask you where did you get the semaphore model shown in the video? Thanks again! Massimo
What a pleasure! If is not "private", can you send me it? It should be very helpful for me. Grazie amico Massimo
track config, whether in assettocorsa\content\tracks\yourtrack\extension\ext_config.ini or assettocorsa\extension\config\tracks\loaded\yourtrack.ini
No worries man, congratulations for your track, I saw the video you posted here, on Youtube. Great job! Anyway, I tried to do what you said guys, but not working for me (thinking I did something wrong). In my track there is already the external_config file with the codes for Grass FX and for the ambient lights (Trough BLM Lights App), I have simply pasted the code under the others. I modeled a "timer", imported into my track, and renamed the three meshes and materials of the lights to the correct name (I used exactly your code, Jocala). Did I miss some steps? Maybe some setting to activate in the CSP settings? Thank you guys Massimo