• Dear visitors,

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

    Team ACM.

Smoke fx at track

I'm trying to add smoke special effect, but only when the race ends. For now I only managed to make it fixed during all the sessions. I did it with this command:

[CONDITION_...]
NAME = FLARE_FLICKERING
INPUT = ONE
FLASHING_FREQUENCY = 1
FLASHING_SMOOTHNESS = 0.9
FLASHING_SKIP_OFF_STATE = 1
FLASHING_NOISE_AMPLITUDE = 2
FLASHING_NOISE_BOUND = 10
FLASHING_NOISE_SPEED = 200
FLASHING_MIN_VALUE = 0.6
FLASHING_SYNCED = 0

[SMOKE_...]
POSITION = -44.64, 0, -219.68
DIRECTION = 0, 1, 0
SPEED = 20
SIZE = 0.1
COLOR = 255, 0, 0, 1
INTENSITY = 1
SPREAD = 8
INTENSITY = 1

[SPARKS_...]
POSITION = -44.64, 0, -219.68
DIRECTION = 0, 1, 0
SPEED = 12
LIFE = 0.3
COLOR = 255, 0, 0, 0.4
INTENSITY = 1
SPREAD_DIR = 2
SPREAD_POS = 0
INTENSITY = 0.05

[LIGHT_...]
POSITION = -44.64, 0, -219.68
DIRECTION = 0, 1, 0
CONDITION = FLARE_FLICKERING
SPOT = 0
DIFFUSE_CONCENTRATION = 1
RANGE = 12
RANGE_GRADIENT_OFFSET = 0.0
COLOR = 255, 0, 0, 0.1

Does anyone know what condition I should put so that it only activates at the end of a race, as it happens with fireworks?

thx
 
INPUT = FLAG_TYPE
LUT = (|0=0|12=0|13=1|14=0|15=0|16=0|)
; 13=1 Session finished
; 14=1 is one lap left

https://github.com/ac-custom-shaders-patch/acc-extension-config/wiki/Tracks-–-Conditions

It might be not working at all :(
Try this, but it doesn't work. They are active all the time...:

[CONDITION_...]
NAME = FLARE_FLICKERING
INPUT = FLAG_TYPE
LUT = (|13=1|)
FLASHING_FREQUENCY = 1
FLASHING_SMOOTHNESS = 0.9
FLASHING_SKIP_OFF_STATE = 1
FLASHING_NOISE_AMPLITUDE = 2
FLASHING_NOISE_BOUND = 10
FLASHING_NOISE_SPEED = 200
FLASHING_MIN_VALUE = 0.6
FLASHING_SYNCED = 0
 

Johnr777

Moderator
Try this, but it doesn't work. They are active all the time...:

[CONDITION_...]
NAME = FLARE_FLICKERING
INPUT = FLAG_TYPE
LUT = (|13=1|)
FLASHING_FREQUENCY = 1
FLASHING_SMOOTHNESS = 0.9
FLASHING_SKIP_OFF_STATE = 1
FLASHING_NOISE_AMPLITUDE = 2
FLASHING_NOISE_BOUND = 10
FLASHING_NOISE_SPEED = 200
FLASHING_MIN_VALUE = 0.6
FLASHING_SYNCED = 0
Thats because your LUT line is incomplete. Example above is how you write a LUT line
 
Thats because your LUT line is incomplete. Example above is how you write a LUT line
Are you sure? What would the LUT be missing? Because I only want it to fire when the race is over. From what I see, the LUT should only contain 13=1 in its syntax. I don't understand what is missing.
 

fughettaboutit

aka leBluem
a lut describes a range, if you only set one value in that range, what you think the values in the whole range are?
Use the goddamn lut
LUT = (|0=0|12=0|13=1|14=0|15=0|16=0|)

why would i write more than necessary?
 
Last edited:
a lut describes a range, if you only set one value in that range, what you think the values in the hole range are?
Use the goddamn lut
LUT = (|0=0|12=0|13=1|14=0|15=0|16=0|)

why would i write more than necessary?
Forgiveness. I didn't know. I thought that with only this value, it would fire at the end of the race. I am trying to understand how it works. I didn't want to bother you, or that you have to write more. Thanks for your help.
 

fughettaboutit

aka leBluem
Forgiveness. I didn't know. I thought that with only this value, it would fire at the end of the race. I am trying to understand how it works. I didn't want to bother you, or that you have to write more. Thanks for your help.
Sorry for the damn :cool: , but this stuff is quite buggy still, so if it still wont work, dont waste more time on it.
 
Sorry for the damn :cool: , but this stuff is quite buggy still, so if it still wont work, dont waste more time on it.
No problem for the damm...
I tried the one you gave me and it doesn't work either. The smoke is lit from the beginning of the practice. It never goes off. I also tried other configurations that include a range and nothing. Unless the values 13 and 14 are changed. That 13 is the last round and 14 is the end of the session. Now I'm going to try it.
 
Yeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees. Thx a lot !!!!!!!!
Here I leave the syntax. If I want to repeat it in several places, I would only have to add a comma in position, right?

[CONDITION_0]
NAME = SMOKE
INPUT = FLAG_TYPE
LUT = (|0=0|12=0|13=1|14=0|15=0|16=0|)
FLASHING_FREQUENCY = 1
FLASHING_SMOOTHNESS = 0.9
FLASHING_SKIP_OFF_STATE = 1
FLASHING_NOISE_AMPLITUDE = 2
FLASHING_NOISE_BOUND = 10
FLASHING_NOISE_SPEED = 200
FLASHING_MIN_VALUE = 0.6
FLASHING_SYNCED = 0
[SMOKE_0]
POSITION = -44.64, 0, -219.68
DIRECTION = 0, 1, 0
SPEED = 20
SIZE = 0.1
COLOR = 255, 0, 0, 1
INTENSITY = 1
SPREAD = 8
INTENSITY = SMOKE
[SPARKS_0]
POSITION = -44.64, 0, -219.68
DIRECTION = 0, 1, 0
SPEED = 12
LIFE = 0.3
COLOR = 255, 0, 0, 0.4
INTENSITY = 1
SPREAD_DIR = 2
SPREAD_POS = 0
INTENSITY = SMOKE
[LIGHT_0]
POSITION = -44.64, 0, -219.68
DIRECTION = 0, 1, 0
CONDITION = FLARE_FLICKERING
SPOT = 0
DIFFUSE_CONCENTRATION = 1
RANGE = 12
RANGE_GRADIENT_OFFSET = 0.0
COLOR = 255, 0, 0, 0.1
 

fughettaboutit

aka leBluem
On this old version of CSP it works, not the 14=1 though!
(hint: use default weatherFX controller- and weather-script)
upload_2022-7-5_14-46-54.png
 
Last edited:
so now i could try it too, anything with FLAG_TYPE doesnt seem to work, goddamn it @x4fab/Ilja!
https://github.com/ac-custom-shaders-patch/acc-extension-config/issues/280
On this old version of CSP it works, not the 14=1 though!
(hint: use default weatherFX controller- and weather-script)
View attachment 7651
I have 0.1.79-preview5 and work !!!

make sure you only have one INTENSITY line per section!
View attachment 7652
Ok.
 
Top