Couple of questions ?

Discussion in 'Mapping Questions & Discussion' started by MaGicBush, Jun 17, 2009.

  1. MaGicBush

    MaGicBush L2: Junior Member

    Messages:
    56
    Positive Ratings:
    1
    Well I have the first two sections of my map about finished(layout anyways), just working on adding stuff to hide behind. Then will move on to the third and final capture point. One thing I have noticed is the map file size is up to 15mb without even putting in the third point yet? I have no custom content, and noticed other maps seem to average around 5mb. What could possibly be adding 10mb to my map? All I have currently is some models, cliffs, buildings, and limited lighting using all dev textures with the exception of some of the cliffs I have finished.

    I am also curious as to how to make the 3d skybox background change each round? Like right now I have a small dam that shows up in the "distance" and I want it to get larger as each point is captured until it's time for the final capture point and then have the background dam "disappear" and actually add it to that section.

    Thanks for any help !
     
  2. fubarFX

    aa fubarFX The "raw" in "nodraw"

    Messages:
    1,632
    Positive Ratings:
    1,723
    don't worry about the size... of course you want your map to be downloaded fast but 15mb ain't no big deal at all. actually, hoodoo is 40mb so...

    you can edit your skybox by using the enable/disable outputs on the stuff in it.
    for your dam, I hope it's not a props, because you can't resize props :\ unless you decompile/edit/recompile which is a pain in the ass if your not familiar with this stuff.
     
    Last edited: Jun 17, 2009
  3. TracerDX

    TracerDX L3: Member

    Messages:
    127
    Positive Ratings:
    25
    Lightmaps are what add the bulk of size to your map. You control this via the texture/face tool. There is a field that says "Lightmap Scale". The bigger the number, the less "detailed" your lightmaps are and thus, the smaller they are. The default, I think is 16. You can change this default in hammer options so all your new brushes have a higher value (This will not effect existing brushes, you will have to use the face tool). I have it set to 32, which is good for bright outdoor environments with very diffuse shadows and keeps the file size sane. However, all the pros will tell you to fine tune the scales according to your intended light effects and shadows.

    As for the skybox / dam, you cannot change the sky texture, but you can use a 3D skybox and design the map so that it parallaxes closer to a dam model/brushes each round.
     
  4. zornor

    zornor L4: Comfortable Member

    Messages:
    195
    Positive Ratings:
    23
    For the first question make sure you don't have loads of lighting, large areas or unnecessarily tiny lightmap scales. I don't know really, that's all I can think of.

    As for your 3D skybox, the magic thing about 3D skyboxes is that if you run 256 units north in the normal one, you will run 16 units north in the skybox.

    Don't make your skybox now, however; not until you've worked out where everything is in your main map first (of course you might have already). When you've got it worked out, put a sky_camera where the origin is, copy the most BASIC geometry in your map, scale it to a sixteenth of the size (ctrl+M, scale, 0.0625). Then surround it in the skybox texture, and at this stage i think you should make all of the scaled geometry the texture tool_skip so that you can see where it is in Hammer but is ignored by the compiler. Sorry if you didn't need this mini tutorial though :p

    I think that if you make your skybox dam a dynamic prop and kill it when round 3 begins then you'll have it down, and have round 3 seperate from the other maps.

    edit: woooow i suck at typing quickly
     
  5. MaGicBush

    MaGicBush L2: Junior Member

    Messages:
    56
    Positive Ratings:
    1
    Thanks for the input, Yea I just used brushes for the dam so it sounds like it wont be to hard to get it to work right. I'll just save the skybox I have currently and keep it off to the side till I am finished with the entire map layout. Guess I have to start changing the textures to 32 :(.