You are viewing a potentially older version of this package. View all versions.
randomguy0753-ZoneScan-2.0.0 icon

ZoneScan

Scan a whole room or zone! whooo!

Date uploaded 2 weeks ago
Version 2.0.0
Download link randomguy0753-ZoneScan-2.0.0.zip
Downloads 323
Dependency string randomguy0753-ZoneScan-2.0.0

This mod requires the following mods to function

dakkhuza-MTFO-4.6.3 icon
dakkhuza-MTFO

The premier in GTFO DataBlock editing ;^)

Preferred version: 4.6.3
BepInEx-BepInExPack_GTFO-3.2.4 icon
BepInEx-BepInExPack_GTFO

BepInEx pack for GTFO. Preconfigured and includes Unity Base DLLs.

Preferred version: 3.2.4
GTFOModding-GTFO_API-0.6.1 icon
GTFOModding-GTFO_API

Modding API for GTFO

Preferred version: 0.6.1

README

ZoneScan

Info

(For rundown devs) This plugin allows you to make any chained puzzle not use the default radius scan, instead it can scan the whole room or zone the scan is in without leaking out of the room/zone. the size or shape of a room/zone doesn't matter. Now with graphics included!

How To Use

Launch the game once and a file will generate here: "\profiles\ [your profile] \BepInEx\plugins\ [your rundown folder] \Custom\ZoneScanConfig\ZoneScanSettings.jsonc"

Inside ZoneScanSettings.jsonc you will find:

{
  "AllowedPersistentIDs": [
    {
      "ID": 8000, // Chained puzzle id
      "UseZoneInsteadOfNode": false, // False = just use the room the scan is in. True = use the whole zone the scan is in
      "AutoGenScanGraphic": false, // False = no auto generated graphics but can still use CustomAlignGraphic. True = Auto generate scan graphics on the doors/open room dividers that are in/out of bounds of the scan
      "IgnoreClosedSecDoor": false, // False = will auto generate graphic on closed sec doors. True = no graphic on closed sec doors, will not update if a sec door opens during scan
      "IgnoreDivider": false, // False = will auto generate graphic on open room dividers. True = wont generate on open room dividers, preferable if there are open room dividers that are single or double drop because its way to hard to generate a graphic properly cause each is different and can change orientation
      "UseSmallDividerGraphic": false, // False = use the BigDivider which is 16x8. True = use SmallDivider which is 8x8, looks better on some smaller open room dividers especially where the elevator transitions to the first tile in the level (for the most part)
      "CustomAlignGraphic": [ // Spawn any of the graphics wherever you want when this chainedpuzzle activates, does not rely on AutoGenScanGraphic being true but can be used when it is set to true, best way to properly position the graphic for open single or double drop dividers
        {
          "ScanGraphic": "SmallDoor", // which graphic to use: SmallDoor (4x4), BigDoor (8x4), SmallDivide (8x8), BigDivide (16x8)
          "Position": { // The world position to put this scan graphic
            "x": 0.0,
            "y": 0.0,
            "z": 0.0
          },
          "Rotation": { // Rotation of the graphic, by default is 0 90 0 so it is upright and not on the floor
            "x": 0.0,
            "y": 90.0,
            "z": 0.0
          }
        },
        {
          "ScanGraphic": "BigDoor", // As many CustomAlignGraphic entries as needed
          "Position": {
            "x": 100.0,
            "y": 0.0,
            "z": 0.0
          },
          "Rotation": {
            "x": 0.0,
            "y": 90.0,
            "z": 0.0
          }
        }
      ]
    }
  ]
}

Old installations (Pre 2.0.0) will not update ZoneScanSettings.jsonc you will need to add the new fields into it to use them

Some things to note:

  • Color of the scan graphics will be the same as the original bioscan
  • The original bioscan will not be deleted
  • To get just the graphics spawned by this plugin you need to set the radius of the BioScanGraphics to 0, this can be done by having a custom PuzzleType

To make a custom PuzzleType get a json file here: "\profiles\ [your profile] \BepInEx\plugins\ [your rundown folder] \Custom" and have it named "PuzzleTypes.json" then you can use this as a template:

{
    "Scans": [
      {
        "Name": "SustainZoneScan",
        "PersistentID": 100,
        "BaseScan": 13,
        "PlayerRequirement": 1,
        "ScanRadius": 1.0,
        "PlayersInScanMulti": [0.05, 0.05, 0.05, 0.05],
        "ReduceSpeed": 0.05,
        "ReduceWhenNoPlayer": true,
        "RevealMode": "ScaleByDistance",
        "BioScanGraphics": {
        "ScanText": "SECURITY SCAN - FULL TEAM",
          "Radius": 0.0,
          "colorModeColor": [
            { "mode": 1, "r": 0.5, "g": 0.0, "b": 0.99, "a": 1.0 },
            { "mode": 2, "r": 0.24, "g": 0.0, "b": 0.99, "a": 1.0 },
            { "mode": 2, "r": 0.24, "g": 0.0, "b": 0.99, "a": 1.0 },
            { "mode": 2, "r": 0.24, "g": 0.0, "b": 0.99, "a": 1.0 }
          ]
        }
      }
    ]
    "Clusters": []
}

With this it will for the most part just be the graphics from this plugin, that is except the "ScanText" which will still show and you can use ECPC to modify its position

Patch Notes

  • 1.0.0 Initial release
  • 1.0.1 Updated this page so its more readable and has more info
  • 1.0.2 Allowed comments, recommend to copy your existing file and then delete the ZneScanConfig folder to let it regenerate the jsonc file
  • 1.1.0 Added support for repositioning scans with ECPC, logs are now actually accurate
  • 1.1.1 Fixed a small issue
  • 2.0.0 Added auto generated scan graphics (its about time)

Feedback

  • Post in the feedback thread on the GTFO modding discord or message me on discord to give feedback and report bugs: randomguy#0753