Welcome New User Home | Forums | Register | Login | Larger Font
Main-Menu
Home
Login
Register
Add Download
Add News
Add Tutorial *
Forums

Advertise
Affiliate Store US *
Affiliate Store UK *
Affiliate Store CA *
Angry Letter Generator
Avatar Upload
Calendar of Games
Contact
Downloads
FAQs
Forums
Member List
Member Projects
News
News Grabber *
Policy
Polls
Private Messages
Reviews
Screenshot Gallery
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoD FAQs
HL2 Mapping
HL2 FAQs
SOF1 Mapping
Crysis Mapping
Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs
UT2K3 Mapping
SOF2 Mapping
SOF2 FAQs

Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors

Readme.txt Generator
Members-Online
jasonthdar... [Forum]
R4R44VIS [Forum]

2 Members and 12 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Sunday, Jul. 20th
MODSonair 137 LIVE
Friday, Jul. 18th
MODSonair Episode 136
Thursday, Jul. 17th
E3 2008: Daily Recap
Monday, Jul. 14th
E3 2008 Latest News
Sunday, Jul. 13th
MODSonair 136 LIVE
Latest Poll
Want a MODSonline Wiki for various games?
I think a Wiki would be a great addition to MODSonline. 75.59%
I could see a benefit of a Wiki. 4.72%
I think it would take away from the community. 3.94%
Wiki sites are never good. 3.94%
Wiki... isn't that Buck Roger's robot slave? 11.81%
Read More...
10 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
How to play background music?
CoD 4 Single Pla.. Posts: (15) Views: (248) by KD
cod2 radiant textures problem, help ??
CoD 2 Level Desi.. Posts: (10) Views: (84) by mathias991
CoD4 Kar98K model
CoD 4 Scripting.. Posts: (12) Views: (185) by zeroy
Map Running Issue
CoD 4 Level Desi.. Posts: (5) Views: (34) by KillerCrazzy
Art of War Central Quake 4 Mods for Dummies
Typhoon Servers
Forums
MODSonline.com Forums
Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD 4 Level Design
CoD 4 mapping and level design.
Moderators: foyleman, rEdrUmMDK, Foxhound, Rasta, StrYdeR, The_Caretaker, batistablr, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access
Page
Next Page
subscribe
Author Topic: Portals
Pnk
General Member
Since: Aug 16, 2007
Posts: 8
Last: Jul 7, 2008
[view latest posts]
Level 0
Category: CoD 4 Level Design
Posted: Saturday, May. 17, 2008 12:56 pm
Hey,

I have some question relating about portals
I have tried to search some good tutorials but none of them can really tell how to apply portals and what the logic is about portals.

Me and a friend have almost finished our map and now we want to apply portals. My two main questions are
- How does portalling work so i can understand the logic behind portals?
- And how can you apply portals in a logical fashion?

minimap

As you can see on the minimap 80% of the action is indoors.
The_Caretaker
Preferred Member
Since: Jun 8, 2004
Posts: 11042
Last: Jul 20, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoD 4 Level Design
Posted: Saturday, May. 17, 2008 12:59 pm
Portals work by deviding the map into cells. The enginge calculates which cell you can see, and which you can't and then make the graphics card only draw the ones you can see, thus boosting FPS, because your card doesn't have to draw out all those things hidden from view anyway.


Each cell is an encloses space, closed off by structural brushes (walls, roofs etc) and portal brushes.

Building are easily turned into single cells by sealing off the doors and windows with the portal brush.
Outsides are a bit trickier usually.
Pnk
General Member
Since: Aug 16, 2007
Posts: 8
Last: Jul 7, 2008
[view latest posts]
Level 0
Category: CoD 4 Level Design
Posted: Saturday, May. 17, 2008 01:18 pm
thanks for the quick reply and the information. But is there an easy way tot divide outdoor space in to single cells or is it just trial and error?
Johnno
General Member
Since: Mar 21, 2006
Posts: 92
Last: Jul 16, 2008
[view latest posts]
Level 3
Category: CoD 4 Level Design
Posted: Saturday, May. 17, 2008 01:23 pm
You need to bear in mind that portals 'penetrate' terrain brushes, so to speak, so you need to have the bottom of the portal below all terrain brushes and remember that you can't have the same cell on both sides. (i'm as confused as you are lol)
The_Caretaker
Preferred Member
Since: Jun 8, 2004
Posts: 11042
Last: Jul 20, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoD 4 Level Design
Posted: Saturday, May. 17, 2008 01:33 pm
It's usually trial an error.. but keep in mind you need to make your cells so they don't see into alot of other cells.. so use corners in roads, walls and cover for your cells.


In your minimap picture for instance, there are alot of corners outside.. use those. The area on the far right side of the map can be easily made into one cell etc.
Pnk
General Member
Since: Aug 16, 2007
Posts: 8
Last: Jul 7, 2008
[view latest posts]
Level 0
Category: CoD 4 Level Design
Posted: Saturday, May. 17, 2008 01:53 pm


Like this you mean ? The greyed out part is not accessible for players.
The_Caretaker
Preferred Member
Since: Jun 8, 2004
Posts: 11042
Last: Jul 20, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoD 4 Level Design
Posted: Saturday, May. 17, 2008 01:59 pm
I'd probably turn both those areas in 3 or 4 portals..
FiremanPaul
General Member
Since: Nov 5, 2006
Posts: 61
Last: Jun 7, 2008
[view latest posts]
Level 3
Category: CoD 4 Level Design
Posted: Sunday, May. 18, 2008 06:25 pm
Remember that as far as buildings go, related to portals, there is usually more textures and models inside than outside. If the buildings are anything other than really small, portaling just the buildings can have a huge benefit. Caretaker gave a good description of what the portals do in regards to the games engine and the graphics card. If you were to divide a long straight street into multiple cells, you wont see much benefit because you can see down the length of the street right through each portal. Open the stock maps using a mod and enter /devmap mapname, then enter /r_showportals 1, this will show you how those maps were portaled. You may find that just portaling the buildings is enough, or perhaps dividing the outside areas into just a handfull of portals. You can have portals withing portals, for example you could have a group of buildings each seperately portaled, and then put a large portal box over the top of the group of buildings. The goal is to seperated areas that cant be seen from another area.
peri
General Member
Since: Jan 23, 2005
Posts: 436
Last: Jul 18, 2008
[view latest posts]
Level 5
Category: CoD 4 Level Design
Posted: Sunday, May. 18, 2008 07:35 pm

Quote:
You can have portals withing portals


eeek - oh no you can't.
FiremanPaul
General Member
Since: Nov 5, 2006
Posts: 61
Last: Jun 7, 2008
[view latest posts]
Level 3
Category: CoD 4 Level Design
Posted: Sunday, May. 18, 2008 08:33 pm
done it, as long as they dont touch, all is good

Restricted Access Restricted Access
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD 4 Level Design
All logos and trademarks and information in this site are property of MODSonline LLC © 2008.
The comments are property of their posters.
RSS news feeds for MODSonline.com can be found News.php.
Art of War Central
Partners
Call of Duty Headquarters
Battle for Europe COD2
XoXide
The Firing Box
Websites4Clans
My Topsites List
Frag Universe
modbase.be
Ask About
Advertising
Friends
After Life Gaming
Canada Kicks Ass Clan
CoD 4 Base
Ask About
Advertising
Link to Us
MODSonair
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
MODSonair Releases
MODSonair Episode 136
MODSonair Episode 135
MODSonair Episode 134
MODSonair Episode 133
MODSonair Special CoD:WW Episode
Next Show
The next MODSonair show will air LIVE on:
07/27/2008 11:00 EDT

Time remaining:
Copyright © 2008 MODSonline
Tresware Content Management System Copyright © 2008 Tresware
Website Designed and Hosted   Tresware