KainKondraki-Hostile_Mine icon

Hostile Mine

Configurable hostile tripwire and proximity mines for custom GTFO rundowns.

Last updated 2 days ago
Total downloads 3
Total rating 0 
Categories Rundown Mods Dev Tools
Dependency string KainKondraki-Hostile_Mine-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_GTFO-3.2.1 icon
BepInEx-BepInExPack_GTFO

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

Preferred version: 3.2.1
dakkhuza-MTFO-4.6.2 icon
dakkhuza-MTFO

The premier in GTFO DataBlock editing ;^)

Preferred version: 4.6.2

README

Hostile Mine

Hostile Mine adds configurable hostile mines for custom GTFO rundowns.

After the first game run, the mod creates both HostileMines.example.json and HostileMines.json. The example file is a commented reference, while the real config file is the one you edit for live use.

Mine Types

Tripwire mine

A clearly visible mine with a visible tripwire. Only players can trigger it, and it explodes immediately when the tripwire is touched.

Proximity mine

A more visually hidden mine with no tripwire. When a player enters its trigger range, it starts flashing a warning, then explodes after a short delay.

Placement Modes

Fixed placements

Use fixed placements when you want exact mine locations. A placement group selects a LevelLayoutID/LayoutID, zone Index/LocalIndex, layer, and optional dimension, then its Mines list can hold many local positions and rotations for that same area.

Random distributions

Use random distributions when you want a number of mines spread through a selected area. A distribution selects the same layout and zone information, then controls the mine count, random seed, minimum spacing, sample attempts, enemy spawn point sampling, and optional wall attachment.

Configurable Options

General options:

  • Enabled
  • Name
  • Type: Tripwire or Proximity
  • LevelLayoutID / LayoutID
  • Layer / LevelLayer
  • Index / LocalIndex
  • Dimension / DimensionIndex
  • Position
  • Rotation
  • Forward
  • Yaw / Angle
  • Scale

Trigger and explosion options:

  • TriggerRange
  • TripwireLength
  • TripwireRadius
  • WarningDelay
  • WarningFlashInterval
  • ExplosionRadius
  • DamageMin
  • DamageMax
  • ScanInterval
  • RequiresLineOfSight
  • HideTripwireRenderer
  • UseBuiltInExplosionEffect

Player interaction options:

  • CanBeDisarmed
  • DisarmRange
  • DisarmRequiresLineOfSight
  • CanBeShotDetonated
  • ShotHitboxRadius

Fixed placement options:

  • FixedPlacements
  • Mines
  • Per-mine Enabled, Name, Type, Position, Rotation, Forward, Yaw, Angle, and Scale

Random distribution options:

  • RandomDistributions
  • Count
  • Seed
  • UseEnemySpawnPoints
  • AlignToSpawnPointRotation
  • MinDistance
  • MaxSampleAttempts
  • AllowStacking
  • FloorOffset
  • PositionOffset
  • AttachToWall
  • WallSearchRadius
  • WallOffset
  • WallMountHeight
  • WallSampleDirections
  • SkipIfWallNotFound

Hostile Mine 中文说明

Hostile Mine 为 GTFO 自定义 Rundown 添加可配置的敌对绊雷。

首次启动游戏后,插件会生成 HostileMines.example.jsonHostileMines.json。示例文件带注释,用来参考字段写法;正式配置文件用于实际编辑和生效。

地雷类型

绊线地雷

清晰可见,并带有可见绊线。只有玩家可以触发,玩家碰到绊线后会立刻爆炸。

接近地雷

视觉上更隐藏,没有绊线。玩家进入触发范围后会开始闪烁警告,并在短暂延迟后爆炸。

分配方式

定点放置

适合需要精确摆放地雷的位置。一个放置组会指定 LevelLayoutID/LayoutID、区域 Index/LocalIndex、层级和可选维度,然后在同一个区域的 Mines 列表里批量填写多个局部坐标与角度。

随机分布

适合在指定区域里随机生成一定数量的地雷。一个随机分布组会指定同样的 layout 与 zone 信息,并可控制生成数量、随机种子、最小间距、采样次数、是否使用敌人出生点,以及是否贴墙放置。

可配置项

通用配置:

  • Enabled
  • Name
  • TypeTripwireProximity
  • LevelLayoutID / LayoutID
  • Layer / LevelLayer
  • Index / LocalIndex
  • Dimension / DimensionIndex
  • Position
  • Rotation
  • Forward
  • Yaw / Angle
  • Scale

触发与爆炸配置:

  • TriggerRange
  • TripwireLength
  • TripwireRadius
  • WarningDelay
  • WarningFlashInterval
  • ExplosionRadius
  • DamageMin
  • DamageMax
  • ScanInterval
  • RequiresLineOfSight
  • HideTripwireRenderer
  • UseBuiltInExplosionEffect

玩家交互配置:

  • CanBeDisarmed
  • DisarmRange
  • DisarmRequiresLineOfSight
  • CanBeShotDetonated
  • ShotHitboxRadius

定点放置配置:

  • FixedPlacements
  • Mines
  • 每颗地雷可单独配置 EnabledNameTypePositionRotationForwardYawAngleScale

随机分布配置:

  • RandomDistributions
  • Count
  • Seed
  • UseEnemySpawnPoints
  • AlignToSpawnPointRotation
  • MinDistance
  • MaxSampleAttempts
  • AllowStacking
  • FloorOffset
  • PositionOffset
  • AttachToWall
  • WallSearchRadius
  • WallOffset
  • WallMountHeight
  • WallSampleDirections
  • SkipIfWallNotFound