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

LegalizeNuclearBombs

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

Date uploaded 3 months ago
Version 2.0.0
Download link BLOKBUSTR-LegalizeNuclearBombs-2.0.0.zip
Downloads 33526
Dependency string BLOKBUSTR-LegalizeNuclearBombs-2.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-designed nuclear warhead as a Tall valuable, even bigger than before! Handle with the utmost caution!!

This mod must be installed on all clients.

Screenshot

🚧 Roadmap

  • Continue polishing the model and textures, if I get better ideas

🔧 Configuration

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.
| 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.
Break Warning
| PlayWarningSound true Whether to play a fizzing sound as a warning when the nuke has only one hit remaining.
| WarningVolume 0.35f The volume of the warning sound.
| ShowWarningVisual true Whether to momentarily show a red glow on the nuke when it has only one hit remaining.
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 from
  • 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 🎉