HOW DO U DO BACKGROUND THINGS!?

Discussion in 'Mapping Questions & Discussion' started by Jnaejnae, Sep 27, 2015.

  1. Jnaejnae

    Jnaejnae L1: Registered

    Messages:
    47
    Positive Ratings:
    4
    Im new to mapping, started a few days ago but i learned quickly. One thing I cant figure out how to do, is make decorations and structures outside the skybox for decorations. Should i actually build stuff out of the map and surround the map with an invisible wall, and then put a skybox over all of it? I just dont know where to start.
     
  2. Moonrat

    aa Moonrat The end of an era

    Messages:
    877
    Positive Ratings:
    502
  3. Jnaejnae

    Jnaejnae L1: Registered

    Messages:
    47
    Positive Ratings:
    4
    well ok, i just meant like mountains and distant things that you cant get to in game. I dont know if i should build them and put them inside a giant skybox then make invisible walls so you cant get to them, or if the skybox should be my boundaries, and to render the background outside the box.
     
  4. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    998
    Positive Ratings:
    1,135
    Hey, another Sanctum fan!

    Big mountains in the distance belong outside the skybox walls as a part of your 3d skybox. It's good to make use of the 3d skybox for such large things because the geometry itself can be made a fraction of the actual size, and simply projected as full size to a viewer inside the map. This keeps the area inside your skybox small, and the compiler will thank you!

    However, you should still leave some out-of-bounds, playerclipped-off space inside your skybox walls for any decorations involving props, because those won't scale down like brushes and displacements will.
     
  5. Jnaejnae

    Jnaejnae L1: Registered

    Messages:
    47
    Positive Ratings:
    4
    ok thanks, i was trying to put everything in a giant sky box, so can you see mountains threw a sky box?
     
  6. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    998
    Positive Ratings:
    1,135
    As long as the skybox texture is toolsskybox and not toolsskybox2d, you'll be able to see your mountains and other 3d skybox stuff through it.

    Be sure to read through the guide Moonrat posted and this more technical guide if you're not sure how to build a 3d skybox.
     
  7. Jnaejnae

    Jnaejnae L1: Registered

    Messages:
    47
    Positive Ratings:
    4
    : / well now im confused. I tested my skybox with the texture and i couldnt see my texture. I guess i dont understand 3d skyboxes even though im using the 3d skybox texture which is working fine, except i have to put an individual wall. I dont understand how to do the scaling 3d skybox mumbo jumbo, so i just put an invisible wall between the map and the background ... ?
     
  8. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    998
    Positive Ratings:
    1,135
    Definitely start by reading Freyja's guide. Basically, what you're doing is building the mountains full-scale, placing a sky_camera entity at the origin of your map, scaling down the mountains along with the sky_camera, moving those outside the main map, and enclosing it in a skybox cube. Both the main map and the 3d skybox geometry need their own skybox walls.
     
  9. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,213
    If you're talking about actual mountains, those are just a flat painted background that appears when you set the skybox texture (File > Map Properties) to the one you want.