[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.4054510 [View]
File: 2.45 MB, 1280x720, Desktop 06.11.2017 - 22.37.12.163.webm [View same] [iqdb] [saucenao] [google]
4054510

>>4054484
Yeah, but it's actually a tiny, tiny door that is activated by an invisible touch sensor. Buttons can only auto-reset after a time or stay on permanently, while doors can be toggled; however, making it a player-usable door means it's automatically activated from several feet away which is silly, but making it a shootable door instead makes it surprisingly hard to hit, even with an axe, because it's so small. So there's an invisible sensor right in front of the switch which then activates two relays, one that moves the door (which makes the sound of a button through loading a different, precached sound, because otherwise doors are loud and don't sound like switches at all) and one that toggles the light. Could probably use a short delay to make it look better, but fuck it. it's a shitty square test box map.

This is the kind of thing that could probably be solved easily through actual code but is fun to figure out how to do using only vanilla entities without looking up the 20 years of people who've already figured it out and so don't find it interesting at all.

Navigation
View posts[+24][+48][+96]