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

LegalizeNuclearBombs

Call the fire department! We just nuked the building. 🗣🔥🔥☢🔥🔥 // Adds a highly configurable nuke valuable!

Date uploaded 7 months ago
Version 1.0.0
Download link BLOKBUSTR-LegalizeNuclearBombs-1.0.0.zip
Downloads 44715
Dependency string BLOKBUSTR-LegalizeNuclearBombs-1.0.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
Zehs-REPOLib-4.2.0 icon
Zehs-REPOLib

Library for adding content to R.E.P.O.

Preferred version: 4.2.0

README

☢️ LegalizeNuclearBombs ☢️

Adds a custom-modeled nuclear warhead as a Tall valuable, even bigger than before! Handle with the utmost caution!!
All clients require this mod.

Screenshot

🚧 Roadmap

  • Continue polishing the model and textures, if necessary
  • Implement an emissive warning texture overlay (I tried, but it didn't work yet)
  • Refine custom sounds

I will be focusing on my submission for the R.E.P.O. Winter Mod Jam, so this is low on my priority list at the moment.

🔧 Configuration

This mod is highly configurable! Config options will automatically apply if changed in-game, especially if using REPOConfig.

Click to expand config list:
  • Nuke
    • HitSensitivity: How sensitive the nuke is to impacts. The higher the value, the higher the sensitivity.
    • MaxHitCount: The number of hits the nuke can take until it explodes. Set to 0 to disable and make it explode only when it loses all value.
    • ExplosionStrength: The strength of the explosion.
    • PlayerDamage: The amount of damage dealt to players.
    • EnemyDamage: The amount of damage dealt to enemies.
    • ShakeMultiplier: The intensity of the camera shake.
  • Break Warning
    • PlayWarningSound: Whether to play a fizzing sound as a warning when the nuke has only one hit remaining.
    • WarningVolume: The volume of the warning sound.
  • Debug
    • EnableDebugLogging: Whether to enable debug logging.

❤️ Acknowledgements

  • Huge thanks to Zehs for creating and maintaining REPOLib;
  • TitanVortex for the original BigNuke mod which was one of my favorites, and of which this mod is mostly inspired from;
  • Skrillex and DJ Smokey for more goofy inspiration 🔥

Please report any issues to the Discord Thread. Suggestions are also welcome!

CHANGELOG

Changelog

3.1.0 - Now with even more uranium!

  • Implemented custom uranium cloud logic, plus new config options to fine-tune it to your liking, such as size, damage, duration, etc.
  • Added another new config setting IndestructibleDroneBatteryDrain, which accelerates the rate at which the Indestructible Drone's battery will drain when attached to the Nuke. The battery drain is twice as fast by default.
  • Changed config settings to apply shortly after instantiation of the Nuke, instead of right when it explodes.
  • Adjusted several config defaults.
  • Changed config EnableDebug to DebugLogLevel, now including "Disabled," "Enabled," and "Verbose" logging options.
    • "Verbose" will include logs that occur very frequently within short periods of time, such as timers.

3.0.1

  • Fixed oversight where config ExplosionUraniumCloud was unused. The uranium cloud should now spawn if the host has the setting enabled.
  • Upgraded REPOLib version.

3.0.0

  • Updated for R.E.P.O. 0.4.4+.
  • Added a configurable delay before the explosion, after the nuke has taken its last hit.
    • The buildup sound can be replaced with anything of your choosing with loaforcsSoundAPI, as long as it's under 10 seconds. Adjust ExplosionDelayTime to fit your custom sound.
    • Also includes particle visuals adopted from the cosmetic boxes, which do not play if Photosensitivity is enabled.
    • Added config options ExplosionDelayTime, ExplosionDelayVolume, ExplosionDelayParticles, and ExplosionDelayCameraGlitch.
  • Added a uranium cloud that spawns upon explosion. Added a config entry ExplosionUraniumCloud to enable/disable it. I want to experiment with more customization for this in the future.
  • Fixed a few networking issues:
    • Oversight where explosion strength and player damage were not synced; now added proper networking.
    • The nuke did not destroy itself properly on clients upon explosion.
  • Reorganized and optimized some logic.
  • Removed config PlayWarningSound, since WarningVolume can already be used to silence the sound.

2.0.0

  • Upgraded BepInEx dependency.
  • Implemented an emissive visual warning when the nuke has only one hit remaining.
  • The nuke now completely destroys itself upon explosion to prevent the explosion from getting spammed every update, especially on lower strengths.
  • Changed config entry HitSensitivity to use an enum value to make it more readable and intuitive, particularly with REPOConfig.
  • README changes:
    • Updated the Configuration section to my new table style;
    • Updated Discord URL to link to this mod's own dedicated thread.

1.0.0

  • Initial release 🎉