Log in to reply

Need help with traffic light timers

  • Vanilla game has very long red lights and very short green lights. and especially after I installed this mod https://www.gta5-mods.com/misc/realism-enhanced-traffic-and-driver-a-i the red light timer became like 40 seconds and green light is only 5 seconds :(

    In a way it is good to have the cars pile up at junctions but the downside is while one side is being full of cars, other side is being empty since the cars stopping at red light taking up all the space for total car amount.

    So I wanted to at least increase the green light timer to a proper length, say 15 seconds. It's controlled by the file named junctions.xml which is located at mods\update\update.rpf\common\data\levels\gta5 .

    However I couldn't find which line is controlling those unfortunately :(

  • @Aurora11 said in Need help with traffic light timers:

    I couldn't find which line is controlling those

    Bit of a guess here, but I think it's the '<fDuration' values in the '<PhaseTimings>' sections.

    I'd change all the:

    <fDuration value="30.000000" /> <!-- ~1300 of them -->

    in the realism 'junctions.xml' to

    <fDuration value="10.000000" /> 

    & see if that gets you back to something near vanilla & then edit from there.


    Start with the vanilla file & edit all (~1300) of the:

    <fDuration value="10.000000" /> 

    values to something else :thumbsup:

  • @a63nt-5m1th Thank you so so much fren :)) I will try this asap :3

  • @a63nt-5m1th It looks like the author just threw a random number to the duration value and didn't test it. I was felt the red light timer was increased because of using the gameconfig with 1,5x cars. After checking myself and Infinite Question, it turned out the author was just lying about it. Red lights are 12 seconds and tested at multiple junctions :PP

  • @Aurora11 What did you edit it to?

Log in to reply

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.