You are viewing a potentially older version of this package. View all versions.
NAinfini-ForgeWeapon_EnergyLab-1.0.0 icon

ForgeWeapon EnergyLab

Eight standalone energy guns for GTFO: beams, chain lightning, charged plasma, explosions, ricochets, flame, and gravity control.

Date uploaded 2 weeks ago
Version 1.0.0
Download link NAinfini-ForgeWeapon_EnergyLab-1.0.0.zip
Downloads 65
Dependency string NAinfini-ForgeWeapon_EnergyLab-1.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
NAinfini-ForgeCore-1.0.0 icon
NAinfini-ForgeCore

Public GTFO mod foundation: asset bundles, logging, settings, pools, networking, input leases, local saves and calls into the game's own systems.

Preferred version: 1.0.0
NAinfini-ForgeAudio-1.0.0 icon
NAinfini-ForgeAudio

Public GTFO audio library: Ogg Vorbis cues, positioned and attached playback, voice budgets, occlusion and sounds every player hears.

Preferred version: 1.0.0
NAinfini-ForgeUI-1.0.0 icon
NAinfini-ForgeUI

Shared GTFO interface for mods: lobby buttons, pickers, menu pages, HUD elements and ready-made HUD templates, in the game's own style.

Preferred version: 1.0.0
NAinfini-ForgeVisual-1.0.0 icon
NAinfini-ForgeVisual

Public GTFO world-visuals library: effects by name, particle pools, ground markers, glow materials and model loading.

Preferred version: 1.0.0

README

Forge Weapon Energy Lab

Eight energy guns for GTFO.

Report bugs on GitHub, or find me on the GTFO Modding Discord as nainfini.

The eight Energy Lab weapons

Weapons

Forge Beam

Hold fire for a continuous beam. No recoil.

Forge Beam

Forge Chain Arc

Lightning that jumps from the first target to up to three more nearby enemies.

Forge Chain Arc

Forge Flamethrower

A short flame cone that hits everything inside it. No recoil.

Forge Flamethrower

Forge Charge Orb

Hold to charge, release to fire an orb that explodes on impact. More charge, bigger blast.

Forge Charge Orb

Forge Shock Orb

Hold to charge, release to fire an orb that flies through enemies and shocks the ones nearby.

Forge Shock Orb

Forge Blast Gun

A visible shell that flies along your aim and explodes at the first thing it touches.

Forge Blast Gun

Forge Ricochet Disc

Discs that bounce off walls up to four times.

Forge Ricochet Disc

Forge Gravity Core

Fires a core that opens a gravity field, pulling enemies in and damaging them.

Forge Gravity Core

Stats

Weapon Slot Magazine Damage Range Area
Beam Main 40 4.35 per tick Unlimited -
Chain Arc Main 7 15.9, -20% per hop 16 m Hops up to 6 m
Flamethrower Main 50 2.7 per tick 8 m Cone
Charge Orb Special 4 12-62.7 Flies 18-42 m 1.5-2.5 m blast
Shock Orb Special 5 12-62.7 on contact Flies 18-42 m 2-3.5 m shock
Blast Gun Special 6 30.1 Unlimited 2.2 m blast
Ricochet Disc Special 16 23.95 Flies 1.6 s, 4 bounces -
Gravity Core Special 2 up to 6.75 per pulse Flies up to 3 s 5 m field

Installation

Install with r2modman; it also installs BepInExPack_GTFO, MTFO, ForgeCore, ForgeUI, ForgeAudio and ForgeVisual. Names and descriptions are in English and Chinese and follow the Language setting in NAinfini.ForgeUI.cfg (by default the game's language). MTFO marks the game as modded, which turns off achievements and public matchmaking, so these guns stay out of official play. Everyone in the lobby needs the same version and the same tuning changes.

Tuning

Every number is listed in BepInEx/config/ForgeWeapon_EnergyLab/tuning-defaults.json. To change one, copy only that value into tuning-overrides.json in the same folder, for example:

{
  "weapons": {
    "forge.energylab.blast": { "damage": 40, "blastRadius": 3 }
  }
}

Restart the game after editing. Values you did not copy follow each update's defaults. If an entry has a mistake, only that gun keeps its normal values and the log names the field. An entry for a gun that is not installed (for example a removed extension) is ignored with one log line.

Extra guns

Other packages can add more energy guns as data files; their guns appear in the same loadout list and can be tuned in the same files. Everyone in the lobby must install the same extensions, otherwise energy weapons stay off between the players who differ.

License

MIT. The effect bundle ships in ForgeVisual (CC0). The sounds were made with Adobe Firefly (commercial use permitted); the Blast Gun's shot and explosion are the Ordnance grenade launcher's sounds, with their credits in Assets/Audio/License.txt.

Modding the guns: see the developer guide.

CHANGELOG

Changelog

1.0.1

Changes since the first upload. Version 1.0.1 because it is released early; it needs ForgeCore, ForgeUI, ForgeAudio and ForgeVisual 1.0.0.

  • Effects are rebuilt from selected effect slots, with new beam, arc, black hole and shock orb looks.
  • The Flame and Black Hole default tuning changed: Flame AmmoPerRound 1.614 to 1.8 and Damage 2.695 to 2.4; Black Hole Damage 6.75 to 9.
  • Weapons fire again after the second level; scopes have no lens glass; guns can be held under the handguard.
  • The Blast Gun's explosion is now the same heavy blast as the grenade launcher, lifted off the surface it hits.
  • The guns hold better: the left hand follows the game's own grip and is pulled back along the gun into reach.
  • Energy Lab's own sounds load before other energy packs, and a gun whose sound finishes loading late still gets it.

Interface changes

  • No public signature was removed. The public default values of FlameTuning and BlackHoleTuning changed (above); set the fields explicitly if you relied on the old numbers.

1.0.0

First stable release.

  • Eight energy guns: Beam, Chain Arc, Flamethrower, Charge Orb, Shock Orb, Blast Gun, Ricochet Disc and Gravity Core.
  • Weapons are defined in ForgeEnergyLab/*.json data files (any mod folder named ForgeEnergyLab); the eight built-in guns are the first file, and others add guns the same way without code. A loadout that used an earlier build's guns must be chosen again.
  • Beam and Flamethrower have no recoil; the other six have light recoil.
  • Back hits, weakspots and armor work the same as with normal guns.
  • Bots can use all eight guns, with their effects and sounds.
  • The Blast Gun fires a visible shell that flies at 40 m/s and explodes at the first terrain, enemy or player it touches, so a target that steps into its path is hit and one that moves away is missed.
  • The Blast Gun and Beam have no range limit; the Chain Arc (16 m) and Flamethrower (8 m) keep theirs.
  • The Blast Gun's shot and explosion use the Ordnance grenade launcher's sounds.
  • Gun icons are drawn by the game's own icon renderer from each gun's model, with the same shading and size as vanilla gun icons.
  • Sounds play through ForgeAudio and effects through ForgeVisual, mixed with the other Forge mods and following the game's sound-effects volume.
  • Gun names and descriptions are in English and Chinese and switch with the language without restarting. Players using different languages still match each other's gear, and the chat notice about a different Energy Lab build or tuning is translated too.
  • The Charge Orb and Shock Orb leave your sight clear while charging; other players see the full charge effect on you.
  • The beam, flame and charging orb stay on the muzzle while you strafe.
  • BepInEx/config/ForgeWeapon_EnergyLab/tuning-overrides.json holds only the values you change; tuning-defaults.json lists every value.
  • Requires ForgeCore, ForgeUI, ForgeAudio, ForgeVisual and MTFO. MTFO marks the game as modded and turns off achievements and public matchmaking, so these guns stay out of official play; without MTFO, Energy Lab does not load.
  • The source code and Unity effect project are on GitHub. Media are local-only and are not included in Git.