Exploding Cannonball And Arrow Aftereffect Mod[V0.45a][V0.4.0]

#1
CAUTION: Arrow after effects only works for maximum 62 arrows.

Trail Example:

Created by T-Cat (Why do you have to make your name so long :( Maintained by @MaxTCC )( And I totally rewrote this mod XD)
Thanks @Lench for improvements and optimizations!


-0.4.0 After effect for Arrows! Yikes!
-0.3.7 More adjustion options for cannon ball trail
-0.3.5 Added Cannon ball trail function.

Can set from Key Mapper.
github: https://github.com/wangw571/Besiege-Exploding-CannonBall-Mod
 

Attachments

Last edited:
#3
Can't thank you enough for this
Do you plan to update explode on click too?
:/ well maybe I will combine that into this mod...............
..................later
and also add a function that allows users to modify the delay of explosion after impact.
 

Shade

Active Member
#4
can you update it so that changes using command ChangeExplosionType are saved? I almost never use type 1 so it would be great if I don't have to reinput it everytime.
ps. really love the firework explosion
 

TheCVB

New Member
#7
Your mod seems to have a few bugs with the configuration, the file seems to empty itself sometimes and prevents the loader from doing anything. It spams exceptions in the console, too.
[Exception] IOException: Sharing violation on path C:\Program Files (x86)\Steam\steamapps\common\Besiege\Besiege_Data\Mods\Config\BesiegeExplodingCannonballs.json
System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options)
System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share)
(wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
System.IO.File.Open (System.String path, FileMode mode)
spaar.ModLoader.Configuration.Save (System.Reflection.Assembly asm)
spaar.ModLoader.Configuration.Save ()
Exploding_CannonBall_Mod.ExplodingCannonballScript.Settings ()
Exploding_CannonBall_Mod.ExplodingCannonballScript.Update ()
 
#8
Your mod seems to have a few bugs with the configuration, the file seems to empty itself sometimes and prevents the loader from doing anything. It spams exceptions in the console, too.
[Exception] IOException: Sharing violation on path C:\Program Files (x86)\Steam\steamapps\common\Besiege\Besiege_Data\Mods\Config\BesiegeExplodingCannonballs.json
System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options)
System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share)
(wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
System.IO.File.Open (System.String path, FileMode mode)
spaar.ModLoader.Configuration.Save (System.Reflection.Assembly asm)
spaar.ModLoader.Configuration.Save ()
Exploding_CannonBall_Mod.ExplodingCannonballScript.Settings ()
Exploding_CannonBall_Mod.ExplodingCannonballScript.Update ()
Maybe this bug will not exist in the second try. I didn't use the saving func before.
 
#9
I have been looking into the code behind this mod, and was wondering if you could add a feature where the cannon ball will explode in mid air from a set timer, maybe a slider in the key binding?
 
#16
well, the only thing i don't know is adding an extra slider on a cannon. Otherwise I can handle. Maybe you can help me on adding extra modes and sliders?
Wang, I was messing with visual studio, and i oppend the building tools mod, but it was all jiberish, how do i edit .ddl files from other modders?
 
Top