It is currently 4. Sep 2010, 21:03





Reply to topic  [ 8 posts ] 
 [TUTORIAL] area_portalwindow 
Author Message
Member
User avatar

Joined: 18. Feb 2009, 02:58
Posts: 49
Location: Germany
Thanks: 6
Thanked:
19 times in 10 posts
Thanks
Post [TUTORIAL] area_portalwindow
This is useful for windows on houses,
to push up the FPS.

It hides props and stuff from be rendered, even you look on it
(a normal area_portal is open when you look on it).


Steps:

Make a window (a hole in the wall xD).
Make a window-frame (not a must, but it looks better).
Now make 3 brushes: the glass-window, the area_portalwindow and an func_brush.
Glass and area_portal brush 1 nunit, the func_brush 3 units thick.

Set the texture tools/black on the func_brush.
Effect: The window fades to black, if you go away from and view on it.

Fit the glass-window to the frame, the func_brush also,
and the area_portalwindow to the solid walls

Make frame and glass to func_detail
(If the window has to be breakable,
make it func_breakable, of course ^^)

2d Top-view:
Image


Go to the func_brush and give it a name.
Image


If the window is breakable, make the func_brush not solid.
Image


Now on the area_portalwindow,
set the rendered window.
Use the name of the func_brush what you set before.
Image


Thats all you have to do :)


Now lets see how it works:


Open portal, you can see the props behind
Image


Closed portal: nothing behind it will be rendered
and you pushed up the fps ^_^
Image

You can check by getting the example map
(*.bsp + *. vmf)


PS
Sorry for my bad english -.-


Attachments:
example.rar [60 KiB]
Downloaded 5 times
6. Jun 2010, 19:02
Profile E-mail
The following user would like to thank MoOnLiGht for this post:
/l O X M A T bl l/l, Alex, Stabby
Online
ZMM Legend
User avatar

Joined: 11. Feb 2009, 08:26
Posts: 446
Location: Russia, St.-Petersburg
Thanks: 202
Thanked:
116 times in 94 posts
Thanks
Post Re: [TUTORIAL] area_portalwindow
MoOnLiGht wrote:
It hides props and stuff from be rendered, even you look on it
(a normal area_portal is open when you look on it).

Effect: The window fades to black, if you go away from and view on it.

Open portal, you can see the props behind

Closed portal: nothing behind it will be rendered
and you pushed up the fps ^_^


If say simplistically - it makes the window non-transparent when you do not close ( therefore, the FPS increases ) ???

_________________
Green_Star AKA ЛОХМАТЫЙ ... SFME _Image (Sorry For My English)


( " /i O X M A T bl l/i " by Latin symbols, "LOHMATYJ" by translit, "shaggy" in English )

Image

6. Jun 2010, 20:10
Profile E-mail ICQ
Member
User avatar

Joined: 18. Feb 2009, 02:58
Posts: 49
Location: Germany
Thanks: 6
Thanked:
19 times in 10 posts
Thanks
Post Re: [TUTORIAL] area_portalwindow
since you cannot look trough closed portals,
i say yes, it make it non-transparent

to be exactly, it will be black ^^
like in real life, you cannot look in windows from distance or?

just load the example.bsp, and look it ingame

on the screens it looks strange because of wireframe is on


6. Jun 2010, 20:33
Profile E-mail
Member
User avatar

Joined: 30. Nov 2009, 11:55
Posts: 197
Location: ROMANIA
Thanks: 89
Thanked:
14 times in 11 posts
Thanks
Post Re: [TUTORIAL] area_portalwindow
wow moon ur a genious ty :yes:

_________________
Image


7. Jun 2010, 10:25
Profile ICQ
VIP's & honorable members
User avatar

Joined: 10. Feb 2009, 15:52
Posts: 231
Thanks: 80
Thanked:
84 times in 42 posts
Thanks
Post Re: [TUTORIAL] area_portalwindow
Thanks moonie, thats extremely useful for mappers. Most tutorials are over complicated when it comes to area portals but this is perfect! Nicely written and step by step :]

_________________
⋆ÃסּĦ⋆ ☾⋆ ÃŁęЖ ⋆☽


7. Jun 2010, 22:28
Profile E-mail
Member
User avatar

Joined: 18. Feb 2009, 02:58
Posts: 49
Location: Germany
Thanks: 6
Thanked:
19 times in 10 posts
Thanks
Post Re: [TUTORIAL] area_portalwindow
thank you ^^

but im not sure about the 2d topview ..
is it understandable?


8. Jun 2010, 19:49
Profile E-mail
VIP's & honorable members
User avatar

Joined: 10. Feb 2009, 15:52
Posts: 231
Thanks: 80
Thanked:
84 times in 42 posts
Thanks
Post Re: [TUTORIAL] area_portalwindow
It does look slightly complicated but I can understand it perfectly mm

_________________
⋆ÃסּĦ⋆ ☾⋆ ÃŁęЖ ⋆☽


8. Jun 2010, 19:55
Profile E-mail
[ZMM] - Technicians
User avatar

Joined: 10. Feb 2009, 15:56
Posts: 711
Location: Hamburg
Thanks: 56
Thanked:
184 times in 114 posts
Thanks
Post Re: [TUTORIAL] area_portalwindow
Its not easy for someone to see what it means.
But im sure when all will look on it carefully they will get something out of it...So its ok ^^

Thanks moon

_________________
Image

Image

Email: zubaza92@zmmapperz.net


8. Jun 2010, 20:19
Profile E-mail ICQ Visit website
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © phpBB Group.
Community-Website Configured and installed by Zmapperz.net
Creation & © of Website and posting 2009 by Zmmapperz.net Team !