Marsi4eg Posted May 25, 2017 Share Posted May 25, 2017 (edited) Optimized Traffic Paths for Vice city WHAT IS THIS: Have you ever noticed that there are many wide roads in the game but for some unknown reason all cars in traffic drive in one lane in the middle of the road, instead of driving the whole road? This mod fixes paths and all traffic will now drive in two lanes where it's possible. Also this mod fixes some bugs in default paths: Cars driving out of road near the traffic lights in Washington Beach; Increased width between lanes on some roads to make cars drive in the center of each lane. Properly fixed disabled traffic on Leaf Links bridge, making the game completely bypass the bad code. (2022) HOW TO INSTALL: Just place "paths.ipl" file from the zip archive to your "...\data\maps\" directory. If you also want to fix disabled traffic on Leaf Links bridge - unzip the .cs script file to your "...\cleo\" directory. NOTICE: Leaf Links traffic fix is a one-time use script. Install it, then launch the game, check the traffic on the bridge. If it's enabled, then save your game and remove the script. Fixed data will be saved. SCREENSHOTS: VIDEO: DOWNLOAD: Optimized Traffic Paths v1.2 Leaf Links bridge traffic fix (cleo) Edited January 11, 2022 by Marsi4eg New fixes EenCole, M0rk, Rachel Amber and 26 others 29 Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/ Share on other sites More sharing options...
inadequate Posted May 25, 2017 Share Posted May 25, 2017 Any chance of add traffic to the Leaf Links Bridge? Just like in VCS. Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1069593643 Share on other sites More sharing options...
Marsi4eg Posted May 25, 2017 Author Share Posted May 25, 2017 (edited) Any chance of add traffic to the Leaf Links Bridge? Just like in VCS.I've tried that but unfortunatly no success. It's not related to paths.ipl, not related to zones, I think it's scripted inside scm (or even hardcoded into exe file)I've played with a stripped scm more than 10 years ago, but don't remember if there were any vehicles on that bridge Edited May 25, 2017 by Marsi4eg Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1069593751 Share on other sites More sharing options...
inadequate Posted May 25, 2017 Share Posted May 25, 2017 (edited) Any chance of add traffic to the Leaf Links Bridge? Just like in VCS. I've tried that but unfortunatly no success. It's not related to paths.ipl, not related to zones, I think it's scripted inside scm (or even hardcoded into exe file)I've played with a stripped scm more than 10 years ago, but don't remember if there were any vehicles on that bridge Uh, I don't think so that is a SCM thing, it's so easy... will be hardcoded stuff for sure. But I wanted to ask first because you edited a lot of paths through a simple IPL file. Edited May 25, 2017 by Inadequate Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1069593826 Share on other sites More sharing options...
Ryadica926 Posted May 28, 2017 Share Posted May 28, 2017 No, its SCM related, i tried it before when LCS2VP was still just Vice City with LCS peds, vehs, weapons. and use the stripped SCM. the traffic is there, also leaf links is "crowded" when i use it. Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1069600213 Share on other sites More sharing options...
gts. Posted May 28, 2017 Share Posted May 28, 2017 Where can I get the stripped SCM? Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1069600483 Share on other sites More sharing options...
Nick007J Posted May 28, 2017 Share Posted May 28, 2017 Leaf Links bridge traffic error is present in script SECURI in original VC. inadequate 1 Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1069600508 Share on other sites More sharing options...
inadequate Posted May 28, 2017 Share Posted May 28, 2017 No, its SCM related, i tried it before when LCS2VP was still just Vice City with LCS peds, vehs, weapons. and use the stripped SCM. the traffic is there, also leaf links is "crowded" when i use it. Whoa, I was expecting a bug like the SA ped paths, but even SCM that's nice. Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1069600612 Share on other sites More sharing options...
gts. Posted May 28, 2017 Share Posted May 28, 2017 Leaf Links bridge traffic error is present in script SECURI in original VC. Is there a way to fix it by a CLEO script? Which line is exactly the error? I want to see it. Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1069600646 Share on other sites More sharing options...
Nick007J Posted May 28, 2017 Share Posted May 28, 2017 (edited) Leaf Links bridge traffic error is present in script SECURI in original VC. Is there a way to fix it by a CLEO script? Which line is exactly the error? I want to see it. There is a block between labels SECURI_2342 and SECURI_2726, which inaccurately switches off path nodes when turning off golf club nodes. It accidentally switches off nodes on road between Links Bridge and beach island road system. It causes whole bridge to be switched off. Removing this block entirely reenables Links Bridge traffic. However, more accurate solution would be to select more precise bounds of switched off nodes. Edited May 28, 2017 by Nick007J Marsi4eg and ViceCityMamba80 2 Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1069600685 Share on other sites More sharing options...
gts. Posted May 28, 2017 Share Posted May 28, 2017 Interesting, now I see. Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1069600740 Share on other sites More sharing options...
Grinch_ Posted June 16, 2017 Share Posted June 16, 2017 Cant new set of paths be crated for Leafr Link bridge? Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1069658255 Share on other sites More sharing options...
Marsi4eg Posted March 29, 2018 Author Share Posted March 29, 2018 (edited) Here we go with small fixes: - Removed some extra error nodes that somehow appeared on exporting .ipl. They caused glitches on intersections in Docks and a zone around Escobar Inrernational airport. Most funny thing is nothing was adjusted there in first release but became broken. Download link updated Edited March 29, 2018 by Marsi4eg Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1070167478 Share on other sites More sharing options...
Marsi4eg Posted January 10, 2022 Author Share Posted January 10, 2022 Hey all, here's another little update. Changelog: Re-made optimized paths file to handle all edited nodes more properly; Fixed some more extra error nodes recently found; Added proper fix to enable traffic on the Leaf Links bridge with one-time use cleo script. How it works: ONLY with vanilla main.scm v1.0 Script handles global variable that is being checked by the game code when trying to control the traffic on this bridge. Script removes restrictions if they exist and lock variable to the value that is never accepted by the game code, so the game starts to just ignore the bad part of code. Script will work only after you proceed to 2nd island (completed Phnom-Pehn 86 mission) You can save your game after the fix was used once and then remove it from your cleo folder. Fixed variable will be saved to your savegame and will never reset. Optimized Traffic Paths v1.2 Leaf Links bridge traffic fix (cleo) AshG7, Jinx. and TWIST_OF_HATE 2 1 Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1071772484 Share on other sites More sharing options...
gts. Posted January 11, 2022 Share Posted January 11, 2022 (edited) Apart from fixing the traffic on the bridge? It fixes whole Leaf Links zone? I mean, whole segment is empty from traffic including the bridge until player jumps to another zone. Edited January 11, 2022 by gts. Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1071772612 Share on other sites More sharing options...
Marsi4eg Posted January 11, 2022 Author Share Posted January 11, 2022 2 hours ago, gts. said: Apart from fixing the traffic on the bridge? It fixes whole Leaf Links zone? I mean, whole segment is empty from traffic including the bridge until player jumps to another zone. If you're talking about street cars driving inside the golf club after using this fix - then no, actual golf club zone isn't affected, there will still spawn only golf cars (and on the road in front of golf club entrance), it's probably controlled by some other code. Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1071772655 Share on other sites More sharing options...
Clivesdonovan Posted March 27, 2022 Share Posted March 27, 2022 Can someone tell me why you can't have the fix installed all the time? Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1071827166 Share on other sites More sharing options...
Guest Posted March 27, 2022 Share Posted March 27, 2022 (edited) 36 minutes ago, Clivesdonovan said: Can someone tell me why you can't have the fix installed all the time? The bridge traffic fix script in the mod patches a simple value in the game's code that gets saved along with your save to prevent the game from undoing the re-enabling it does of the traffic paths at the bridge in the same script. So as soon as you have saved the game with the traffic fix installed, you can easily and safely remove it from your CLEO folder any time with no problems at all as it's no longer needed and the game won't ever try to turn those paths off again due to the value that was patched (only on the save that was saved with the script installed). Simple. As for "paths.ipl" part of the mod, yeah, you can have it installed all the time. In fact, I'd recommend Mod Loader for installation: Edited March 27, 2022 by H-G Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1071827170 Share on other sites More sharing options...
maxbraun Posted April 14, 2024 Share Posted April 14, 2024 The CLEO that fixes the bridge also increases traffic at the golf field, but substitute the caddys for normal cars. how can I allow only caddys in the golf field? Maybe a fix would be a good idea? AshG7 1 Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1072369139 Share on other sites More sharing options...
Marsi4eg Posted April 19, 2024 Author Share Posted April 19, 2024 Where exactly did you noticed normal cars in the golf club? If it's somewhere close to the bridge then it won't be fixed because of overlapping map zones. My fix only changes one value that disables nodes near the bridge. Maybe this was a kind of rockstar's attempt to prevent spawning normal cars in some places inside the golf club but as result they disabled whole bridge. If you drive inside the golf club away from the bridge - there will be caddies like they should. Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1072370613 Share on other sites More sharing options...
Roddy2003 Posted August 18, 2024 Share Posted August 18, 2024 Game crashes with bridge fix at address 00000000 Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1072421956 Share on other sites More sharing options...
Roddy2003 Posted August 18, 2024 Share Posted August 18, 2024 script leaflin Local variables dump: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 296004 296004 ******************************************** 533955855&0: [00D6] IF 0 533955859&0: [0038] IS_INT_VAR_EQUAL_TO_NUMBER 1 // TRUE 533955866&1: [004D] GOTO_IF_FALSE 533955873&1: [00D6] IF 0 533955877&0: [0038] IS_INT_VAR_EQUAL_TO_NUMBER 0 // TRUE 533955884&1: [004D] GOTO_IF_FALSE 533955891&1: [01E7] SWITCH_ROADS_ON -291.0 -287.0 0.0 208.0 648.0 35.0 533955923&1: [01E7] SWITCH_ROADS_ON -291.0 -287.0 0.0 208.0 648.0 35.0 533955955&1: [01E7] SWITCH_ROADS_ON -283.0 372.0 0.0 -137.0 608.0 35.0 533955987&1: [0004] SET_VAR_INT 2 533955994&1: [0A93] COMMAND_0A93 Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1072421957 Share on other sites More sharing options...
WedaSan Posted June 11 Share Posted June 11 (edited) Could you also please add traffic that through the shortcut airport road from VCS? If using this mod, which adds the new VCS road from Sunshine Autos directly to the airport. And also the traffic mod that makes Airtrains flying closer to the city. There's already GTA 3 version of it. Wish for Vice City version too. https://www.gtainside.com/en/gta3/mods/149251-improved-airtrain-flight/ Edited June 11 by WedaSan Additional information Link to comment https://gtaforums.com/topic/887950-optimized-traffic-paths-leaf-links-bridge-traffic-fix/#findComment-1072562161 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now