re4_tweaks icon indicating copy to clipboard operation
re4_tweaks copied to clipboard

Memorize key lock

Open DarthxVoid opened this issue 3 years ago • 7 comments

Describe the feature you'd like to see added

I would like to be able to use the keyed door trance in the game, without the game getting bugged That when you go back and forth on the previous map, the game understands that you have already unlocked that door

DarthxVoid avatar Jul 12 '22 21:07 DarthxVoid

I don't understand. The game already does this. You unlock the door is stays unlocked. This function is saved into memory while you play, and saved in your savegame.sav file when you save.

Mister-Curious avatar Jul 13 '22 10:07 Mister-Curious

I don't understand. The game already does this. You unlock the door is stays unlocked. This function is saved into memory while you play, and saved in your savegame.sav file when you save.

he is talking about adding custom door locks like the companion does

Scoovy avatar Jul 13 '22 14:07 Scoovy

Couldn't he just use the companion in this case? I know Mister-Curious uses it and re4_tweks together with no issues. Hm.

nipkownix avatar Jul 13 '22 14:07 nipkownix

The problem is that the companion doesn't save that you unlocked the door and it crashes the game a lot, like if I lock the r100's door, I go there and use the key and unlock it, if i go back to r100 i will be stuck because the door will be locked again

DarthxVoid avatar Jul 13 '22 14:07 DarthxVoid

the companion does save it but for me it still resets it sometimes and the biggest issue is the constant anmount of crashing this is why i switched to the Qingsheng DLL but it doesnt have door key locking

Scoovy avatar Jul 13 '22 16:07 Scoovy

Oh I didn't understand this request for custom locks. For me, the Companion DLL saves lock event states just fine (I've got at least 40 of them in my mod) and they have NEVER reset once (this includes coming and going to the same room with the lock events).

As for crashing, I get the odd one, but it is not enough to make me think it is the DLL (I have tested my game with and without the DLL and had very similar frequency of CTD).

In any case, about the locks.... The way it works is that there is a file that is generated called 'save.extend' which the DLL writes to with this save state info. Users might want to make sure this file is present in the FILES folder.

About implementing this... I suspect that for whatever reason there will still be some people that don't want to use the Companion DLL (or can't - users with non-Steam versions of the game), and may want alternatives.

Mister-Curious avatar Jul 13 '22 18:07 Mister-Curious

this is a very important addition, it will make your tool very complete, thanks Curious for passing the way, I'm looking forward to this addition

DarthxVoid avatar Jul 14 '22 03:07 DarthxVoid