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

LegalizeNuclearBombs

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

Date uploaded a week ago
Version 3.0.1
Download link BLOKBUSTR-LegalizeNuclearBombs-3.0.1.zip
Downloads 9360
Dependency string BLOKBUSTR-LegalizeNuclearBombs-3.0.1

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-made nuclear warhead as a Tall valuable, even bigger than before! Handle with the utmost caution!!

This mod must be installed on all clients.

Screenshot of the nuke valuable in-game

🔧 Configuration & Customization

This mod is highly configurable! Configs can be updated in-game with REPOConfig.

Click to expand config list:
Category ConfigEntry Default Value Description
Nuke
| HitSensitivity Medium The minimum impact strength that the nuke is sensitive to.
| MaxHitCount 3 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 (this will also disable the explosion delay!).
| ExplosionStrength 15f The strength of the explosion.
| PlayerDamage 200 The amount of damage dealt to players.
| EnemyDamage 400 The amount of damage dealt to enemies.
CameraShakeStrength 5f The intensity of the explosion camera shake.
Explosion Delay
| ExplosionDelayTime 1f Time in seconds that the explosion will be delayed after the nuke has taken its last hit. Can be adjusted to match the length of a custom sound added with loaforcsSoundAPI, as long as it's under 10 seconds. Please do not change if using the default sound.
| ExplosionDelayVolume 0.5f The volume of the explosion delay sound.
| ExplosionDelayParticles true Whether to play particle effects during the explosion delay.
ExplosionDelayCameraGlitch true Whether to play the camera glitch effect to players holding the nuke when its explosion delay begins.
Uranium Cloud
ExplosionUraniumCloud true Whether to spawn a uranium cloud upon explosion.
Break Warning
| WarningVolume 0.35f The volume of the warning sound. Set to 0 to disable.
| ShowWarningVisual true Whether to momentarily show a red glow on the nuke when the break warning triggers.
WarningCameraShakeStrength 1.5f The intensity of the warning camera shake.
Debug
EnableDebug false Whether to enable debug logging. Keep this disabled for normal gameplay

❤️ Acknowledgements

  • 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 by;
  • OrigamiCoder, Vippy and Endershade for playtesting;
  • Skrillex and DJ Smokey for more goofy inspiration 🔥

Thank you for playing with this mod!
Please report any issues to the Discord Thread. Suggestions are also welcome!

CHANGELOG

Changelog

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 🎉