Determine the size of brushes via console commands?

Discussion in 'Mapping Questions & Discussion' started by xomp, Jul 5, 2012.

  1. xomp

    xomp L1: Registered

    Messages:
    33
    Positive Ratings:
    8
    Hi,

    Is it possible to display the dimensional units a wall or floor is in a map via a console command of some sort?
     
  2. LMFAO

    LMFAO Banned

    Messages:
    131
    Positive Ratings:
    19
    I don't think this is possible. Why not just go to Hammer, open it up the decomplied map, select the brush you want?
     
  3. xomp

    xomp L1: Registered

    Messages:
    33
    Positive Ratings:
    8
    The map is protected in such a way that it crashes VMEX. I was hoping there was a way to get the units of measurement via a console command instead of dirty hacks.
     
  4. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,906
    I think there is a console command that is like "takepos" or something. it'll return the YXZ coordinates of your location.
     
  5. LMFAO

    LMFAO Banned

    Messages:
    131
    Positive Ratings:
    19
    Who would protect their map from hacks?

    (Also, are you from the community "Get Wrecked, Kid!" because those glasses look very familiar to ones I saw on the HTML post of that community.)
     
  6. Crash

    aa Crash func_nerd

    Messages:
    3,158
    Positive Ratings:
    4,780
    People who don't want things they have created taken and put into other maps?
     
  7. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,742
    It's unlikely, however you can use getpos to dump your position to the console so you can do rough measurements ingame using that.
    Alternatively you can open the maps up in hammer and see exactly how they're made, download them here

    EDIT: Ninjas discover the maps aren't Valve's. So the getpos method is best (do it whilst spectating for maximum accuracy)
     
  8. xomp

    xomp L1: Registered

    Messages:
    33
    Positive Ratings:
    8
    Thanks. The map I'm working with is an old TFC map rock2_b1 that was ported to TF2. I'm looking into rebuilding a lot of the old TFC maps to work with the new Special Delivery mode Valve released with the Pyro update.

    rock2_b1 is protected in such a way that I cannot decompile it to get dimensions and such for rebuilding.
     
  9. henke37

    aa henke37

    Messages:
    1,890
    Positive Ratings:
    443
    Isn't VMEX obsolete?
     
  10. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,742
    If you know of a better/newer decompiler for .bsp files, now would be a good time to say it!

    (If not, no, VMEX is still the de facto map decompiler)
     
  11. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,033
    Positive Ratings:
    3,980
    BSPSource

    I believe you can use EntSpy to remove the decompile protection, also.
     
    • Thanks Thanks x 1
  12. Idolon

    aa Idolon the worst admin

    Messages:
    1,536
    Positive Ratings:
    4,403
    BSPSource

    EDIT: This forum needs a "Someone posted since you started writing. Do you still want to post this?" feature.
     
    • Thanks Thanks x 1
  13. xomp

    xomp L1: Registered

    Messages:
    33
    Positive Ratings:
    8
    This did the trick! Many thanks everyone!