Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Real Doors

Page: 1 of 1
 snife
05-28-2004, 3:01 PM
#1
How do u do doors that looks like real doors,,(moving like real doors)
is it something with the textures NoDraw?
 WadeV1589
05-28-2004, 3:44 PM
#2
Swinging doors? They use scripting to rotate them 90 degrees or there abouts. I think it's been covered before actually...try search, failing that me or another scripter will post exactly how...but please try search first.
 lassev
05-28-2004, 5:26 PM
#3
Here's a tutorial made by some nameless wannabe mapper. It should be decent, though. Still, I would be cautious with the areaportaling part of the tutorial, if you are mapping MP, because there might lie some problems that way. It has not been verified, but just be cautious. If you don't do the areaportaling, it should be nearly perfect and a very easy to follow tutorial.

http://www.map-review.com/index.php?page=tutorial_view&id=25)
 Jedi_Vogel
05-29-2004, 4:40 AM
#4
If you are constructing a building and don't do areaportalling, shouldn't you be shot?
 WadeV1589
05-29-2004, 5:22 AM
#5
You should use area-portalling even in MP just it can cause oddities on slower connections when the game doesn't update fast enough; you temporarily get the void effect through the portal when the door first opens.
 lassev
05-29-2004, 6:28 AM
#6
The thing is that with swinging doors that need to be scripted, the areaportaling is not automatic. You need to use the adjust_areaportals script command. As I said, I have not verified this myself, but I got one report suggesting this command might not work in MP. Due to my inherent laziness, I still haven't checked this one out. Maybe it was nothing but some other error in the map of the person who reported this, or maybe it's a real problem.

Surely I will one day check it out myself, unless some good person here tells me the command also functions perfectly in MP, so that I would avoid the trouble and pain of testing it myself...

If you are constructing a building and don't do areaportalling, shouldn't you be shot?
As far as I'm concerned, the end results are everything that matters. I have scripted long enough to know that part of the business is hacking and trying out different solutions as long as it takes to make it work. If you follow some book of set rules, you are restricting your own imagination. That's what the swinging doors are all about: Not being content with the Star Wars / Star Trek style sliding doors. If it compromises areaportaling, then you gotta find some other way of keeping FPS up.
 Jedi_Vogel
05-29-2004, 8:32 AM
#7
I have a loooong way to go...
 WadeV1589
05-29-2004, 9:57 AM
#8
There is another way to areaportal a swinging door...have a regular door there as well that is made of a caulk brush, just set it to move really fast and make sure it has no associated sound. Trigger it alongside the swinging door and it will allow you to use an areaportal, no riskŠ¹ scripting in MP required.
 Jedi_Vogel
05-29-2004, 11:15 AM
#9
What's the highest value speed you can set a door to move?
 BongoBob
05-29-2004, 11:57 AM
#10
EDIT:Nm.

Off to try that...
 WadeV1589
05-29-2004, 12:20 PM
#11
I don't know the actual limit so I just type 10000 which is basically instantaneous.
 wedge2211
05-29-2004, 2:13 PM
#12
I wonder if it's possible to make an antiportal brush into a func_usable and bury it within the doors, then just toggle it with the doors? Probably a silly idea...
 lassev
05-29-2004, 2:20 PM
#13
Originally posted by WadeV1589
There is another way to areaportal a swinging door...have a regular door there as well that is made of a caulk brush, just set it to move really fast and make sure it has no associated sound. Trigger it alongside the swinging door and it will allow you to use an areaportal, no riskŠ¹ scripting in MP required.

If I remember correctly, you have a long career of doing extraordinary things when scripting was not yet possible, haven't you, Wade? This surely shows it. It might be a lot better way, I admit that. My problem is just that I tend to prefer scripting and think it's the solution to everything. My power grows and wanes in conjunction with the power of scripting...
 WadeV1589
05-29-2004, 2:20 PM
#14
You can't areaportal entities, you get that weird error...you know, that one.
 Jedi_Vogel
06-02-2004, 4:50 AM
#15
Just had a thought, you could areaportal a swinging door, couldn't you?

I mean, if you create the areaportal and make it part of the func_door entity then it would work, wouldn't it?

*goes off to search for the swinging door script, so he can learn*
 zag
06-02-2004, 5:06 AM
#16
 Jedi_Vogel
06-02-2004, 5:35 AM
#17
lol, yeah I found that thread, but thanks anyway...the search feature's a bit temporamental on me, but it still works lol.
Page: 1 of 1