Building Cubemaps

Discussion in 'Mapping Questions & Discussion' started by Warren Moonbeam, Mar 19, 2011.

  1. Warren Moonbeam

    Warren Moonbeam L1: Registered

    Messages:
    24
    Positive Ratings:
    2
    Me and my brother always seem to have a problem with cubemaps on our custom maps. We build them correctly, they work well on our PCs, but then when we pack up the file with Pakrat and zip it, the cubemaps don't work when others download it. Please help.
     
  2. red_flame586

    red_flame586 L7: Fancy Member

    Messages:
    437
    Positive Ratings:
    108
    Did you follow something like this, or did you just do the plain "build cubemaps"

    Also, you shouldn't need to packrat cubemaps.

    EDIT: you did put cubemap entities in the map, cause I heard somewhere that that may cause some problems when trying to build the cubemaps
     
  3. Surtr

    Surtr L1: Registered

    Messages:
    31
    Positive Ratings:
    1

    you don't need to put in cubemap entities?
     
  4. Warren Moonbeam

    Warren Moonbeam L1: Registered

    Messages:
    24
    Positive Ratings:
    2
    i DID put cubemap entities, thats what the wiki said to do.
    Does this cause problems? When I build without them, does it still work?
     
  5. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,902
    if you follow how wiki builds it it should work.

    Basically:
    mat_specular 0
    buildcubemaps
    mat_specular 1
    disconnect
    sv_cheats 1
    mat_reloadallmaterials
    map --- your map name here---


    When you go to post map, you need to get the .bsp from the tf/maps folder, not your source folder.
    (I think the thing i just said is your issue)
     
  6. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Note that the cubemap textures are automatically packed in by the game engine when you build them. It directly modifies the BSP file.
     
  7. Warren Moonbeam

    Warren Moonbeam L1: Registered

    Messages:
    24
    Positive Ratings:
    2
    Thanks kind sirs!
    I was using the file in sourcesdk_content instead of team fortress 2_tf_maps
    Fixed it, it should be good, no more looking like a complete noob. :)
     
  8. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,902
    WOW... I just posted the wrong thing in the wrong thread. sorry folks. thats embarassing.

    And, your welcome. people constantly make that mistake. I made that mistake for about 10 alpha versions of rundown (see sig)
     
    Last edited: Mar 20, 2011