SoM's GunBonsai Addons and Patches (May 24, 2025)

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
BoneofMalkav
Posts: 82
Joined: Thu May 22, 2014 6:04 am
Graphics Processor: nVidia with Vulkan support
Location: It's Never Worth The Risk
Contact:

Re: SoM's GunBonsai Addons and Patches

Post by BoneofMalkav »

Exibius wrote: Sun Apr 14, 2024 7:51 am
stainedofmind wrote: Sat Apr 13, 2024 4:25 pm Just posted a new patch that solves the issue with not being able to drop weapons with the "Rapid Fire" upgrade in LegenDoom!
Hallelujah, we're saved! Now begs the question, the DRLA bug that causes all of the mods to disappear when you level up a weapon through Gun Bonsai, is that a DRLA bug, or a Gun Bonsai one? If it's a DRLA-related bug, then obviously it's a DRLA problem, but if it's a Gun Bonsai issue, any chance you could roll out a patch for that, as well?
iirc It's a DRLA bug, Might happen with the Doom RPG mod too but it's been so long since I last tried DoomRPG with DoomRLA since GunBonzai became my go to.
Exibius
Posts: 61
Joined: Wed Jul 08, 2020 10:22 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: United States

Re: SoM's GunBonsai Addons and Patches

Post by Exibius »

BoneofMalkav wrote: Sun Apr 14, 2024 11:46 am iirc It's a DRLA bug, Might happen with the Doom RPG mod too but it's been so long since I last tried DoomRPG with DoomRLA since GunBonzai became my go to.
That's what I was thinking. Appreciate the insight!
User avatar
stainedofmind
Posts: 193
Joined: Sun Sep 01, 2019 10:59 am

Re: SoM's GunBonsai Addons and Patches

Post by stainedofmind »

DoomThing445 wrote: Sun Apr 14, 2024 5:02 am Also, I've seen DRLA do something like this, but maybe an addon that focuses on the chance of not consuming ammo from a shot? It'd start from 1% and have a cap of 33%, something like that.
Sadly, it's almost impossible to determine when a weapon is technically "firing", so best that could be done here is monitoring the correct ammo pool for reductions, then reapplying the ammo from there. However...
DoomThing445 wrote: Sun Apr 14, 2024 5:02 am Also, a player upgrade that functions similarly to Thorns, but instead of damaging enemies you have a chance to recover a small amount of ammo upon being hit? Inspired by a skill from Borderlands 2 respectively.
... Ammo is a tricky thing in doom. As is highlighted by incompatibilities with upgrades like Scavenge Lead or my attempt at replacing Bandoliers with Ammo Reserves, it's very difficult to determine if an ammo is meant to be one you pick up, or one that is a "utility" ammo, like clips and magazines for reloading, and then there's gameplay mods like Project Brutality that have a complex way of spawning their ammo. Beyond the current method that's being implemented, it's likely a system for manually specifying what ammo actors are valid needs to be created, else all that could be done would be to keep adding an ever growing series of exceptions and special cases to account for the multitudes of ways ammo can be used.

I'm not going to promise anything, but I may program an infrastructure to support this kind of system, as the number of applications for it seems to be rising lately.
DoomThing445 wrote: Sun Apr 14, 2024 5:02 am Gosh, the possibilities feel endless... maybe an addon similar to the Reserve addon, but for armor?
Now this is an idea I can get behind and implement! I'm split on how it should work, since there's no real cap to armor, you can just use a special "ArmorBonus" actor to pump it up as much as you like, but a "reserve" style system feels more like it should work by storing overage, and allowing you to pull from it manually, so you can decide if you want to top off your current armor, or wait for a better version.
Exibius wrote: Sun Apr 14, 2024 7:51 am Hallelujah, we're saved! Now begs the question, the DRLA bug that causes all of the mods to disappear when you level up a weapon through Gun Bonsai, is that a DRLA bug, or a Gun Bonsai one? If it's a DRLA-related bug, then obviously it's a DRLA problem, but if it's a Gun Bonsai issue, any chance you could roll out a patch for that, as well?
I'm not terribly familiar with DRLA, despite attempting to play some runs with it many times. I would have to do some deep digging, but at the very least I can take a look. Again, no promises!
User avatar
stainedofmind
Posts: 193
Joined: Sun Sep 01, 2019 10:59 am

Re: SoM's GunBonsai Addons and Patches

Post by stainedofmind »

Updated "XP Bonuses" to Version 2.1, adding a feature to grant a configurable number of free Weapon Upgrades at the start of a new game!
NamelessGuy wrote: Sat Apr 13, 2024 11:42 pm
stainedofmind wrote: Sat Apr 13, 2024 4:25 pm Still testing the powerup booster upgrade. I really need to find a better gameplay mod to run it with!
Thank you very much for accepting my request! I completely understand the lack of time, suffering from this myself so I really appreciate it.
Could you possibly send me the prototype then? My knowledge of ZScript is very basic, but I would be glad to help at least with testing this addon out, especially since I suggested it.
Since I'm really strained(ofmind?) for time right now, I'm just going to drop the current version in this post for now, and when I'm satisfied it's up to par and fully release ready, I'll add it to the main post.

Edit: Added to main post.
Last edited by stainedofmind on Sat Apr 20, 2024 4:22 pm, edited 1 time in total.
User avatar
stainedofmind
Posts: 193
Joined: Sun Sep 01, 2019 10:59 am

Re: SoM's GunBonsai Addons and Patches

Post by stainedofmind »

stainedofmind wrote: Sun Apr 14, 2024 5:15 pm
Exibius wrote: Sun Apr 14, 2024 7:51 am Hallelujah, we're saved! Now begs the question, the DRLA bug that causes all of the mods to disappear when you level up a weapon through Gun Bonsai, is that a DRLA bug, or a Gun Bonsai one? If it's a DRLA-related bug, then obviously it's a DRLA problem, but if it's a Gun Bonsai issue, any chance you could roll out a patch for that, as well?
I'm not terribly familiar with DRLA, despite attempting to play some runs with it many times. I would have to do some deep digging, but at the very least I can take a look. Again, no promises!
So I'm going to start messing around with DRLA and see if I can find a root cause of this, however, as I'm not very familiar with it, can someone tell me the exact steps to reproduce the issue?
User avatar
AliciaPendragon
Posts: 206
Joined: Wed Jun 07, 2023 8:46 am
Preferred Pronouns: She/Her
Operating System Version (Optional): Windows 10
Location: Gensokyo
Contact:

Re: SoM's GunBonsai Addons and Patches

Post by AliciaPendragon »

stainedofmind wrote: Fri Apr 19, 2024 4:05 pm
stainedofmind wrote: Sun Apr 14, 2024 5:15 pm
Exibius wrote: Sun Apr 14, 2024 7:51 am Hallelujah, we're saved! Now begs the question, the DRLA bug that causes all of the mods to disappear when you level up a weapon through Gun Bonsai, is that a DRLA bug, or a Gun Bonsai one? If it's a DRLA-related bug, then obviously it's a DRLA problem, but if it's a Gun Bonsai issue, any chance you could roll out a patch for that, as well?
I'm not terribly familiar with DRLA, despite attempting to play some runs with it many times. I would have to do some deep digging, but at the very least I can take a look. Again, no promises!
So I'm going to start messing around with DRLA and see if I can find a root cause of this, however, as I'm not very familiar with it, can someone tell me the exact steps to reproduce the issue?
As someone who used DRLA with Gun Bonsai and Indestructable, IDK what causes the issue exactly. I know mods dissapear when you drop them during the second wind. But from what I remember, the issue was caused, at least I THINK(so this could be a good starting point) by having upgrades on a gun and mods at the same time. IDK
Exibius
Posts: 61
Joined: Wed Jul 08, 2020 10:22 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: United States

Re: SoM's GunBonsai Addons and Patches

Post by Exibius »

stainedofmind wrote: Fri Apr 19, 2024 4:05 pm So I'm going to start messing around with DRLA and see if I can find a root cause of this, however, as I'm not very familiar with it, can someone tell me the exact steps to reproduce the issue?
Start the game as technician. This allows you to easily test this bug by having a modpack already in the inventory. The moment you start the game, apply the modpack to whatever assembled weapon you already started with. Kill a couple monsters until your Gun Bonsai level up triggers and then level up the gun. Then drop it and note the modpack numbers don't appear when you drop the gun. Pick it back up and notice you don't have the mod that you applied at the very start of the game anymore.

EDIT: I am having troubles reproducing this now. How odd. Going to go through every single mod in my load order to see why in the world loading DRLA and Gun Bonsai (and even Indestructible with this) isn't causing it anymore.

EDIT 2: Bingo. Found out it's yet another bug related to the "Rapid Fire" upgrade from Gun Bonsai. When you follow the steps above to reproduce the bug, you need to specifically choose the "Rapid Fire" upgrade in order for this to occur. Haven't tested to see if any other upgrades are doing it as of the time of this edit.
User avatar
stainedofmind
Posts: 193
Joined: Sun Sep 01, 2019 10:59 am

Re: SoM's GunBonsai Addons and Patches

Post by stainedofmind »

Exibius wrote: Sat Apr 20, 2024 10:47 am
stainedofmind wrote: Fri Apr 19, 2024 4:05 pm So I'm going to start messing around with DRLA and see if I can find a root cause of this, however, as I'm not very familiar with it, can someone tell me the exact steps to reproduce the issue?
Start the game as technician. This allows you to easily test this bug by having a modpack already in the inventory. The moment you start the game, apply the modpack to whatever assembled weapon you already started with. Kill a couple monsters until your Gun Bonsai level up triggers and then level up the gun. Then drop it and note the modpack numbers don't appear when you drop the gun. Pick it back up and notice you don't have the mod that you applied at the very start of the game anymore.

EDIT: I am having troubles reproducing this now. How odd. Going to go through every single mod in my load order to see why in the world loading DRLA and Gun Bonsai (and even Indestructible with this) isn't causing it anymore.

EDIT 2: Bingo. Found out it's yet another bug related to the "Rapid Fire" upgrade from Gun Bonsai. When you follow the steps above to reproduce the bug, you need to specifically choose the "Rapid Fire" upgrade in order for this to occur. Haven't tested to see if any other upgrades are doing it as of the time of this edit.
Makes sense that it would be Rapid Fire causing the issue. There's a deeper problem with it that's likely over my head to fix, but I should be able to patch it for DRLA like I did for LegenDoom. I'll have to dig into the time freeze issue with Indestructible however.
User avatar
stainedofmind
Posts: 193
Joined: Sun Sep 01, 2019 10:59 am

Re: SoM's GunBonsai Addons and Patches

Post by stainedofmind »

Added a patch to the main post to fix the Rapid Fire bug with DRLA! Specifically, losing all the mods on a weapon when dropped if it also has the GunBonsai Rapid Fire upgrade. I'll update my "Rapid Swing" addon soon with fixes for both LegenDoom and DRLA built in soon!

I'm planning on looking into the issue with DRLA and Indestructable where you lose mods when dropping while the Time Freeze is in effect. For the record, this happens even without GunBonsai.
User avatar
stainedofmind
Posts: 193
Joined: Sun Sep 01, 2019 10:59 am

Re: SoM's GunBonsai Addons and Patches

Post by stainedofmind »

Added "Upgrade: Powerup Booster" to the main post! Adds a Player Upgrade that will extend powers ups by a configurable percentage per level, default 25%! Please note, this hasn't been extensively tested by myself, so there may be unknown bugs!

Updated "Patch: Always Weapon Damage" to Version 1.1! Added an option to have a configurable percentage chance of rolling "Damage" for the first slot instead of always rolling it. This was mainly to account for setting GunBonsai to only roll one upgrade at level up, so now you can have other upgrades with this addon loaded.

Updated "Upgrade: Rapid Swing" to Version 1.1! This adds bug fixes for LegenDoom and DRLA, as well as a configurable max level to the replacement "Rapid Fire" Upgrade.

I've been doing a lot of testing and experimenting in my GB folder lately, so I'm going to have to do an audit soon! Then I can get back to work on new stuff, both for GunBonsai, and for releasing more stand alone minimods!
Exibius
Posts: 61
Joined: Wed Jul 08, 2020 10:22 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: United States

Re: SoM's GunBonsai Addons and Patches

Post by Exibius »

stainedofmind wrote: Sat Apr 20, 2024 3:18 pm Added a patch to the main post to fix the Rapid Fire bug with DRLA! Specifically, losing all the mods on a weapon when dropped if it also has the GunBonsai Rapid Fire upgrade.
What an absolute legend. Legendoom and DRLA were two of my most favorite mods, and knowing both are now working with everything else that I like to play together in tandem is like an early Christmas for me. I'm sure everyone else would appreciate it, too. Also, good catch on the Time Freeze effect happening without Gun Bonsai; I didn't do enough extensive testing on my own to figure out what was going on with that.

Well, that's it then in any problems I had to report. If I ever find anything else out of the ordinary, I'll be sure to put it up on the forums. Let the carnage begin.
Exibius
Posts: 61
Joined: Wed Jul 08, 2020 10:22 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: United States

Re: SoM's GunBonsai Addons and Patches

Post by Exibius »

Getting consistent VM aborts running the Legendoom and DRLA rapid fire patches with their respective mods upon upgrading a weapon with Rapid Fire and then dying with that weapon equipped.
User avatar
stainedofmind
Posts: 193
Joined: Sun Sep 01, 2019 10:59 am

Re: SoM's GunBonsai Addons and Patches

Post by stainedofmind »

Exibius wrote: Sun Apr 21, 2024 3:15 pm Getting consistent VM aborts running the Legendoom and DRLA rapid fire patches with their respective mods upon upgrading a weapon with Rapid Fire and then dying with that weapon equipped.
Whoops! Sounds like I forgot to put in a check or two! Do you have a screen capture of the error? Are you running any other mods? Apologies for the bug. I wasn't able to test it thoroughly before releasing it.
Exibius
Posts: 61
Joined: Wed Jul 08, 2020 10:22 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: United States

Re: SoM's GunBonsai Addons and Patches

Post by Exibius »

stainedofmind wrote: Sun Apr 21, 2024 5:29 pm Whoops! Sounds like I forgot to put in a check or two! Do you have a screen capture of the error? Are you running any other mods? Apologies for the bug. I wasn't able to test it thoroughly before releasing it.
Legendoom:


DRLA:


No other mods, and no worries. Might as well mention that so far, I haven't had any other issues. Everything else seems to work perfectly with that patch. If there's anything else though I'll be sure to let you know.
User avatar
stainedofmind
Posts: 193
Joined: Sun Sep 01, 2019 10:59 am

Re: SoM's GunBonsai Addons and Patches

Post by stainedofmind »

Took a quick look and I see the exact problem. Likely won't be able to fix it until tomorrow though as I won't be at my computer today.
Post Reply

Return to “Gameplay Mods”