For a map that I'm building (GZDoom format with Doombuilder), there is a switch that requires you to have the three main keycards (red, blue, yellow) and two skull keys (red and blue) to lower a floor sector. The default selection of locknumbers in the editor does not have this combination as an option:
The problem that I'm having is that when I create a custom lock type...it does show up in the editor and work ingame as intended, however it removes the other default lock number options. For example I created a little test map and added in this custom LOCKDEF:
lock 1
{
RedCard
RemoteMessage "My dude, come back later when you have the red keycard"
}
When I open this testmap and view the lock number options, I can only select the above example. The other default options are gone:
The LOCKDEFS article mentions the CLEARLOCKS command: "This clears all lock definitions from previous definitions. Use this only if you do not want to use any of the original locks, or if you intend to redefine all of them....If you just want to add more locks to the game you should not use CLEARLOCKS."
I'm not using the CLEARLOCKS command in my script, yet it seems to be activating anyways. Is my understanding of how this should be working correct? Can anyone point out if I'm doing anything wrong?
Question
Deleted
Hello,
For a map that I'm building (GZDoom format with Doombuilder), there is a switch that requires you to have the three main keycards (red, blue, yellow) and two skull keys (red and blue) to lower a floor sector. The default selection of locknumbers in the editor does not have this combination as an option:
I can create my own lock types with SLADE by adding a LOCKDEFS lump: https://zdoom.org/wiki/LOCKDEFS
The problem that I'm having is that when I create a custom lock type...it does show up in the editor and work ingame as intended, however it removes the other default lock number options. For example I created a little test map and added in this custom LOCKDEF:
lock 1 { RedCard RemoteMessage "My dude, come back later when you have the red keycard" }
When I open this testmap and view the lock number options, I can only select the above example. The other default options are gone:
The LOCKDEFS article mentions the CLEARLOCKS command: "This clears all lock definitions from previous definitions. Use this only if you do not want to use any of the original locks, or if you intend to redefine all of them....If you just want to add more locks to the game you should not use CLEARLOCKS."
I'm not using the CLEARLOCKS command in my script, yet it seems to be activating anyways. Is my understanding of how this should be working correct? Can anyone point out if I'm doing anything wrong?
Share this post
Link to post
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.