How can I change the dimensions of a model?

Discussion in 'Mapping Questions & Discussion' started by Kill_the_Bug, Oct 23, 2008.

  1. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,461
    Positive Ratings:
    236
    hehehehehe I think I've found something that can be very usefull for all of us :wow:

    let's say you have a brick model that works a certain way but it's too small for what you need.

    Let's say you want to make it 5 times bigger and keep everything that the brick does.

    Is there a way that you can make the model bigger?

    If what I'm working on works, we all might sing a big yahoo but I can't do it without you so it will be a group sing along! :p

    If it works, I'll show you :)
     
    Last edited: Oct 23, 2008
  2. Nineaxis

    aa Nineaxis Quack Doctor

    Messages:
    1,767
    Positive Ratings:
    1,403
    You cannot scale models...
     
  3. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,461
    Positive Ratings:
    236
    Can I rebuild them somewhere else and keep the same parameters?
     
  4. Hawk

    Hawk L7: Fancy Member

    Messages:
    419
    Positive Ratings:
    212
    You can extract it, decompile it, change it in a modeling program, and then recompile it, but trust me... It's not worth the effort.

    The best we can hope for is that some day Valve puts a prop-scaling feature in the engine.
     
  5. Icarus

    aa Icarus

    Messages:
    2,246
    Positive Ratings:
    1,181
    You don't need a modeling program

    just open the .QC and enter a line and value for "scale"
     
  6. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    U'll need mdldecompiler. Find one. Decompile. Open qc file. Find $scale. Change. Recompile.
     
  7. Zeewier

    Zeewier L9: Fashionable Member

    Messages:
    619
    Positive Ratings:
    130
    $scale that's not 1 hates performance. Best option is to scale it in a free modelling program (XSI Modtool, blender)
     
  8. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,461
    Positive Ratings:
    236
    sounds great from all of you but me a total noob on this part - never done it before can you be a little more specific
     
  9. Spike

    Spike L10: Glamorous Member

    Messages:
    716
    Positive Ratings:
    82
    Doing the $scale thing works perfect.

    type $scale 1 or "$scale" "1"

    where 1 is the scale you want to resize it
     
  10. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,461
    Positive Ratings:
    236
    Ok, I have my decompiler, how do I get it into my sdk bin folder? it says to put it there.

    edit:

    Ok everysite I see, including cannon fodder, says fire it up - (start the program) I can't figureout how to get the prgram working.
     
    Last edited: Oct 26, 2008
  11. Altaco

    Altaco L7: Fancy Member

    Messages:
    485
    Positive Ratings:
    121
    You take the exe and you put it in the sourcesdk/bin/orangebox/bin folder.
     
    • Thanks Thanks x 1
  12. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,461
    Positive Ratings:
    236
    Ok I have it there now what do I do? I don't see any stuff in hammer for it.

    I also see on the net you "fire it up" how?

    I'm also looking for...

    models/shadertest/shaderslab3.mdl

    I can see it in hammer but I can't find it on my machine any ideas where it is?
     
    Last edited: Oct 26, 2008