Door tutorial
Moderator: Moderators
-
Soul Extractor
- Lance Corporal
- Posts: 15
- Joined: Wed Jan 14, 2004 2:00 am
-
Soul Extractor
- Lance Corporal
- Posts: 15
- Joined: Wed Jan 14, 2004 2:00 am
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
-
Soul Extractor
- Lance Corporal
- Posts: 15
- Joined: Wed Jan 14, 2004 2:00 am
TlTrude ...got another door problem. I made a door with breakable windows ...problem is when I open the door for some reason the windows create an invisible barrier and wont let me pass. Visually the glass moves with the door but still cant pass by normally I need to shatter the glass for my player to be able to cross the door way.
let me know if you or anyone else can help. thx
oh by the way Just in case ..I binded my glass to my door so that the glass moves with the door.
let me know if you or anyone else can help. thx
oh by the way Just in case ..I binded my glass to my door so that the glass moves with the door.
Last edited by Soul Extractor on Mon May 24, 2004 5:31 pm, edited 1 time in total.

-
Soul Extractor
- Lance Corporal
- Posts: 15
- Joined: Wed Jan 14, 2004 2:00 am
func_window
The func_window will move when the door moves (if you bind it).
$front_door_window bind $front_door // <--a line in the door2 script
But, the broken window script-object will not move because it is hidden, and that is your invisible brush. If you take the front door of my door2 house apart, you will see how I overcame that problem.
Note: If you select one brush of an entity and hit Ctrl E, all brushes of the entity will be highlighted.
$front_door_window bind $front_door // <--a line in the door2 script
But, the broken window script-object will not move because it is hidden, and that is your invisible brush. If you take the front door of my door2 house apart, you will see how I overcame that problem.
Note: If you select one brush of an entity and hit Ctrl E, all brushes of the entity will be highlighted.
-
Soul Extractor
- Lance Corporal
- Posts: 15
- Joined: Wed Jan 14, 2004 2:00 am
got that NOTE cuz that sure was a problem when moving my 'moving' fire escape but still for the door I dont have the after effect for the shatter. The window on the door is just one brush with the 'Func' Window and my bind is:
$pawnwindow bind $pawndoor
I have two that work perfect but two others have an invisible barrier which is removed when the window is shattered.
Ex/ you could be facing the open door and door way and shoot at nothing ...not even aiming at the glass from the door yet it shatters the window.
I mean you can still enter the building but its anoying that there is like a bump that you have to go around to get in and that bump is gone when you break the window.
I'd send you the map but I have so many custom textures I really dont want to bother with it. its like almost 20mb and its unfinished most of the mb is textures as you know.
thx all for the help.
its always onething when mapping
$pawnwindow bind $pawndoor
I have two that work perfect but two others have an invisible barrier which is removed when the window is shattered.
Ex/ you could be facing the open door and door way and shoot at nothing ...not even aiming at the glass from the door yet it shatters the window.
I mean you can still enter the building but its anoying that there is like a bump that you have to go around to get in and that bump is gone when you break the window.
I'd send you the map but I have so many custom textures I really dont want to bother with it. its like almost 20mb and its unfinished most of the mb is textures as you know.
will need to try this yet didnt get a chance but will attemptinstead of binding it, try making it part of the door function. select the door parts and the window and right click the go to add to entity. it should all now be part of the func_door. see if taht works for you.
thx all for the help.
its always onething when mapping

ya, it can be.
i haven't seen tltrude's tut map yet but here's my idea...
since your broken window is separate, try binding that too. so
and do try that thing with making both the windows part of the rotating door. 
i haven't seen tltrude's tut map yet but here's my idea...
since your broken window is separate, try binding that too. so
Code: Select all
$whole_window bind $front_door
$broken_window bind $front_doorModerator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
i got a door tut her:
http://www.leveledit.com/tutorials/doors_tut.htm
though ignore the example map - its messed up i really should fix it my radiant went weird lol
http://www.leveledit.com/tutorials/doors_tut.htm
though ignore the example map - its messed up i really should fix it my radiant went weird lol
"We must become the change we want to see in the world" (Mahatma Gandhi)
doors
Soul Extractor - can you send me a prefab that includes one good door and one bad door? (tltrude(at)sbcglobal.net)
To make a prefab, highlight all the brushes of both doors and click on File > Save to Prefab. Then attach that file to your e-mail you send me.
To make a prefab, highlight all the brushes of both doors and click on File > Save to Prefab. Then attach that file to your e-mail you send me.
-
Soul Extractor
- Lance Corporal
- Posts: 15
- Joined: Wed Jan 14, 2004 2:00 am


