3

In Portal 2, when I no clip through the world, I sometimes notice these unreachable boxes, and different shapes floating in the middle of nowhere.

enter image description here

This map was made by valve, and you can see these boxes on almost every single map


From experience with the Portal 2 Authoring tools, I know that no props, objects, functions can exist in the void, and have to be sealed in walls, or you get a "leak". This is said to be because the game engine needs to separate the void from the playable area.

Is there any actual benefit to putting logic outside of the map, as having it inside does not interfere with playability at all? If I was to make a map, why would putting logic outside benefit me in any way?

8
  • 1
    This might be something you'd want to ask gamedev.stackexchange.com instead. Check the quesion's on-topicness beforehand, tough. – DJ Pirtu Mar 16 '16 at 17:04
  • They are probably in skybox if you can't reach them- or they are in void. – Ave Mar 16 '16 at 17:18
  • maybe not applicable to portal 2, but in other source games these objects are used with the sky boxes. – Colin D Mar 16 '16 at 17:18
  • @ardaozkal They are in the void. Most portal maps (like this one) do not need a skybox as it is indoors. These boxes were accessed by noclipping through a wall to the void – John K Mar 16 '16 at 17:20
  • @JohnSmith yes, Portal 2 doesn't need a skybox. But when working with the Source engine, it is better to put a skybox in, even if it has little to nothing in it. – ZomoXYZ Mar 16 '16 at 18:17
1

Those boxes are source for the Hammer Editor, like... I think they put settings spawns to teleport and ect. inside

So they put a cube inside the box, the reason is because you don't want a cube in your map for no reason, I know they come out from a box but how you get another cube if the other cube gets destroyed? Thats exactly this.

If your cube gets destroyed it calls another cube from those unreachable boxes. Inside one of them there is a cube, this cube is used to be a template.

If a cube is a template you can spawn other templates, which will result another cube.

2
  • I doubt that this is the case of a cube dispenser. Those have shafts on the walls of test chambers. The map devs could've also put the logic inside the test chamber. – John K Jul 30 '16 at 15:08
  • A cube is inside there, which is supposed to be a template, one of them is also a player spawn point – jepjep40 Dec 3 '17 at 12:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.