[0.10.6] Gun Bonsai -- everything-compatible weapon upgrading
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.
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.
-
- Posts: 11
- Joined: Sat Jun 05, 2021 3:37 pm
Re: [0.10.6] Gun Bonsai -- everything-compatible weapon upgrading
Hey there! On Heretic, is there a way to keep a weapon's upgrades when using a tome of power? I know that normal and upgraded weapons don't share the same weaponclass, but maybe someone has created a mod, or maybe gunbonsai already supports it? (I haven't found anything like that, but I'm asking just in case)
-
- Posts: 193
- Joined: Sun Sep 01, 2019 10:59 am
Re: [0.10.6] Gun Bonsai -- everything-compatible weapon upgrading
I'm fairly certain you can use a BONSAIRC lump to do this. Off the top of my head, I'm not certain what the correct lines are, and I don't have time before work to test it, but if you don't have it figured out by the time I get home, I'll see if I can narrow it down.Asurmen wrote: ↑Thu Apr 17, 2025 5:58 pm Hey there! On Heretic, is there a way to keep a weapon's upgrades when using a tome of power? I know that normal and upgraded weapons don't share the same weaponclass, but maybe someone has created a mod, or maybe gunbonsai already supports it? (I haven't found anything like that, but I'm asking just in case)
-
- Posts: 11
- Joined: Sat Jun 05, 2021 3:37 pm
Re: [0.10.6] Gun Bonsai -- everything-compatible weapon upgrading
Thanks for the reply! I made some testing and in fact... it seems it IS already keeping upgrades between normal and enhanced versions of the weapon, when you use the "weapon class" option ( Originaly, I was using the "same weapon with inheritance"). Don't know what happened exactly but when I tested it last time it wasn't working this way. Maybe it's because I started a new playthrough, or because I was using a weapon pack at that time. I'll continue testing it this way, hopefully I just made a mistake last time 

-
- Posts: 11
- Joined: Sat Jun 05, 2021 3:37 pm
Re: [0.10.6] Gun Bonsai -- everything-compatible weapon upgrading
And... again it doesn't work anymore! Every time I remember to check and the last tome of power I used seems to have "broken" the system. My instinct tells me that it could have something to do with weapons like the dragonclaw that change weapon type or mix them when they become enhanced (the dragonclaw gains projectiles in addition to being a hitscan weapon).
-
- Posts: 11
- Joined: Sat Jun 05, 2021 3:37 pm
Re: [0.10.6] Gun Bonsai -- everything-compatible weapon upgrading
I asked ChatGPT, as I didn't even know what a BONSAIRC lump was
and I created it with these lines :
Does it looks like something that could work ? (I'll test it but if it's like the last time, it could work at the begining and stop after some time).
Edit : Finished E1M3, that worked so far.
Edit : Finished E2M1 and still working, so I guess it's a win
Thanks for the suggestion! Hopefuly it'll help someone else someday.

Code: Select all
merge BlasterPowered Blaster;
merge CrossbowPowered Crossbow;
merge GauntletsPowered Gauntlets;
merge GoldWandPowered GoldWand;
merge MacePowered Mace;
merge PhoenixRodPowered PhoenixRod;
merge SkullRodPowered SkullRod;
merge StaffPowered Staff;
Edit : Finished E1M3, that worked so far.
Edit : Finished E2M1 and still working, so I guess it's a win

-
- Posts: 19
- Joined: Sat Nov 12, 2022 1:25 pm
Re: [0.10.6] Gun Bonsai -- everything-compatible weapon upgrading
Hey ToxicFrog. I hope everything's okay.ToxicFrog wrote: ↑Sat Jan 06, 2024 9:46 am That stack trace is weird as hell! What pistol start mod are you using? My best guess here is that you were wielding an SPAS-15 with Rapid Fire on your way out of the level, the pistol start mod deleted it and replaced it with a Five-Seven, and Rapid Fire ended up trying to execute a psprite state from the former using the latter, or something like that.
Which definitely shouldn't happen, but I think I need to recreate it locally to figure out why it happens first.