PDA

View Full Version : Portals?



SuperSunny
June 19th, 2007, 02:59 PM
Do they work for anyone? Everytime I try to export them in ANY map, they don't work, or they appear as an invalid shader, it's weird. I apply the +portal material exactly like in the original HEK, but they never appear as portals.

Skyline
June 19th, 2007, 03:08 PM
Portals are used by Halo 2 to create separate zones within a single level. This allows the game engine to be more efficient in rendering assets as well as allowing unique background sounds and sound environments in different areas.
Once a level reaches a certain size, it will require portals due to the amount of data included in the levels tag files. Portal planes are placed in your 3D editor and must have the +portal material applied to the faces to be exported properly.
Some tips for creating portals are as follows:
· To create a seal, portals must intersect world geometry or other portals.
· Portal planes can extend outside the level.
· Portal planes can be vertical, horizontal, or angled.
· To view portals in Sapien, use the console command visibility_debug_1.
· To turn off portals in Sapien, use the console command visibility_debug 0.



^ In the editing kit tutorial.

TheGhost
June 19th, 2007, 03:14 PM
Make sure you set up a sub-material. The .ass exporter doesn't export Standard materials.

SuperSunny
June 19th, 2007, 03:28 PM
Make sure you set up a sub-material. The .ass exporter doesn't export Standard materials.

Yep, done so. I have to really see what's wrong, because everything else seems to work but the +portal material (+sky, +seamsealer even works)

Sakievich
June 19th, 2007, 03:35 PM
Remember this is H2V EK, don't expect things to be where stated or work as described.

TheGhost
June 19th, 2007, 03:50 PM
Does it show up as "+portal" in the .ass file?

soccerbummer1104
June 19th, 2007, 04:04 PM
they work fine in my map, ask oxygen, he set them up for me.

SuperSunny
June 19th, 2007, 04:09 PM
Does it show up as "+portal" in the .ass file?

I'll check, I'm not sure

jahrain
June 19th, 2007, 07:19 PM
I was having problems as well until I made each portal have it's own specific shader instance, such as +portal1, +portal2, +portal3 ....

SuperSunny
June 19th, 2007, 07:40 PM
Worked! Strangely

jahrain
June 19th, 2007, 08:25 PM
What did you do?

SuperSunny
June 19th, 2007, 08:26 PM
Detached the objects, gave them different shader instances.

Roostervier
June 19th, 2007, 08:29 PM
Hmm, I attached mine and they worked just fine, wonder what's wrong with that for you guys?

jahrain
June 19th, 2007, 09:14 PM
I have all my portals attached as one object, but each portal has different shader instances.

Roostervier
June 19th, 2007, 09:53 PM
Mine has one shader, +portal. I guess I am lucky. I will keep this in mind in case it affects my future use.

JackRabbit72380
July 21st, 2007, 08:23 PM
whats +seamsealer do & how dose that work ?