I'm trying to make a sitting pyro on my map

Discussion in 'Mapping Questions & Discussion' started by Jellydotjar, May 3, 2016.

  1. Jellydotjar

    Jellydotjar L1: Registered

    Messages:
    16
    Positive Ratings:
    2
    How would I do that? I've seen it possible to make entities do taunts in thunder mountain, and know the taunt name is taunt_sit, but how would I make it work in my map?
     
  2. PyroDevil

    PyroDevil L3: Member

    Messages:
    124
    Positive Ratings:
    108
    You will need an entity called prop_dynamic. Set the model to the pyro.mdl, then go to the default animation option and type it in. In this case, it will be taunt_sit.
     
  3. Jellydotjar

    Jellydotjar L1: Registered

    Messages:
    16
    Positive Ratings:
    2
    Its on its side in hammer and it has its reference position in-game after completing those steps.
     

    Attached Files:

  4. iiboharz

    aa iiboharz Meme Queen

    Messages:
    720
    Positive Ratings:
    1,052
    You need to set the Keyvalue "Default animation" to "taunt_sit" - the model tab is just for previewing model anims in hammer and doesn't actually change anything.
     
    • Agree Agree x 2
  5. Jellydotjar

    Jellydotjar L1: Registered

    Messages:
    16
    Positive Ratings:
    2
    I think taunt_sit is just broken in hammer because its on it's side in-game now
     
  6. Three Million

    Three Million L5: Dapper Member

    Messages:
    201
    Positive Ratings:
    65
    Not quite how you do it.

    1. Create a prop_dynamic and set the model to models\player\hwm\pyro.mdl
    2. Under the field that says "Name" (not Global Entity Name) name the pyro model whatever, but I am going to call it pyro_sit
    3. Create a logic_relay entity
    4. Go to the Output tab and set this up:
    My output named: OnSpawn
    Target entities named: pyro_sit
    Via this input: SetAnimation
    With a parameter override of: taunt_sit

    5. Done! 2 e-z ;)
     
    Last edited: May 4, 2016
  7. Jellydotjar

    Jellydotjar L1: Registered

    Messages:
    16
    Positive Ratings:
    2
    [​IMG]
    [​IMG]

    Still in the ref position in-game after compiling
     
  8. sooshey

    aa sooshey :3c

    Messages:
    522
    Positive Ratings:
    418
    For the prop_dynamic's name, use the "Name" field, not the "Global Entity Name" field. That explains why the name is red in the output tab because it cannot find an entity named pyro_sit. Also, OnSpawn doesn't exist (that's why it's in red too), the closest one is OnMapSpawn, which you don't want to use because then the logic auto will only fire when you actually spawn. Instead you'll want to use OnLoadGame. Unfortunately this still doesn't fix the problem of the model being in the reference position. I'm not sure why.
     
  9. Three Million

    Three Million L5: Dapper Member

    Messages:
    201
    Positive Ratings:
    65
    I actually think it was removed from the game, have not done much testing with this though. And yeah, I should have specified not to use the Global Entity Name. As for the logic_auto, that is a typo I didn't notice. Sorry for the confusion, it was supposed to be a logic_relay. I will edit my previous post to fix that.