Posted: Tue May 19, 2020 10:00 am Post subject:
Can someone enlighten me on map lighting triggers
I'm trying to make a storm that temporarily dims the map until a rain storm sound is finished playing, but while the audio portion is just fine, the set ambient lighting step/rate/level clearly aren't, nothing happens to lighting.
Now I've looked at ModEnc and some other stormy script that crashes the game, and the values don't make sense. ModEnc is unclear about ranges, I see ridiculously large numbers on the map, and FA2 asks for a float which suggests the same range as the [Lighting] section uses...
Spare few minutes to read that post or the whole thread. AmbientChangeRate and AmbientChangeStep in rules give default decimal values. Map actions of 71 and 72 are for step and rate which can be computed with the little tool I shared from decimal values. Map action 73 is used to set the needed ambient level which will be reached with gradual change in lighting from the current level. QUICK_EDIT
No, the coversion is for map actions 71 and 72 only (start with default decimal of .2 rate and .1/.2 step and convert it to number). Action 73 uses values in range 0-100. Your images show 2 of the same action 73. QUICK_EDIT
Ok sooo I think I have this sorted out. Steps have to be multiples of 0.1 to work it seems, and I was making the mistake of the rate having to be large. The time between steps has to be short and the target ambient value has to be a small drop too, I recorded a video showing a 0.16 (1042536202) rate going to 65% ambient and back to 100%. It isn't great, I'd prefer smaller steps, but it's a working starting point for weather.
So rule of thumb: start with a 0.1 value for step and rate alike (1036831949), and keep the ambient drop to a nominal 20-30% max.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum