Hello. I am currently working on a mod that brings back bouncy plasma weapons as a unique weapon type, and I've got a little work on it already underway, but there's a couple things flying over my head. This is what I have so far: https://files.catbox.moe/wwermd.webm I want to change the explosion sound and graphic, and this is my script for when it works. https://files.catbox.moe/vwqddg.png I tried making a unique filepath with the same exact files and it does this https://files.catbox.moe/p4yh4v.webm https://files.catbox.moe/d52uf4.png I've read the logs and it said there is something wrong with my main projectile but it works fine unless I change the explosion...not really sure whats going on with that. Any help would be greatly appreciated! This was my favorite weapon type in the old Starbound days and it keeps getting shafted whenever it comes back in RNG weapon mods so I wanted to make a "permanent" version of it
1) when you say you made a new file path and kept the same files... did you change anything in the files or are they still default. 2) Error logs. Always post one, it makes helping 400 times easier
They are still default (for now) I tried changing the names of the files and a lot of other stuff, and it just keeps crashing here's my most recent log https://pastebin.com/avj62MXr
Caused by: (AssetException) No such asset '/projectiles/explosions/gravplasmaexplosion/gravpulsecannonexplosion.config' Make sure 100% that your file name and path are correct. Once you do that, and you feel like it should be working, you can zip the files and post them on here and I can take a look at them. It's usually easier that way, instead of constantly asking what is in a file and waiting for a response.
Here's the file Thanks for offering to help look at it all https://files.catbox.moe/v1kvb0.rar The weapon that im having issues with is the "launcher" type. I wanted its effect to be unique, but I wanted to change the explosion effect.
It shoots just fine for me. Are these files after you have made your changes? edit : looking at your previous post, i dont think they are. In your second screenshot, you are trying to use \projectiles\explosions\gravplasmaexplosion\regularexplosionuniversal.config there is no such file in vanilla or in your mod though. I think you are intending to use "/projectiles/explosions/gravplasmaexplosion/gravplasmaexplosion.config" correct? Edit 2: Looking in your files, inside your folder the file is named gravpulsecannonexplosion.config not gravplasmaexplosion.config
Let me know how it goes. But yes, I was able to fire the gun straight outta the box. I was also able to fire it after changing the explosion to gravpulsecannonexplosion.config edit : for ease of communication, if you have steam feel free to add me projectmayhem1983
Sorry to Necro but could someone help me with the scripting on my weaponability.config.patch? :WARNING: As it is right now it causes all my weapons from all mods to become PGIs!!! :WARNING: I just want someone to look at the script and please tell me what I am doing wrong. https://files.catbox.moe/0p9rif.rar
Just off the bat, you have your folder names capitalized, they need to be lowercase. A folder called Items is different than a folder called items. If you are trying to patch a file, you have to make sure the folders are named exactly like vanilla. Once you change that, make sure to change the file path in your patch. Also, in your patch file, you do not have to include the name of your mod folder. So instead of starting it off /PlasmaBouncerGun/Items/active/........ Just use /items/active/...... And last, the patch file should look like this after your changes are made. Code: [ { "op": "add", "path": "/plasmahoverball", "value": "/items/active/weapons/ranged/abilities/PlasmaHoverBall/PlasmaHoverBall.weaponability" } ]