Aller au contenu

Recherche de portes

Chaque porte que RDR2 enregistre dans son système de portes, sur la carte. Clique sur une porte pour voir son hash et sa position, et copie des lignes vorp_doorlocks ou rsg-doorlock.

Lire la doc

Ces notes sont en anglais pour l'instant.

Where the hashes come from

RDR2 does not work out door hashes at runtime: each door entity in the game's map files and interiors carries its door system hash in its own data. We read every one of them, 1,901 doors with 1,846 hashes, so a door here is the door the game registers, at the position it sits in the world. All 124 door hashes in vorp_doorlocks' own config are in this list.

Using a door

Click a door (zoom in to see which way it faces), shift click to add more, or search by model, interior or hash. Copy the selection as Config.Doors entries for vorp_doorlocks, Config.DoorList entries for rsg-doorlock, or Lua that registers and locks the doors. Set the permissions or jobs to your own before you use them.

A few interiors are placed more than once (a riverboat, some shacks), so their door hashes repeat; those doors say so. Doors whose map file only loads when a script asks are marked too.

Plus d'outils RedM