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

Jellydotjar

L1: Registered
Mar 31, 2016
15
3
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?
 

PyroDevil

L3: Member
Sep 19, 2014
123
141
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.
 

Jellydotjar

L1: Registered
Mar 31, 2016
15
3
Its on its side in hammer and it has its reference position in-game after completing those steps.
 

Attachments

  • 7436ae21eff87d0c7d1c6259550d5931.png
    7436ae21eff87d0c7d1c6259550d5931.png
    279.4 KB · Views: 173

iiboharz

eternally tired
aa
Nov 5, 2014
857
1,291
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.
 

Three Million

L4: Comfortable Member
Jul 2, 2015
197
75
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.
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:

sooshey

:3c
aa
Jan 7, 2015
514
410
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.
 

Three Million

L4: Comfortable Member
Jul 2, 2015
197
75
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.

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.