WASTED
WASTED > Mod Releases > Topic Details
king bore haha May 13, 2017 @ 3:09am
Easy weapon modding template v4.2 (with associated guide)
Last edited by king bore haha; Jul 20 @ 4:16pm
< >
Showing 1-8 of 8 comments
king bore haha Jun 12, 2017 @ 9:31pm 
Lots of changes in v4. Edited everything again to make it more readable, fixed a couple melee weapon bugs, and also enabled changing the buff granted while aiming. Also some other misc changes: like providing the zoom_level buff for a way of changing how much the weapon zooms.

Another useful addition is More Info.txt, which is a database of known item tags, buff names, context tags, and weapon object names.
Last edited by king bore haha; Jun 12, 2017 @ 9:31pm
Zylo Jun 16, 2017 @ 8:40pm 
Just wanted to say thanks for the template, really makes moding weapons easier.
Zylo Jun 21, 2017 @ 11:39pm 
How does the logger work? I see that it runs in the console, but it never prints anything other than "logger started" "logger done" I set all the inner bools to true.
king bore haha Jun 22, 2017 @ 7:13am 
I don't know why that would happen. If enablelogger = true, and any of the log_infos = true then it should just work. Make sure the file is saved, and make sure the true/false are in lowercase are all I can think of.

There is also a glitch where the console can mess up and not print anything at all of it gets too full, so having them all set to true could also be causing a problem. But if it's printing "Logger is done" then I don't think that is it.
Zylo Jun 22, 2017 @ 11:10am 
Logger is enabled
Logger is done

I turned off all but one of the bools, but still this is all I get. ^
everything is lowercase.

I just place the file in my mods folder right?

EDIT: I think I fixed the above issue, but now it complains that it cant acesss base item from this line
Log("contextTags: " .. item.contextTags)

It worked once I commented out that line.
Last edited by Zylo; Jun 22, 2017 @ 11:31am
king bore haha Jun 22, 2017 @ 1:03pm 
Originally posted by Zylo:
Logger is enabled
Logger is done

I turned off all but one of the bools, but still this is all I get. ^
everything is lowercase.

I just place the file in my mods folder right?

EDIT: I think I fixed the above issue, but now it complains that it cant acesss base item from this line
Log("contextTags: " .. item.contextTags)

It worked once I commented out that line.

Oh ok items don't have contextTags so that makes sense. I must have put it in there and not thought about it. That's actually an old version of the logger, and the new version is a huge mess so I didn't update it in the template.
king bore haha Jul 6, 2017 @ 2:36pm 
Updated the template again, also updated more info.txt. It's up to the current version I've been using.

More info will be outdated again once I finish recording information for equipment and consumables, and I think I'll include everything in the same file at that point.
Last edited by king bore haha; Jul 6, 2017 @ 2:40pm
king bore haha Jul 22, 2017 @ 2:09pm 
Quick update, mostly regarding "More Info.txt" with some couple of (mostly inconsequential) changes in the template itself.
< >
Showing 1-8 of 8 comments
Per page: 15 30 50

WASTED > Mod Releases > Topic Details