Wow, I REALLY suck at this (HALP)

Discussion in 'Mapping Questions & Discussion' started by KaiserFate, Dec 21, 2009.

  1. KaiserFate

    KaiserFate L69: Deviant Member

    Messages:
    69
    Positive Ratings:
    12
    So I decided to get cracking with making a house by following Martijntje's tutorial, just so I knew I could do it.
    I'm having three problems: skyboxes (I have no clue what on earth I'm doing), env_lighting, and prop models.
    Now until this point, all my maps have been indoors so I have been lighting everything with spotlights and for the life of me I still don't know what I'm doing with skyboxes. If anyone knows a good tutorial (or even a page on the Valve Developer site) that explains how to make them clearly then please hit me up, I need to start at the beginning.
    Skybox aside, I've run into a rather amusing problem I assume a lot of other absolute n00bs have been hit with: a model error.

    Here's what it looks like in Hammer.

    [​IMG]

    Okay, so I have got my head around the concept. That doesn't look too bad. But when I compile it, I get this:

    [​IMG]

    Yuck!

    I don't know why it's doing this, in my previous two orange maps I have a working prop_dynamic in the form of a resupply cabinet and several prop lights fixed to the roof. I've only seen this happen on this map just now.

    I found some errors in the Compile Process window that may be of help.

    *** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
    *** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!

    ...

    Placing detail props : 0...1...2...3...4...5...6...7...8...9...Error! To use model "models/props_2fort/gibs/miningcrate001_break01.mdl"
    with detail_prop, it must be compiled with $staticprop!
    Error loading studio model "models/props_2fort/gibs/miningcrate001_break01.mdl"!
    10


    I also don't know what I'm doing wrong with the light_environment. Here are the settings I'm using. I assume this only works properly if you set up your skybox correctly?
    Ambient - 248, 255, 100, 110
    Pitch / Yaw / Roll - 0, 337, 0
    Pitch - 45
    Angle - 337
    Sun Spread Angle - 6



    It's kind of depressing that I could do so many things wrong on such a simple map. I knew I should have stuck with orange maps for the time being - I'm way in over my head here!
     
    • Thanks Thanks x 1
  2. Nutomic

    Nutomic L11: Posh Member

    Messages:
    888
    Positive Ratings:
    177
    For the skybox stuff, you best just copy it from there:

    http://developer.valvesoftware.com/wiki/Sky_list

    About the models: they have to be prop_static, not prop_detail (just change it at the top in the edit window while having the model selected). (miningcrate001_break01.mdl may also be prop_physics).

    *** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
    *** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!


    This error is normal and appears for everyone, just ignore it.
     
    • Thanks Thanks x 1
  3. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,465
    You can find a list of settings matching each skybox in TF2 for your env_light on this page.
     
    • Thanks Thanks x 1
  4. KaiserFate

    KaiserFate L69: Deviant Member

    Messages:
    69
    Positive Ratings:
    12
    (In Charlton Heston voice) "You truly are a king of kings."

    [​IMG]

    In one deft swoop, you've changed my mentality from "I must not be cut out for this" to "wow, this isn't as hard as I thought".
    It's a shame I can only thank you once for the post.
     
  5. Trotim

    aa Trotim

    Messages:
    1,179
    Positive Ratings:
    992
    In related news, props usually always are prop_static (in TF2), unless they have some kind of special purpose like moving doors. For the bottles and cans you can shoot ingame, Valve level designers always use prop_physics_multiplayer.
     
  6. martijntje

    martijntje L8: Fancy Shmancy Member

    Messages:
    539
    Positive Ratings:
    168
    I'm happy my tutorial helped you :D
    Expect an update to it in the following days. I learned a bit durign the last mini-contest and will ad my wisdom to the tutorial.

    Also, in the modelbrowers, there is a tab called "info", it will tell you wich types (prop_Detail,prop_static etc) the model can be
     
    • Thanks Thanks x 1
  7. gamemaster1996

    gamemaster1996 L13: Stunning Member

    Messages:
    1,065
    Positive Ratings:
    131
    Also most props will say what type of prop thing eg prop_static or props_physics_multiplayer on the info tab.