I am not well versed with all the new fandangled scripting stuff, all I can tell you is that I have never seen anybody edit an editor config file as you have done. I always leave these config files as downloaded with the editor. The only time these should be edited is when making a new config for a yet nonexistant configuration, for example to differantiate between DOOM 2 and DOOM editing sessions.
To eliminate a lot of problems iy always advisable to include the gzdoom.pk3 file into resources, ticking the "Exclude ..." box
Maybe this tutorial can help you,
or somebody who knows this stuff can give some further advice.
Yarp, I have created a few config files, but I create them as new files with their own names. Most of the time you can simply reference the default files within your own project without editing them. So all you need to do is create copies of the files where you will be changing/adding entries and use those in your own project alongside the unchanged originals.
The originals do occasionally get updated, so keeping your own files to a minimum makes sense otherwise you will miss the changes. In fact, I think if you have changed some of the original files, they will get overwritten when you update regardless of whether the update changes those files or not. So, it's best to write your own with unique names (or at least keep a backup).
It sounds like Kappes Buur has the right answer. Excluding the resource would fix the problem.
The problem is that these LOCKDEFS are IN the map pack with other textures and actors. So I'll have to experiment to make sure it works right.
Thanks for all the help.
I ended up adding my key to the "keys" enum in my configuration copy, and removing the LOCKDEFS while working on the locked doors... then once that was done I added the LOCKDEFS back in. It saves fine without an issue, it just is hard to set keys when the enum breaks.
That the default locks are overridden when a LOCKDEFS is present is intended behavior. Otherwise you'd have duplicate entries if you load gzdoom.pk3. Or have entries you don't even want for your custom game.