Unlimited Cannon [Spaar`s ModLoader]

Mod has been improved and made to function with possibly less bugs. It remains based on dynamic type creation since I just couldn't get the FireTags to function correctly using method overrides.

  • Supports both ball cannon and shrapnel cannon
  • Ability to modify knockback (ball and shrapnel) and power (ball only)
  • Automatic fire mode, with a period between 0 and 1 seconds
The mod dll is attached.
Installation (From ITR's thread; too lazy to type my own):
  • Install Spaar's Modloader
  • Drag the mod into the "Mods" folder
  • Added option to disable the mod for individual cannons
  • Cannon properties can now be manually specified in a text box
  • Added option to delay cannon shot (more realistic)
  • Used FixedUpdate() instead of Update() to improve time-dependent functions (auto-fire)
  • Added a component which deletes cannon balls when the total number is above 100, to decrease lag
  • Added support for shrapnel cannon
  • Added GUI
  • Fixed "no shoot when heated" bug
  • Unlimited Cannon: Showcase of dynamic type creation and its compatibility with Spaar's modloader
That's it. Enjoy!

Attached Files
Ok so if you get stupid and put like 50 cannons on a stick and fire them all at once 100 times it will wreck your fps but for "Normal" use its just fine.
Version 0.2 released. Minor upgrade regarding shooting when heated.
Improved mod layout for those who'd like to take a peak at the source.


New Member
-edit never mind, i thought this mod caused a decrease in performance but it was the spaar mod loader itself.. thanks for making the mod anyways
Just for fun go ahead and place 1 cannon on the start block and then set it on the ground
Set the cannon for Auto Fire with no delay
Set the recoil to 0
Set the time to 1%
Begin the simulation and trip out.
Nothing stands out in the log:

[Log] Trying to load E:\Steam\steamapps\common\Besiege\Besiege_Data\Mods\BetterModGUI.dll
[Log] Better Mod GUI mod loaded
[Log] Attached and loaded BetterModGUI.dll
[Log] Trying to load E:\Steam\steamapps\common\Besiege\Besiege_Data\Mods\BombMod.dll
[Log] Attached and loaded BombMod.dll
[Log] Trying to load E:\Steam\steamapps\common\Besiege\Besiege_Data\Mods\RocketMod.dll
[Log] Attached and loaded RocketMod.dll
[Log] Trying to load E:\Steam\steamapps\common\Besiege\Besiege_Data\Mods\Rotate.dll
[Log] RotationMod started
[Log] Attached and loaded Rotate.dll
[Log] Trying to load E:\Steam\steamapps\common\Besiege\Besiege_Data\Mods\UnlimitedCannon.dll
[Log] Attached and loaded UnlimitedCannon.dll
[Log] Found BetterModGUI
[Log] Started Better Mod GUI mod with moveGUI key: left ctrl
[Log] Started rotate mod with default: 22,5 and hudKey: q