Path To Tarkov 4.2.2

An Open-World experience

Please backup your profile before using new mods!


Thanks to Theta for the image2165-pathtotarkovmapv2-3-1-png


Description

This mod bring the notion of "offraid position" for the player, it locks certains maps according to this offraid position, change all player spawn points to reflect this positions, bring a multi-stash system (disabled by default) and lock/unlock traders according to the config file.


For example, if the position is "FactoryZB-1011", only Customs and Factory maps should be available for infiltration.


All corresponding offraid positions, extracts and spawn points can be configured via config.json file.


New spawn points can be added in player_spawnpoints.json

Features

- Highly configurable

- Moddable: modders can edit the config dynamically using the PathToTarkovAPI (see below for more details)

- Maps are locked/unlocked according to the offraid position
- Several hideout stash according to your offraid position (and the configuration file)
- Hideout features disabled when player is not on the main stash position (disabled by default)
- Traders are available only on certains offraid position
- Tweak exfiltrations points (fixed for each map + removed restrictions)
- Changed spawn points according to the offraid position

- Certains offraid locations enable/disable the hydration/energy/health restoration (according to config)

- Integration with Priscilu: the trader

- Integration with GearGal trader

- Integration with Gunsmith trader

- Integration with AR Shop (from AR Shoppe Unlimited)

- Integration with Lua's Custom Spawn Points

How to edit the current offraid position

The offraid position is stored in your profile in a dedicated field `PathToTarkov`, you can edit it with a regular text editor.


Known issues

- Some hideout features cannot be disabled without crashing the game (generator, water collector and air filtering unit)

- Jaeger is unlocked as soon as the mechanic quest is completed (he should be unlocked on his location only and after the quest has been completed)

Configuration fields

- enabled: When false, start the uninstallation process

- initial_offraid_position: First start or when player die

- hideout_multistash_enabled: if false, the main stash is accessible everywhere

- traders_access_restriction: if false, all traders are unlocked like in the vanilla game.

- vanilla_exfils_requirements: if true, restore vanilla exfiltrations requirements (except for ScavCooperation exfils)

- bypass_keep_found_in_raid_tweak: disable the FIR tweak (if you want to use with another FIR mod)

- bypass_exfils_override (since 2.7.0): is used if you don't want to let Path To Tarkov override the exfiltrations

- bypass_uninstall_procedure: for development purpose

- bypass_luas_custom_spawn_points_tweak: if you want to let Lua's Custom Spawn Points overwrite player spawnpoints


The other fields speak by themself, don't hesitate to comment if you don't understand something about the config.


Available Exfiltrations

You can find the complete list of available exfiltrations points on github: https://github.com/guillaumear…blob/master/ALL_EXFILS.md

Addons

- Dynamic Time Cycle (not compatible since 3.0.0)

UnInstallation

Before deleting the mod, you can set the `enabled` props to `false` in `config.json` and start the server once.

It does 2 things in all existing profiles:
1. Ensure the main stash is selected
2. Unlock all traders listed in the config (Please note Jaeger will be unlocked only if the Introduction quest is already completed)

Customs spawn points

Lua's Custom Spawn Point Maker can be used to get position and rotation.

For modders

You can change config and spawnConfig dynamically using PathToTarkovAPI, see example in README.

More informations on the README

Read the README.md file for more details on the default configuration.


Credits

- Thanks to the whole SPT-AKI team <3

- Thanks to Fontaine for his contribution that bring us a client dll to allow scav extract to be used :love:<3

- Thanks to Theta for making the image.

- Thanks to adudewithbadaim for making the second image.

- Thanks to r1ft for his contribution. (+ addons mods PTT Extracts Requirements and Dynamic Time Cycle)

- Thanks to gabe_over for making Singler Player Overhaul mod (SPO).

- Thanks to everyone else to help me improve the Path To Tarkov experience.

Images

  • Version 4.2.2

    Work for SPT-AKI 3.5.x

    Fixes

    Offraid position not correctly updated

  • Version 4.2.1

    Bugged! use the next version of PTT instead

    Features

    • update for spt-aki 3.5.0
    • added Streets of Tarkov map (accessible with the Car)
    • added PTT-Extracts.dll client mod (Thanks to Fontaine) to allow the use of scav extract with a pmc
  • Version 4.1.4

    Work for SPT-AKI 3.3.0

    Changelog

    Fixes

    Update for spt-aki 3.3.0

  • Version 4.1.3

    Work for SPT-AKI 3.1.x and 3.2.0

    Changelog

    Fixes

    Fixed crash when create a zero to hero profile with a BEAR character.

  • Version 4.1.2

    Work for SPT-AKI 3.1.x and 3.2.0

    Changelog

    Fixes

    • AKI 3.2.0 migration
    • AKI 3.1.x retro-compat
  • Version 4.1.1

    Work for SPT-AKI 3.1.x

    Changelog

    Fixes

    Added bypass_luas_custom_spawn_points_tweak default option in config.json file

  • Version 4.1.0

    Work for SPT-AKI 3.1.x

    Changelog

    Features

    Integration with Lua's Custom Spawn Point for aki 3.1.1

  • Version 4.0.0

    Work for SPT-AKI 3.1.x

    Changelog

    Migrate to SPT-AKI 3.1.0

  • Version 3.2.3

    Work for SPT-AKI 3.0.0

    Changelog

    Fixes

    Fix profile corruption due to bad mainStashId resolution, please consider v3.2.2 as instable.

  • Version 3.2.2

    This version is instable, please use a version >= 3.2.3

    Changelog

    Fixes

    Fix the uninstallation procedure, now profiles main stash ids are correctly restored

  • @everyone: Before reporting a bug, please be sure to use a stable version of Path To Tarkov (>= 4.2.2)


    Please note no support is provided for older version of spt-aki (< 3.5.x)

    Thanks 1
  • i have 3.7.5 and it is working

  • Doesn't work anymore, sadly.

  • Does PTT work with DONUTS instead of Custom Spawn Points? It does the same, but not sure if the integration in PTT would cause any trouble.

  • I tested 4.2.2 version with SPT 3.5.8 and 3.5.7, but I can't open the other maps. Doesn't matter where I extract I can only trade with Mechanic and Fence.

    • The off raids position seems not able to update atm

    • Works for me. Check the config and see what traders are enabled on all the positions. If you think something doesn't work, you still can add related traders by yourself.

  • It's an interesting concept. Shame the author doesn't give a fuck anymore.

  • when is the update coming for 3.5.7

  • I have the problem that I don't understand how to unlock the other maps. can someone help me?

  • hey i think theres a bug to do with the daily quests

    whenever one expires the main menu refuse's to load no matter what after loading profile data

  • Hello, je n'ai pas pu accéder au menu après le zéro raid et le jeu ne se charge plus, c'est la troisième fois que je dois supprimer le compte et repartir à :(

  • When I reach around level 14-15 my game gets stuck on the loading screen forever. I'm guessing this has something to do with the daily/weekly quests

  • [Exception] : NullReferenceException: Object reference not set to an instance of an object

    can anyone help?

    interchange is whats doing it

  • Here is a link to a hotfixed version of PTT for 3.5.5 :)


    https://www.mediafire.com/file…TFIXED_FOR_3.5.5.zip/file

    • since i downloaded this theres no scavs

      or pmc's

    • Are you saying there are no scav or pmc bots to fight, or no scav or pmc extracts?

      On your other comment about the error, that typically means that the infil point is set incorrectly. Have you modified the config to change any of the paths or anything?

    • what does the hotfix do?

    • This is several versions old. Use Traveler if you want a ptt like experience.


      I also haven't tested Traveler for 3.6.0 yet, but I've heard no complaints.

  • OK so am I doing something wrong?

    I played with PMC, exited at RUAF Roadblock = nothing, then Crossroad = nothing. I should move to Interchange or Woods accordingly right?

    I am using SPT-AKI 3.5.4

  • It is totally fine to extract (where you started) if you dont feel like going further right?

    I have other mods that makes it very hard + doing 0 to hero XD

    • Yes, all extracts that are used in the pathing are ALWAYS available :). (this means you can spawn at factory gate to farm med camp on woods for salewas, then re-extract at the same extract if you want.)

  • Hey everyone :)


    I went ahead and uploaded a version of PTT that has both the hotfix talked about below, and an updated version of the plugin that enables scav extracts that works on 3.5.3 (should work on 3.5.4 too but I haven't tested that). Fontaine was an absolute legend and updated that for me.


    One important think to note, there is an existing issue where certain types of daily quests can cause profile corruptions if PTT is installed. For that reason I HIGHLY suggest using something like Lua's Auto Profile Backup mod so you don't lose your profile.


    Lua's backup mod (check comments for version updated for 3.5.0): Lua's Auto Profile Backup

    Hotfixed PTT: https://drive.google.com/file/…OX4-O/view?usp=share_link

    • Oh sweet! I thought that having all extracts work was a hard "no" but you managed to figure it out... Does this also mean that the train extractions work now too?

    • To be fair I didn't figure it out, just asked Fontaine to update his plugin and he did so very kindly :D.


      I THINK that the train extracts work, yes, if they are set up in a route through the config. I'm currently working on an overhauled config so my familiarity with the trains is minimal as I'm not using them in my config.


      If you mean the scav railroad extracts on Customs though then yes those absolutely work :)

    • Says the file is in owner's trash, will you be updating it again at some point?

    • Yes! Sorry about that. Try now.

  • With the applied fix from below, it seems to work as intended. Yes, you can bypass map restrictions clicking on the "MAP" button below, but ya know, just don't click on it. I followed the map provided, and it works. It's pretty damn cool that I not only have to travel map to map, but also enter through specific extractions just to interact with a Trader. That is insanely fun.


    Other than that, this is an amazing mod, and it seems to be working just fine as of 3.5.4 Version.

    • Hey there!


      Just a heads up, read my most recent comment :) just wanted to give you a heads up about the profile corruption issue and share the plugin update.

  • doesnt seem to work for me, game only has me at the starting factory-customs location. using the exits to get me to woods doesnt adjust my position as it should. only other mod loaded was fontaines realism mod. but it didnt work even when it was removed and a new profile created

    • Doing the fix in Noire's comment below will make it work on 3.5.3. Although the scav extracts aren't currently working still.

  • Mod is great, but doesn't work for 3.5.2 that I saw, and when I play on 3.5.0 it starts to corrupt profiles due to daily quests. Haven't found a way around it :/

    Only hope that @trap can update to 3.5.3 and resolve this issue

  • on SPT 3.5.3 Path to tarkov has problems setting the location and even opening all extracts.

    • Doing the fix in Noire's comment below will make it work on 3.5.3. Although the scav extracts aren't currently working still.

  • There is a slight little issue with this mod.

    The "map" button completely bypasses all locked locations & allows you to enter them anyway.

    Is there a way to mod that button to disappear?

  • For those who having conflict ('cannot resolve mapname')

    here is quick fix for 'map-name-resolver.js'


    ...

    const LOCATIONS_MAPS = {

    customs: "bigmap",

    bigmap: "bigmap",

    factory: "factory4_day",

    factory4_night: "factory4_day",

    factory4_day: "factory4_day",

    reservebase: "rezervbase",

    interchange: "interchange",

    woods: "woods",

    lighthouse: "lighthouse",

    shoreline: "shoreline",

    laboratory: "laboratory",

    ["streets of tarkov"]: "tarkovstreets",

    tarkovstreets: "tarkovstreets"

    };
    ...

    Thumbs Up 1 Heart 1
    • Can confirm this fixes it and allows the offline position to change.

    • reserve seems broken sadly


      edit: think i saw the problem, working on fixing it

      edit2: didnt fix it, but since it wont update the location itself, you can backtrack without getting soft locked

      edit3: I dont take "fuck you" as an answer from any mod, so i ended up fixing it. I also found a way to make it work with the heli extract of "fire support"

      ...


      const LOCATIONS_MAPS = {

          customs: "bigmap",
         
          bigmap: "bigmap",
         
          factory: "factory4_day",
         
          factory4_night: "factory4_day",
         
          factory4_day: "factory4_day",
         
          rezervbase: "rezervbase",
         
          interchange: "interchange",
         
          woods: "woods",
         
          lighthouse: "lighthouse",
         
          shoreline: "shoreline",
         
          laboratory: "laboratory",
         
          ["streets of tarkov"]: "tarkovstreets",
         
          tarkovstreets: "tarkovstreets"
         
      };
      ...

      Happy 1 Thumbs Up 1 Heart 1
    • Itziel; You're a damn legend. :D

      Well done. 8)

      Note:
      There is a slight little issue with this mod.
      The "map" button completely bypasses all locked locations & allows you to enter them anyway.

      Is there a way to mod that button to disappear?

    • Thx, tho i didnt do that much lol. As for modding away that button, honestly, i have no idea. I can try to if you want tho, but it will take me some time since i dont have that much free time, ill let you knof if i find how ^^

      Thumbs Up 1
    • That would be cool.
      I did take a look through the code, but since I have no clue how to call the button; I wouldn't have the slightest idea where to start even writing the code & that has always been my issue picking up someone else's code & continuing on it.

      Again thx for the other fix man! :thumbup:

  • If you want want to use the trader config (can't remember the name of the config) if you want to go to prapor and therapist will you need to find the factory key to exit at gate 0 or is there another way to get to them?

    • You can exit from Office Window in Factory to get to that location. Useful before you get the key. Otherwise go to customs, exit from RUAF roadblock (where Skier is), and then go to woods and run from North RUAF roadblock to Factory gate.

      Thumbs Up 1
    • Thanks

    • good 2 know about the office window possibility

    • does it work for you with the 3.5.2 spt version?

    • This works when using player SCAV. It won't work for me as a PMC. Is there a way to make "Office Window" an extract for your PMC?

      Thinking 1
  • Whenever I go through an exit anywhere (Mainly tested on customs) it throws the error "Path To Tarkov Error: cannot resolve map name from location 'bigmap'"

    Hadn't modified anything at the time.

    Thumbs Up 1
    • OH and I'm using the latest version of this and SPT, for what it's worth.

    • Made a whole, fresh install and only put the untouched documents from your mod in it, same error.

    • I get the same error code as well and Scav extracts not updating offline location. Tested on Factory.

    • i get the same error. and it's not possible to change locations. so you're like stuck at costums/factory... i'm using spt 3.5.2.
      really love the mod btw.

    • Same issue here

  • I can't seem to buy or barter anything with the available traders is this normal or am i missing something. I only have this mod and SPT

    thanks

  • Hey Trap, any chance you could include an updated version of Lua's spawn point maker for the latest update so I can add in more Streets infils for my path to tarkov configs!

    • Lua's spawn point maker work fine on 3.5.0 ;)

      Heart 1
  • Sorry, I'm not good at English.


    oh I'm using 4.2.2


    PTTExtracts.dll occurs problem.


    Problem occurs when using exfils for scav during scav play


    exfils are not working


    I can't get out.


    and I think "traders_access_restriction" also occurs problem


    when generating RepeatableQuest if most traders are locked, game is stoped


    so should change code using


    container.afterResolution("RepeatableQuestController", (_t, result) => {
                result.generateRepeatableQuest = this.generateRepeatableQuest;
    }, { frequency: "Always" });


    in preAkiLoad


    And I changed the generateRepeatableQuest as follows.


    generateRepeatableQuest(
            pmcLevel,
            pmcTraderInfo,
            questTypePool,
            repeatableConfig
    )
    {
            const questType = RepeatableQuestController.randomUtil.drawRandomFromList(questTypePool.types)[0];

            // get traders from whitelist and filter by quest type availability
            let traders = repeatableConfig.traderWhitelist.filter(x => x.questTypes.includes(questType)).map(x => x.traderId);
            // filter out locked traders
            //traders = traders.filter(x => pmcTraderInfo[x].unlocked);
            const traderId = RepeatableQuestController.randomUtil.drawRandomFromList(traders)[0];

            switch (questType)
    {
                case "Elimination":
                    return RepeatableQuestController.generateEliminationQuest(pmcLevel, traderId, questTypePool, repeatableConfig);
                case "Completion":
                    return RepeatableQuestController.generateCompletionQuest(pmcLevel, traderId, repeatableConfig);
                case "Exploration":
                    return RepeatableQuestController.generateExplorationQuest(pmcLevel, traderId, questTypePool, repeatableConfig);
                default:
                    throw new Error(`Unknown mission type ${questType}. Should never be here!`);
    }
    }


    I took out

    traders = traders.filter(x => pmcTraderInfo[x].unlocked);


    so It becomes possible to assign RepeatableQuest to locked traders.


    this could be problem


    but anyway error is disapeared

  • street not incorporate yet?

    • Currently, you can access streets of tarkov through the Car extract only.

  • Small suggestion as I tried to do this outside this mod, but I think my changes are overwritten in the end of each raid, when you update the map available !


    Can you add an option to disable scav runs ? Just locking all maps for scav.

    If it's simple and quick for you to add this option !


    I play Zero to Hero with some hardcore options and I just "force" myself not to use Scav... ^^

  • Hopefully a new updated map can be made, one a bit more clear to read ^^ , if you gave me a detailed list of what extracts went where, and led to what traders (including 3.5 streets) i'd make one to the best of my abilities. Amazing mod nonetheless!

    • Yeah I'll try to work on something for that.


      Currently in 4.2.2, you can go to streets via the Car only.

      Available exfils will be display in-game and don't change the offraid position (you stay in the Car)


      This is available in config.json of the mod