Battle for Dormitory 1.0.3

Please do not ask when mod authors will update their mods to 3.10 or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

How about a dynamic, juicy, and delicious shootout in the dormitory ?

How about a dynamic, juicy, and delicious shootout in the dormitory ?

Ha ? There aren't many bots spawning there, are there?

Not anymore, son...



Installing:

  • move Dormitory folder to user/mods

Dormitory mod:

  • Concentrates the spawn points in the open zone selected in the configuration file [ /cfg/cfg.json ].
  • Changes the loot in the selected zone to the most valuable that is in the game.
  • Makes some changes to the number of bots.

It is now possible to change several locations at once, through a configuration file.


exam: This entry in the config will change customs and wood


B7a3M0F.png

good_loot also moved to the configuration file

exam:

DiQFWER.png

To make the firefights even more interesting, I recommend installing SWAG.

Many thx to Kobrakon, without whom the existence of the mod would be impossible.

  • If you want this to work in 3.9 do this.


    1. Open up the "package.json" file with notepad.

    2. Change "akiVersion": "3.8.1" to "sptVersion": "~3.9"

    3. Done

    Thumbs Up 1
    • Note that while it does make good loot spawn in, I don't know about the other errors that may show up because the mod isn't updated but so far I haven't had major errors.

      Thumbs Up 1
  • For those wondering, this appears to work just fine on SPT-AKI 3.8.0 as well (just edit package.json - "akiVersion": "3.8.0"). Editing cfg.json you can add any map/location and zone. Overview doesn't mention it, but you spawn in the map/location zone you have.


    Zone Locations: \Aki_Data\Server\database\locations, select the folder with the desired location, open the file base.json, and look for the line OpenZones

    Thumbs Up 1
  • update pls

    Thumbs Up 1
  • Update?

    Thumbs Up 1
  • I am spawning nonstop in dorms .why?

    ? 1
  • download link for google is dead, it's saying it violates terms of service.

  • when ever i use ur mod i get stuck on local game starting

  • Hi, how do i add more maps in the config?

  • what line of code would I have to write to get them all to spawn somewhere in lighthouse? I cant seem to find any openzone references online

    • open zones can be found in the directory SPT\Aki_Data\Server\database\locations, select the folder with the desired location, open the file base.json, and look for the line OpenZones

      So for the lighthouse, the open zones are Zone_Containers,Zone_Rocks,Zone_Chalet,Zone_Village,Zone_Bridge,Zone_OldHouse,Zone_LongRoad,Zone_DestroyedHouse,Zone_SniperPeak,Zone_Island.

      Heart 1
    • love you

  • https://imgur.com/dZG1jGf

    So uh, apparently, cases can spawn with stacks in Dorms with your Mod.

    81 Medicine Cases in a Stack..
    Might wanna try to fix that or something.

  • how can i downgrade loot in dorms

  • i love this

    Happy 1
  • can someone help me when i intsl this mod when someone kill me i can not just go to my stash i must press alt f4 to exit

  • I spent two hours this morning wondering why my bots auto drop weapons on death, and it could all be solved IF I just read the description...
    I love the mod, although is there a way to disable bots dropping their gear on death? It's really annoying.

    • I found the setting for anyone also not wanting bots to drop their gear.
      step 1. open the valknut_src file, then also open valknut folder inside the previous folder.

      step 2 . edit plugin.cs with notepadd (i use notepad++)

      step 3. navigate to the lines of code shown here.
      DropBackPack = Config.Bind("Drop", "Drop backpack.", true, "Drop backpack.");

      DropWeapon = Config.Bind("Drop", "Drop weapon.", true, "Drop weapon.");

      Step4. change values to false.


      Hopefully anyone looking for the same issue can use this comment and not be stuck for hours like myself. XD

    • ?(

      just press f12 find valknut there and turn off drop weapon

    • that works too...

  • It is possible to add all bosses in dorms? I've tried tons of other mods, but they don't work properly.

    • Sure it's possible, I'll do it evening

    • Have you tried installing SWAG ?

    • Not yet. Can i put all bosses in dorms with swag?

      Edit: you don't need to make a mod for this, Just want to know if there's a way to do it.

    • it's not really editing, rather a logical development of the mod, it is possible to add all the bosses, SWAG allows you to do this, as far as I remember
      if not, try this Kiki-AllTheBoss

    • I've tried that one.


      Also in Swag I could only getting more than 1 wave of rougue trio.

      No more bosses than those that usually spawn on customs.

  • This turns into a nightmare if you get out of the dorms with the goons alive, they hunt me down no matter where I am.

    Happy 1
    • It turns out that goons can also respawn. Double trouble.

    • in dorms? I never had that after I killed them.

    • Oh yeah forgot to mention I installed SWAG and It's variety mod

    • Yeah i got the rougue trio spawning twice with the swag variety. And I didn't know it was possible I alt+f4'd xD

    • Hahaha I somehow killed them one time when they spawned the second time, then ran as fast as I could to the V-extract in fear of getting them spawned for the 3rd time and having every goon sprint out of dorms to laser my ass.

  • Does anyone have a reference for all the map code names and open zones? I want to add some new spots but can't find the references.


    This looks like it has massive promise and possibility but with no reference sheet, it's kind of hard to use other than to just have it be a dormitory thing.

    • NICE!! Thank you so much! animefingerdancing

    • If you can't find what you need there, open spt_folder/Aki_Data/Server/database/locations, find the folder with the desired location , it will contain the file base.json

      In it you need to find the "OpenZones" key with the list of open zones for the location

    • One more question would something bad happen if I tried to add more than one zone on the same map?

    • happen

  • i got the the menu screen and almost all the scavs where sniper scavs. worth looking into?

  • Hey man, love the mod! Using this plus more PMC's mod from better spawn variety makes for a blast.


    Having trouble with looting, whenever cases spawn, i only have the option to search them not pick them up. Is there something im missing?

    • that is a backpack restriction. BSG made it so backpacks can't hold cases. You need a mod that removes backpack restrictions. I use server value modifier. HOWEVER a lot of svm features can break this mod so I recommend ONLY ENABLING the backpack restriction removal

      Heart 2
    • Ya know. 1400 hours in vanilla, youd think id remember never being able to put cases in my backpack while organizing the stash. Thank you!

      Thumbs Up 1
    • I pretty sure you used to be able to put cases in your backpack. I remember being able to back in the day. I think its a recent change.

      Thumbs Up 1
    • It was changed for RMT purposes per BSG but yeah, there was a clip of Landmark going labs with a thicc case a while back. It's been restricted for some time

  • the valknut mod doesnt work for me at all none of the mechanics work and when i die i get softlocked well I fall down and get softlocked

    • What version of the server ?

    • i have it to my version is 3.5.5

  • Hello , i love the mod but after the 3.52 update. It doesnt work anymore.

    pls fix :)


    to be exact:

    I still spawn in the dorms

    So do all the scavs

    But the loot doesnt. It now only spawns zibbo, tushonka and all that stuff but never what i typed into the config document.

    • show the configuration file where you put the loot

    • exact same issue


      const config = require("../cfg/cfg.json");

              const location = container.resolve("DatabaseServer").getTables().locations[config.Map].base;
              const looseLoot = container.resolve("DatabaseServer").getTables().locations[config.Map].looseLoot;
              const GreyZone = config.GreyZone;

              let GoodLoot =
      [
                  "59faff1d86f7746c51718c9c",
                  "5d235b4d86f7742e017bc88a",
                  "62a09cfe4f842e1bd12da3e4",
                  "59faf7ca86f7740dbe19f6c2",
                  "590de92486f77423d9312a33",
                  "5c1267ee86f77416ec610f72",
                  "5734758f24597738025ee253",
                  "5d235a5986f77443f6329bc6",
                  "5780cf7f2459777de4559322",
                  "59fafd4b86f7745ca07e1232",
                  "59fb023c86f7746d0d4b423c",
                  "5b6d9ce188a4501afc1b2b25",
                  "5aafbcd986f7745e590fff23",
                  "59fb042886f7746c5005a7b2",
                  "5c0a840b86f7742ffa4f2482",
                  "5c093e3486f77430cb02e593",
                  "5d235bb686f77443f4331278",
                  "619cbf7d23893217ec30b689",
                  "619cbf9e0a7c3a1a2731940a",
                  "5c0126f40db834002a125382",
                  "601948682627df266209af05",
                  "5d1b36a186f7742523398433",
                  "5d1b371186f774253763a656",
                  "5c0530ee86f774697952d952",
                  "5c052e6986f7746b207bc3c9",
                  "5bc9c377d4351e3bac12251b",
                  "57347ca924597744596b4e71",
                  "5c12613b86f7743bbe2c3f76"
      ];

              let SpawnPoint = [];
              let AverageXArray = [];
              let AverageZArray = [];
              let AverageX = 0;
              let AverageZ = 0;

    • this is my config file

      class cfg

      {

      postDBLoad(container)

      {


      /*


      Хуль те тут надо ?


      as u can si, default javascript being a very fucked up nedolanguage,

      is still wildly fucking with typescript:)

      however, both javascript and tipscript are nedolanguages that should not have existed

      C# can also be put on the same pile.


      I'm done, let's play:)


      */


      const config = require("../cfg/cfg.json");


      const location = container.resolve("DatabaseServer").getTables().locations[config.Map].base;

      const looseLoot = container.resolve("DatabaseServer").getTables().locations[config.Map].looseLoot;

      const GreyZone = config.GreyZone;


      let GoodLoot =

      [

      "59faff1d86f7746c51718c9c",

      "5d235b4d86f7742e017bc88a",

      "62a09cfe4f842e1bd12da3e4",

      "59faf7ca86f7740dbe19f6c2",

      "5c1267ee86f77416ec610f72",

      "5734758f24597738025ee253",

      "5d235a5986f77443f6329bc6",

      "59fafd4b86f7745ca07e1232",

      "5aafbcd986f7745e590fff23",

      "5c093e3486f77430cb02e593",

      "5d235bb686f77443f4331278",

      "619cbf7d23893217ec30b689",

      "619cbf9e0a7c3a1a2731940a",

      "5c0126f40db834002a125382",

      "5d1b36a186f7742523398433",

      "5d1b371186f774253763a656",

      "5c0530ee86f774697952d952",

      "57347ca924597744596b4e71",

      "63920105a83e15700a00f168",

      "5c12613b86f7743bbe2c3f76"

      ];


      let SpawnPoint = [];

      let AverageXArray = [];

      let AverageZArray = [];

      let AverageX = 0;

      let AverageZ = 0;


      for (let i in location.SpawnPointParams)

      {

      if (location.SpawnPointParams[i].BotZoneName == GreyZone)

      {

      SpawnPoint.push(location.SpawnPointParams[i].Position);

      AverageXArray.push(location.SpawnPointParams[i].Position.x);

      AverageZArray.push(location.SpawnPointParams[i].Position.z);

      }

      }


      for (let i in AverageXArray) {AverageX += AverageXArray[i]}

      for (let i in AverageZArray) {AverageZ += AverageZArray[i]}


      AverageX = Math.floor(AverageX/AverageXArray.length);

      AverageZ = Math.floor(AverageZ/AverageZArray.length);


      for (let i in looseLoot.spawnpoints)

      if (looseLoot.spawnpoints[i].template.Position.x > AverageX-20 && looseLoot.spawnpoints[i].template.Position.x < AverageX+20)

      {

      if (looseLoot.spawnpoints[i].template.Position.z > AverageZ-20 && looseLoot.spawnpoints[i].template.Position.z < AverageZ+20)

      {

      for (let x in looseLoot.spawnpoints[i].itemDistribution)

      {

      looseLoot.spawnpoints[i].itemDistribution[x].tpl = GoodLoot[Math.floor(Math.random() * GoodLoot.length)];

      looseLoot.spawnpoints[i].itemDistribution[x].relativeProbability = 100;

      }

      }

      }


      for (let i in location.SpawnPointParams)

      {

      location.SpawnPointParams[i].Position = SpawnPoint[Math.floor(Math.random() * SpawnPoint.length)];

      }


      for (let i in location.waves)

      {

      location.waves[i].SpawnPoints = GreyZone;

      location.waves[i].slots_max = 15;

      location.waves[i].slots_min = 5;

      }


      for (let i in location.BossLocationSpawn)

      {

      location.BossLocationSpawn[i].BossChance = 100;

      location.BossLocationSpawn[i].BossZone = GreyZone;

      }


      location.MaxBotPerZone = 50;

      location.MaxPlayers = 50;

      location.BotMax = 50;

      location.BotMaxPlayer = 50;

      location.BotStart = -1;

      location.DisabledForScav = true;

      location.Insurance = false;

      location.MinPlayers = 50;


      location.MinMaxBots =

      [

      {

      "WildSpawnType": "marksman",

      "max": 20,

      "min": 20

      },

      {

      "WildSpawnType": "assault",

      "max": 20,

      "min": 20

      }

      ]


      for (let i in location.exits)

      {

      if (location.exits[i].Id == "5449016a4bdc2d6f028b456f")

      {

      location.exits[i].ExfiltrationType = "Individual";

      location.exits[i].PassageRequirement = "None";

      location.exits[i].ExfiltrationTime = 1;

      location.exits[i].RequirementTip = "";

      location.exits[i].PlayersCount = 0;

      location.exits[i].Chance = 100;

      location.exits[i].Count = 0;

      location.exits[i].Id = "";

      }

      }


      //Make Better Container or not


      if (config.MakeBetterContainer)

      {


      const items = container.resolve("DatabaseServer").getTables().templates.items;


      for (let item in items)

      {

      try

      {

      if (items[item]._props.Grids[0]._props.cellsH != 0)

      {

      items[item]._props.Grids[0]._props.filters[0].Filter = ["54009119af1c881c07000029"];

      items[item]._props.Grids[0]._props.filters[0].ExcludedFilter = [];


      if (items[item]._props.Grids.length == 1)

      {

      items[item]._props.Grids[0]._props.cellsH = items[item]._props.Grids[0]._props.cellsH + 1;

      items[item]._props.Grids[0]._props.cellsV = items[item]._props.Grids[0]._props.cellsV + 1;

      }


      if (items[item]._props.Width > 2 && items[item]._props.Height > 2)

      {

      items[item]._props.Width = items[item]._props.Width - 1;

      items[item]._props.Height = items[item]._props.Height - 1;

      }

      }

      }

      catch (err)

      {continue;}

      }

      }

      }

      }


      module.exports = {mod: new cfg};

  • Hi, hope you're doing well.

    I'm having a bug right now that, whenever I kill someone that is shooting an automatic weapon, it continues to fire without stopping, even after dead.

    Thanks

    • Yes, it happens sometimes, but for me it was very rare, you more often?

    • Every raid.

    • are there any errors in the spt/eft console

    • No, I checked that, and there wasn't any.

    • same error for me. also the mod doesn't spawn more than one wave of ai's for me. also the ai still spawn outside of the dormatorys.

  • If that was in official Tarkov, change I would still play the online version...
    Funniest and very immersive, very well balanced, truly a work of love!

    Heart 1
  • I have a problem where after dying, the game doesnt seem to boot me back to the lobby. once my pmc dies, he just lays on the ground dead, and i cant press escape, or do anything, I will probably uninstall the mod since i cant seem to fix the issue, i like some of the valknut features, but is pointless if i cant die properly

    Thumbs Up 1
    • Same problem for me. There a few suggestion down below.

      For me it happened after I enabled the MakeBetterContainer, I will do a few more test.

    • any red text in the black window with titile "SPT AKI 3.5.0" ?

    • no, im not seeing any console errors

      i didnt enable the containers section, either, but im still having the issue, even after disabling the injury mechanics entirely

      Crying 1
  • Nice mod :love:


    It would be nice to be able to configure:

    - the spawn rate

    - limits (number of total spawned bots, time limit)


    Thank you for the great work anyway.

  • Honestly I am here just for the body clean up.

    Great work anyway!

  • can i stop bots dropping weapon and backpack when killing them?

    • yep, its disabled in the bepinex configuration > drop dead > enable drop weapon/backpack

  • Mod is awesome, hope you introduce it for every map. Tried myself and failed miserably

    • What exactly was the problem?

    • image.pngimage.png?width=785&height=385

    • IDK if its incompatibility with valens but I personally want all hotspots like the resort, all of labs, interchange, and so on to have similar buffs just a bit toned down maybe. Diversity is what im goin for just for fun

    • also the plugin version of valknut kinda didnt work well for me, got piped in the face really hard by his big mcx and ended up just having the same problem as odemppa where i didnt get booted nor could i press esc

    • Now the mod handles only one OpenZone, that's the point of it, the battle is not on the entire location, but only one.

      And in my opinion, Interchange does not have an openzone dormitory.

  • With valknut mod ai scav managed to down me, now i cant get up anymore, can't even use esc to disconnect etc.

    • which version of valknut ?

    • A newest one, 1.0.1. I did disable all falling down mechanics to prevent softlock

    • something like an ancient hand freezing bug ?

    • Not sure about that bug (im pretty new in tarkov). Its like, when ai shoots me and i get falling down animation, my character just lays there looking up and and i cant stand up anymore, all keys (esc, enter backspace) are disabled and game just softlocks. I got this bug once and then disabled all falling down mechanics, i should test that mechanic again to see was it like one time bug only.

    • Try turning on only the fall from the wound and test

  • bortnite 💀

    Thinking 1