#1
25th Jun 2005 at 12:05 PM
Posts: 11,682
Thanks: 9680 in 11 Posts
20 Achievements
Information about locking doors
Just thought I'd share that I discovered the code that is responsible for causing Sims not to want objects that are the other side of a locked door. I thought by the time I found it that it would be common knowledge, but seeing as TwoJeffs and Pescado didn't know already, it's worth posting...
The solution is the line in global BHAV 0x03D6 which sets the route blocking flags. Once that flag is set, the game knows it must check your door's portal test to see if the Sim can get to things beyond the door.
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)