Posing an Engineer Model in Hammer

Discussion in 'Mapping Questions & Discussion' started by Superjoe224, Jul 21, 2016.

  1. Superjoe224

    Superjoe224 L1: Registered

    Messages:
    16
    Positive Ratings:
    3
    Hey guys! Pumped for the Jam tomorrow!

    Got a quick question, I want to pose an engineer model that will sleep in a chair and potentially (if possible) look like he's breathing so he doesn't look... Odd.

    Is this possible? I saw in some other forums that it's not really doable to pose and animate in hammer.

    Although if I remember correctly in Watergate there was a drunk demo that was falling out of a chair in the spawnrooms and in yukon (I think it was) the heavy, engie and a couple others were standing over a map and every once in a while they would dance.

    Kinda got sidetracked, but I would appreciate help guys!
     
  2. Practical Problems

    Practical Problems L1: Registered

    Messages:
    3
    Positive Ratings:
    1
    The drunk demo, I believe, was done with outside tools to modify the ragdoll. In the other map (where they were standing over a map), they were prop_dynamics set to a specific sequence (standing), with logic events that randomly caused their sequence to switch to dancing. The sequences are baked into the model, and you would need to decompile, animate, and recompile the model to add a custom sequence. So, if you want your engineer to breathe, you'd have to go through a lot of hard work. If you're fine with him remaining still, you'd have to use an external tool to edit the map. I think there's a way to do it with Garry's Mod.
     
    • Thanks Thanks x 1
  3. Nicky

    aa Nicky Lets try something new!

    Messages:
    912
    Positive Ratings:
    1,699
    You can make a prop_dynamic, and make it's model be which ever character you want. Then you can use a logic_auto (OnMultiNewRound would be a good output, meaning when a round starts, the output is fired) to send the input "SetAnimation" to the prop_dynamic (make sure you namw the prop_dynamic). Then for the parameter, you would need to put the animation name. You can find this by opening the properties for the prop_dynamic, and going to the "Model" tab, and looking through the animations. Make sure you save before you do this sometimes Hammer crashes when you do this (at least for me it does). Then type the name of the animation you want into the output parameter, and it should work. Note that no matter what you set the animation to in the "Model" tab, it will always be in the reference, or default, pose in game.
     
    • Thanks Thanks x 1
  4. Superjoe224

    Superjoe224 L1: Registered

    Messages:
    16
    Positive Ratings:
    3
    I'd be fine with him just sitting for now. You said I could use GMod to pose the ragdoll, how would I go about doing that?

    I attempted some Google-Fu and I couldn't find anything useful. A couple hits returned results on how to settle phys_objects but nothing about posing a ragdoll then porting it to hanmer. Maybe I'm just searching for the wrong thing.
     
  5. henke37

    aa henke37

    Messages:
    1,947
    Positive Ratings:
    462
    He said "outside tools". Not "gmod". You need actual modeling software.
     
  6. Superjoe224

    Superjoe224 L1: Registered

    Messages:
    16
    Positive Ratings:
    3
    I thought he was saying that I could pose with GMod, but I would have to use external software to bake in the breathing animation.
     
  7. Crowbar

    aa Crowbar perfektoberfest

    Messages:
    1,441
    Positive Ratings:
    1,196
    If you want him breathing you'll need software either way.
    Maybe even make an external model for this stuff. I imagine this as a good solution.

    EDIT: oh lol that 1st sentence looked like a rude threat or something lol
     
    • Thanks Thanks x 1
    Last edited: Jul 22, 2016
  8. Superjoe224

    Superjoe224 L1: Registered

    Messages:
    16
    Positive Ratings:
    3
    Dunno why but reading that made something click, off I go to experiment!

    Thanks for the help guys/gals!