You are viewing a potentially older version of this package. View all versions.
MindAttic-GtfoEZAbsurdItems-13.0.0 icon

GtfoEZAbsurdItems

GTFO.EZ companion: artifacts buff whoever picks them up for the level, the Hand Grenade and the Stim Pack (overheal and damage boost), and loot is a few small health, tool and ammo kits plus grenades and stims. Every feature toggles on/off.

Date uploaded a month ago
Version 13.0.0
Download link MindAttic-GtfoEZAbsurdItems-13.0.0.zip
Downloads 54
Dependency string MindAttic-GtfoEZAbsurdItems-13.0.0

This mod requires the following mods to function

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

README

GTFO.EZ.AbsurdItems

(Listed on Thunderstore as GtfoEZAbsurdItems. Package names there can only use letters, numbers and underscores, so they can't contain a period.)

GTFO.EZ.AbsurdItems is a GTFO.EZ companion mod, built on GTFO.EZ's core: it carries GTFO.EZ's shared code (the Insert/Delete infinite ammo and health toggles, and MessageHelper, which puts on-screen messages wherever they fit) and works with or without GTFO.EZ installed. It was called GTFO.AbsurdItems before its first release.

A BepInEx plugin for GTFO that changes items and pickups: artifacts buff whoever picks them up for the rest of the level, two new consumables - the Hand Grenade and the Stim Pack - and the consumables found in lockers, boxes and lying around are a few small health, tool and ammo kits plus those two. No game files are shipped or edited.

Every feature has its own on/off switch, and its numbers can be retuned, in the config file BepInEx creates on first launch: BepInEx\config\MindAttic.GTFO.EZ.AbsurdItems.cfg. Its first entry, [0. Mod] Enabled, is the master switch: set it to false and the whole mod is off - nothing is patched, no item is added, no hotkey or loot change - and the other GTFO.* mods treat it as not installed.

What it changes

Feature Vanilla Default Switch
Artifact buffs (Bold / Aggressive / Muted) count toward boosters only +5% max health / +5% damage / 5% harder to detect, each, for the level [Artifacts] Artifact Buffs Enabled
Hand Grenade (new consumable) - a lock melter thrown like a glowstick, blowing after 3 s; found as loot, up to 6 carried [Hand Grenade] Hand Grenade Enabled
Stim Pack (new consumable) - heals 33% of max health and can overheal to 200%, draining back down; +33% damage for 15 s [Stim Pack] Stim Pack Enabled
Consumables are kits (lockers, boxes, lying around) mixed items a few small health, tool and ammo kits, 1-2 charges each, adding about 20% to the zone's resource packs [Loot] Consumables Are Kits
Loot mix - Hand Grenades and Stim Packs join the kits; 60% of the loot lies out in the open [Loot] Loot Mix Enabled
Infinite ammo / health none Insert / Delete toggles, off at the start -

Artifact buffs and Consumables Are Kits moved here from GTFO.EZ, the Hand Grenade, Stim Pack and Loot Mix from GTFO.EZ.AbsurdWeapons - each with the same settings and defaults, except that the kit settings both of those mods had are now one set (see [Loot]).

Artifact buffs

Picking up an artifact buffs whoever picked it up until the level ends: each Bold (the game's Uncommon) adds max health, healed too; each Aggressive (Rare) adds damage to enemies, guns and melee; each Muted (Common) makes you harder for enemies to detect, capped at 75%. A checkpoint restart that puts an artifact back in the level takes its buff off again. Every player's pickups count on every game, so the host's enemies hear the Muted and each player's own hits carry the Aggressive; max health only changes on your own game.

[Artifacts]

Setting Default What it does
Artifact Buffs Enabled true Turns artifact buffs on or off.
Bold: Max Health (%) 5 Max health added per Bold artifact, in percent of your starting max health.
Aggressive: Damage (%) 5 Damage to enemies added per Aggressive artifact.
Muted: Quieter (%) 5 How much harder you are to detect per Muted artifact (capped at 75%).

Consumables are kits

Consumables found in lockers, boxes or lying around are the game's own health, tool and ammo packs, as small kits of 1 or 2 charges (one charge is one use, 20% of a pack), and sparse: together they add about 20% (Kit Loot) to the zone's normal resource packs, which spawn as usual. The split between health, ammo and tool kits follows the zone's own resource budget. Turn it off for vanilla consumables (and no Loot Mix). The host's settings decide what spawns.

With GTFO.EZ installed, its data changes (consumable spawn multiplier, resource budget) apply first, and its own consumable spawn odds are skipped while this is on.

Loot mix

On top of the kits, with Loot Mix Enabled (on by default): Hand Grenades at 4 to the kits' 3, so grenades are common, and Stim Packs at 1 - both in the same lottery as the kits, so the kits still add their 20% and these come on top. 60% of the loot (OutInTheOpenShare) lies out in the open, like artifacts, instead of in boxes and lockers. Off: kits only, where the game puts them. It's one kit-loot run either way, with one set of kit settings.

[Loot]

All of it takes effect on restart.

Setting Default What it does
Consumables Are Kits true Turns kit loot on or off. Off: vanilla consumables, and no Loot Mix.
Kit Loot (%) 20 How much the kits add, in percent of a zone's normal health, ammo and tool pack budget (averaged over the difficulty tiers).
Health Kit Weight 1 Multiplies the odds a kit is a health kit (the zone's budget already sets the split; 1 keeps it). 0 leaves health kits out.
Tool Kit Weight 1 The same for tool kits.
Ammo Kit Weight 1 The same for ammo kits.
Kit Charges Min 1 Fewest charges a kit holds.
Kit Charges Max 2 Most charges a kit holds.
Loot Mix Enabled true Hand Grenades and Stim Packs join the kits, and OutInTheOpenShare of the loot lies out in the open.
HandGrenadeWeight 4 With Loot Mix on: odds a loot consumable is a Hand Grenade, against the kits' weights (1 each).
StimPackWeight 1 With Loot Mix on: relative odds it's a Stim Pack (only while the Stim Pack is switched on).
OutInTheOpenShare 0.6 With Loot Mix on: share (0-1) of the loot left lying out in the open instead of in boxes and lockers.

With every kit weight at 0, no kits spawn - only Loot Mix's Hand Grenades and Stim Packs, if it's on.

GTFO.EZ.AbsurdWeapons' Loot Mix had its own copies of the kit settings (KitLootPercent, HealthKitWeight, ToolKitWeight, AmmoKitWeight, KitChargesMin, KitChargesMax); they're merged into GTFO.EZ's names above (Kit Loot (%), Health Kit Weight, ...), which mean the same and have the same defaults. Its Loot Mix Enabled, HandGrenadeWeight, StimPackWeight and OutInTheOpenShare keep their names.

Hand Grenade

The glowstick's own item, cloned - so the throw, bounce and sync are all vanilla - wearing a lock melter's look. Hold to wind up and release to throw (twice as hard as a glowstick); it bounces around, flashing red faster and faster, and blows after 3 seconds: 60 damage at the center, falling to a quarter at 6 m, x6 stagger, and it breaks padlocks in reach. It never hurts players.

Nobody starts with any: each one you find as loot (see Loot mix) is 1 more, up to 6 carried. Thrown ones are gone. The terminal lists them as Hand Grenades (key HAND_GRENADE), not glow sticks.

[Hand Grenade]

Setting Default What it does
Hand Grenade Enabled true Adds the Hand Grenade at all (takes effect on restart). Off: not added, and not in the loot.
FuseSeconds 3 Seconds from the throw until it explodes.
ThrowForceMultiplier 2 Multiplies the glowstick's own throw strength.
BlastRadius 6 Metres the blast reaches.
BlastDamage 60 Damage at the blast's center.
BlastEdgeFraction 0.25 Share of damage left at the blast's edge.
BlastStagger 6 Blast stagger multiplier.
PickupCount 1 How many one pickup holds (takes effect on restart).
MaxCarried 6 The most you can carry.

[Sounds]

Setting Default What it does
HandGrenadeThrow FRAGGRENADETHROW Throwing a Hand Grenade (instead of the glowstick's toss). Empty = silent.
HandGrenadeBounce FRAGGRENADEBOUNCE A Hand Grenade bouncing (instead of the glowstick's clatter). Empty = silent.

Stim Pack

A consumable of its own - the I2-LP syringe's item cloned, so the I2-LP itself is left as it is - that's an overheal like Doom's. It gives 33% of your max health and can take you past max, up to 200%; anything above max then drains back down to 100% at 1% of max a second. Damage eats into the overheal first. For 15 seconds after a Stim Pack, everything you hit (guns and melee) takes 33% more damage. The overheal only adds and takes back its own share of max health, so a Bold artifact's bonus survives it. Found as loot (see Loot mix).

[Stim Pack]

Setting Default What it does
Stim Pack Enabled true Adds the Stim Pack at all (takes effect on restart). Off: not added, and not in the loot.
HealPercent 33 Health a Stim Pack gives, in percent of max health.
MaxHealthPercent 200 How high it can take your health, in percent of max health.
DrainPercentPerSecond 1 How fast health above max drains back to max, in percent of max a second.
DamageBoostPercent 33 Extra damage dealt (guns and melee) while the boost runs, in percent.
DamageBoostSeconds 15 How long the damage boost lasts after a Stim Pack.

Infinite ammo and health

Insert toggles infinite ammo (every gun and tool stays full, no reloads) and Delete infinite health (no damage to you; bots and teammates are unaffected), each announced in the event log. Both start off. They're the same two keys every GTFO.* mod has, from one shared copy of the code written in GTFO.EZ; with several of the mods installed, only one answers, so a press never toggles twice.

Compatibility

  • GTFO.EZ used to have artifact buffs and Consumables Are Kits; both moved here. Running an older GTFO.EZ build alongside this mod buffs each artifact twice: switch one of them off in its config.
  • GTFO.EZ.AbsurdWeapons used to have the Hand Grenade, Stim Pack and Loot Mix; all three moved here. Running an older GTFO.EZ.AbsurdWeapons build alongside this mod adds both mods' copies of the items (the second one to load finds the item id taken and skips it) and fills the loot twice: update it, or switch its Hand Grenade, Stim Pack and Loot Mix off. Otherwise compatible - it leaves artifacts in place, so artifact buffs work with it installed.
  • Your old settings carry over. On first run, each moved setting that isn't in this mod's .cfg yet is copied from MindAttic.GTFO.EZ.cfg (artifact buffs, Consumables Are Kits and the kit settings) or MindAttic.GTFO.EZ.AbsurdWeapons.cfg (Hand Grenade, Stim Pack, their sounds, Loot Mix - and the kit settings instead, if its Loot Mix was on, since those were the ones in use). After that this mod's .cfg is the one that counts; a setting already in it is never overwritten.
  • Turning a mod off: every GTFO.* mod's .cfg starts with [0. Mod] Enabled; a GTFO.* mod switched off there counts as not installed for the others.
  • Artifact buffs haven't been confirmed in play yet. Muted scales the game's per-player detection modifier (PlayerAgent.GetDetectionMod); whether enemies consult it for ordinary movement noise is the part to check.

Building

.\build.ps1                         # builds into the "GTFO - Easy Mode DEV" mod-manager profile and zips package\ into dist\
.\build.ps1 -Profile "My Profile"   # another Thunderstore Mod Manager profile

Needs the .NET 6 SDK and a GTFO profile with BepInEx installed (BepInEx's core and interop DLLs are the build references).

Project layout

src/GTFO.EZ.AbsurdItems/
  Plugin.cs              BepInEx entry point: binds each feature's config, applies Harmony patches
  ArtifactBuffs.cs       Per-player artifact counts and the max health, damage and detection buffs
  ConsumablesAreKits.cs  Runs the shared kit loot at GameDataInit, after GTFO.EZ's tweaks, with Loot
                         Mix's Hand Grenades and Stim Packs as extras
  HandGrenade.cs         Hand Grenade consumable: glowstick clone, lock-melter look, throw force, fuse, cap
  StimPack.cs            Stim Pack consumable: I2-LP clone, overheal, damage boost
  Blast.cs               The Hand Grenade's explosion, area damage, padlock damage, model and flash
  Sounds.cs              The Hand Grenade's [Sounds] events
  ConfigImport.cs        Carries moved settings over from GTFO.EZ's and GTFO.EZ.AbsurdWeapons' cfgs, once
  DataBlocks.cs          Datablock cloning
  Pure/Formulas.cs       The items' numbers (no game types; unit tested)
  LocalPlayerDamage.cs   Tells your own damage component from the host's bots'
  NonNegative.cs         Holds percentage and weight settings at 0 or more
package/                 Thunderstore manifest, icon (256x256, from logo.png), README and changelog
logo.png                 Full-size logo

CHANGELOG

Changelog

21.0.0

  • Loot settings follow the host (GAI-T40). With GTFO.EZ installed, everything here that shapes the level - [Loot] (Consumables Are Kits, Kit Loot, the kit weights and charges, Loot Mix, the grenade/Stim Pack weights, OutInTheOpenShare), the Frag Grenade / Plasma Grenade / Stim Pack switches and the grenades' pickup counts - is the host's in someone else's lobby, so a client's consumable tables and grenade pickups match the host's instead of following its own .cfg (which is left untouched). GTFO.EZ sends them with its own level settings and runs the kit loot again with them before the level is built. Without GTFO.EZ your own values are used, as before.

  • The Hand Grenade is now two Halo 3 grenades, thrown instantly (GAI-T37). Press fire and it's thrown at once - no wind-up - along your aim at Halo 3's speed (10 world units/s = 30.5 m/s, at 1 wu = 3.048 m) under its own 90%-of-Halo gravity (about 11.4 m/s2), flown on Halo's 30 Hz tick so every player sees the same path. The Frag Grenade bounces and goes off 0.5 s after its first bounce off the ground (never before 1.3 s) - or the moment it hits an enemy. The Plasma Grenade (blue core and glow) sticks to the first wall, floor or enemy it hits, riding along on that enemy, and goes off 0.9 s after sticking (never before 1.3 s; StuckFuseSeconds). An enemy with a plasma stuck to it panics: it stops attacking and chasing and runs away from the players, or into its nearest friends - never at you (host-run, seen by all). Blasts follow Halo 3's falloff (full to 1.5 m, down to its edge share at 5.3 m); Halo's base gravity, the bounce, the throw angle and the time between throws are documented estimates (see the README). New [Frag Grenade] and [Plasma Grenade] sections and [Loot] FragGrenadeWeight / PlasmaGrenadeWeight (2 each); your [Hand Grenade] settings and HandGrenadeWeight seed them once, and its fuse, radius, edge share and throw strength settings are gone. Throws, sticks and blasts reach teammates over GTFO-API.

  • Bug fix (GAI-T39, for GTFO.EZ's G.EZ-T125 level-settings sync): switching the Hand Grenade or Stim Pack off used to skip registering its item, so a host and a client with different switches held different items - a level could hold a pickup the other game had never heard of. Both items are now always registered; Hand Grenade Enabled / Stim Pack Enabled only decide whether they spawn. GTFO.EZ's next release also warns in the event log when your AbsurdItems level settings ([Loot], Hand Grenade pickup counts, these switches) differ from the host's.

  • Artifact pickups are announced to the whole team. Every player's event log says who picked up what and what it gave ("Bob picked up a Bold artifact: +5% max health, Bold x3"), then the team's tally ("Team artifacts - Bob: Bold 3 | Amy: Aggressive 1, Muted 2").

  • New-area breadcrumbs for everyone, in their own colour. Teammates' and bots' first steps into a new area now drop a marker too (it used to be only yours), tinted in that player's colour.

  • Hand Grenade pickups hold 2 to 5 (was 1), a whole number picked once per pickup from its level-generation seed, so every player sees the same count and whoever picks it up gets it. [Hand Grenade] PickupCount is replaced by PickupCountMin (2) and PickupCountMax (5).

  • Carry up to 20 Hand Grenades (MaxCarried, was 6). An install still on the old default 6 is moved to 20 once; a value you set yourself is kept.

v20

  • Bumps the BepInExPack_GTFO dependency to 3.2.4.
  • Moves in step with the GTFO.EZ family's version number (GTFO.EZ, GTFO.EZ.AbsurdWeapons, GTFO.EZ.AbsurdMoves and GTFO.EZ.AbsurdItems share one).

v19

  • Exhaustive bug-hunt pass over kit loot, Loot Mix (Hand Grenades/Stim Packs), the out-in-the-open share, and artifact glow/buffs: confirmed kits are purely additive on top of the zone's own resource budget, grenades and stim packs are in the default loot lottery and genuinely spawn out in the open, and artifact buffs persist for the whole level (only a checkpoint restart of that artifact removes them). No real bugs found - behavior unchanged.
  • Moves in step with the GTFO.EZ family's version number (GTFO.EZ, GTFO.EZ.AbsurdWeapons, GTFO.EZ.AbsurdMoves and GTFO.EZ.AbsurdItems share one).

v18

  • Moves in step with the GTFO.EZ family's version number (GTFO.EZ, GTFO.EZ.AbsurdWeapons, GTFO.EZ.AbsurdMoves and GTFO.EZ.AbsurdItems share one). No change in this mod's own behavior.

v17

  • GTFO.EZ.Shared submodule bump: SharedOwner.Order no longer lists GTFO.CrashTestDummies, which dropped Insert/Delete (and this submodule) in its own v17. No change in this mod's own behavior.
  • GTFO.CrashTestDummies and GTFO.SkipDrop join the vN scheme this release, so every GTFO.* mod now shares one version number.

v16

  • Insert and Delete swapped: Insert is now infinite health, Delete is now infinite ammo. Both also always announce in the console now, not just the event log. Shared code (GTFO.EZ.Shared), so GTFO.EZ, its Absurd companions and GTFO.CrashTestDummies all pick it up.
  • Moves in step with the GTFO.EZ family's version number (GTFO.EZ, GTFO.EZ.AbsurdWeapons, GTFO.EZ.AbsurdMoves and GTFO.EZ.AbsurdItems share one).

v15

  • Artifact glow: artifacts still lying in the level now glow and are tinted in their category's color - Aggressive (Rare) red, Muted (Common) blue, Bold (Uncommon) green - so which buff one gives is visible from across the room. New [Artifacts] Artifact Glow Enabled.
  • Breadcrumbs: a glow stick marker now drops wherever the team has already been or already looted - an opened resource container (locker/case), an unlocked door, an opened door, or a newly entered area - so a glance says what's been picked over and which way you've come. New [Breadcrumbs] section, one switch per kind.
  • Moves in step with the GTFO.EZ family's version number (GTFO.EZ, GTFO.EZ.AbsurdWeapons, GTFO.EZ.AbsurdMoves and GTFO.EZ.AbsurdItems share one).

v14

  • Bold artifact fix: picking up a Bold artifact during a Stim Pack overheal no longer cuts health back to max; health above the old max is left to drain.
  • Hand Grenade fix: the carry cap (MaxCarried) was also applied to teammates' consumable storage on your game while you held Hand Grenades; now only your own storage gets it.
  • Config and README wording: Hand Grenade damage counts the Aggressive and Stim Pack damage boosts.
  • Moves in step with the GTFO.EZ family's version number (GTFO.EZ, GTFO.EZ.AbsurdWeapons, GTFO.EZ.AbsurdMoves and GTFO.EZ.AbsurdItems share one).

v13

  • Versioning: the GTFO.EZ family - GTFO.EZ, GTFO.EZ.AbsurdWeapons, GTFO.EZ.AbsurdMoves and GTFO.EZ.AbsurdItems - now shares one version number, so this first release is v13, in step with GTFO.EZ, rather than v1.
  • Renamed from GTFO.AbsurdItems to GTFO.EZ.AbsurdItems before release, as a GTFO.EZ companion mod built on GTFO.EZ's core (plugin GUID MindAttic.GTFO.EZ.AbsurdItems, config file MindAttic.GTFO.EZ.AbsurdItems.cfg, Thunderstore package GtfoEZAbsurdItems).
  • Initial release. Every feature has its own on/off switch in the config.
  • Master switch: [0. Mod] Enabled (default true) is the config file's first entry; set it to false and the whole mod is off - nothing is patched, no item is added, no hotkey or loot change. The other GTFO.* mods then treat it as not installed.
  • Artifact buffs (moved here from GTFO.EZ, same settings): picking up an artifact buffs whoever picked it up for the rest of the level - each Bold +5% max health (healed too), each Aggressive +5% damage to enemies, each Muted 5% harder for enemies to detect you (capped at 75%). A checkpoint restart that puts an artifact back takes its buff off again.
  • Consumables Are Kits (moved here from GTFO.EZ, same settings): consumables found in lockers, boxes or lying around are a few small health, tool and ammo kits of 1-2 charges each, adding about 20% to the zone's normal resource packs, split the way the zone's resource budget is. Kit Loot (%), Kit Charges Min/Max and the per-kind weights are configurable.
  • Hand Grenade (moved here from GTFO.EZ.AbsurdWeapons, same [Hand Grenade] and [Sounds] settings): a consumable lock melter thrown like a glowstick that blows after 3 s (60 damage falling to a quarter at 6 m, x6 stagger, breaks padlocks, never hurts players). Found only as loot, 1 a pickup, up to 6 carried. The terminal lists it as a Hand Grenade (key HAND_GRENADE), not as the glow stick it is cloned from.
  • Stim Pack (moved here from GTFO.EZ.AbsurdWeapons, same [Stim Pack] settings): the I2-LP cloned as a consumable of its own - heals 33% of max health and can overheal to 200%, draining back at 1% a second, and boosts your damage 33% for 15 s.
  • Loot Mix (moved here from GTFO.EZ.AbsurdWeapons): with Consumables Are Kits on, Hand Grenades (HandGrenadeWeight 4) and Stim Packs (StimPackWeight 1) join the kits in one kit-loot run, and 60% of the loot lies out in the open (OutInTheOpenShare). Loot Mix Enabled keeps its name. AbsurdWeapons' own copies of the kit settings (KitLootPercent, HealthKitWeight, ToolKitWeight, AmmoKitWeight, KitChargesMin/Max) are merged into the GTFO.EZ names here (Kit Loot (%), Health Kit Weight, ..., Kit Charges Min/Max), same meanings and defaults.
  • Insert (infinite ammo) and Delete (infinite health) toggles, announced as warden messages - the shared keys every GTFO.* mod has, so they never clash with several installed.
  • Every Hand Grenade and Stim Pack number is held at 0 or more, like the other settings (a typo'd minus sign lands on 0: a negative DrainPercentPerSecond made the overheal grow without end), and PickupCount / MaxCarried at 1 or more (below that, pickups were empty).
  • Settings carry over from GTFO.EZ and GTFO.EZ.AbsurdWeapons: on first run, every moved setting not yet in this mod's .cfg is copied from theirs (for the kit settings, from whichever mod's loot was in use), instead of starting from the defaults.