#Event `room1archive` does nothing

1 messages · Page 1 of 1 (latest)

teal walrus
#

The single purpose of room1archive event is randomize access level after game start, and then this event will do nothing (wasting some cpu time each frame). Such events should delete itself after they're done like buttghost or endroom106 events, however this event might be deleted from game entirely - you can assign access level in fillRoom method

UpdateEvents.bb
https://github.com/SCP-CB-Community-Preservation-Project/scpcb/blob/main/UpdateEvents.bb#L8691

MapSystem.bb
https://github.com/SCP-CB-Community-Preservation-Project/scpcb/blob/main/MapSystem.bb#L4632

GitHub

SCP - Containment Breach. Contribute to SCP-CB-Community-Preservation-Project/scpcb development by creating an account on GitHub.

GitHub

SCP - Containment Breach. Contribute to SCP-CB-Community-Preservation-Project/scpcb development by creating an account on GitHub.

#

Interesting side effect of 1.3.11 implementation, that player can affect random access level by pressing movement keys during first loading (at 70%-99%). Each step sound will call Rand, so access level will depend on how many steps player did during loading

turbid cliff
#

i feel like whoever wrote that code was under the assumption that the door key card level would not be serialized

#

and they were right

#

removing the event and instead using FillRoom makes it randomize on every load

teal walrus
#

real

#

that makes sense why this event exist