Upvote Upvoted 1 Downvote Downvoted
Custom 3D HUD Model Animation
posted in Customization
1
#1
0 Frags +

As I was rewatching a STAR_ video, I noticed that his 3D HUD model was using the high five taunt as it's animation. I've done some research and found the best it could be is a bug of some sort. However, if you can set the position and all that in hudplaterclass.res in a custom HUD, why shouldn't you be able to actually choose what animation it uses?

If anyone has an idea on how to achieve this effect, I'd be very grateful.

As I was rewatching a [url=https://www.youtube.com/watch?v=dM8G_vGSnx4]STAR_ video[/url], I noticed that his 3D HUD model was using the high five taunt as it's animation. I've done some research and found the best it could be is a bug of some sort. However, if you can set the position and all that in hudplaterclass.res in a custom HUD, why shouldn't you be able to actually choose what animation it uses?

If anyone has an idea on how to achieve this effect, I'd be very grateful.
2
#2
4 Frags +

You can change hudplayerclass to support animations, like so:

Show Content
"classmodelpanel"
{
"ControlName" "CTFPlayerModelPanel"
"fieldName" "classmodelpanel"

...

"model"
{
...

"animation"
{
"name" "PRIMARY"
"activity" "ACT_MP_STAND_PRIMARY"
"default" "1"
}
"animation"
{
"name" "SECONDARY"
"activity" "ACT_MP_STAND_SECONDARY"
}
"animation"
{
"name" "MELEE"
"activity" "ACT_MP_STAND_MELEE"
}
"animation"
{
"name" "BUILDING"
"activity" "ACT_MP_STAND_BUILDING"
}
"animation"
{
"name" "PDA"
"activity" "ACT_MP_STAND_PDA"
}
"animation"
{
"name" "ITEM1"
"activity" "ACT_MP_STAND_ITEM1"
}
"animation"
{
"name" "ITEM2"
"activity" "ACT_MP_STAND_ITEM2"
}
"animation"
{
"name" "MELEE_ALLCLASS"
"activity" "ACT_MP_STAND_MELEE_ALLCLASS"
}
"animation"
{
"name" "PRIMARY2"
"activity" "ACT_MP_STAND_PRIMARY"
}
"animation"
{
"name" "SECONDARY2"
"activity" "ACT_MP_STAND_SECONDARY2"
}
}

"customclassdata"
{
...
}
}

In the future it might be worth asking this stuff in http://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers

e: after trying it, it doesn't seem to work like it used to. Will test further

You can change hudplayerclass to support animations, like so:
[spoiler] "classmodelpanel"
{
"ControlName" "CTFPlayerModelPanel"
"fieldName" "classmodelpanel"

...

"model"
{
...

"animation"
{
"name" "PRIMARY"
"activity" "ACT_MP_STAND_PRIMARY"
"default" "1"
}
"animation"
{
"name" "SECONDARY"
"activity" "ACT_MP_STAND_SECONDARY"
}
"animation"
{
"name" "MELEE"
"activity" "ACT_MP_STAND_MELEE"
}
"animation"
{
"name" "BUILDING"
"activity" "ACT_MP_STAND_BUILDING"
}
"animation"
{
"name" "PDA"
"activity" "ACT_MP_STAND_PDA"
}
"animation"
{
"name" "ITEM1"
"activity" "ACT_MP_STAND_ITEM1"
}
"animation"
{
"name" "ITEM2"
"activity" "ACT_MP_STAND_ITEM2"
}
"animation"
{
"name" "MELEE_ALLCLASS"
"activity" "ACT_MP_STAND_MELEE_ALLCLASS"
}
"animation"
{
"name" "PRIMARY2"
"activity" "ACT_MP_STAND_PRIMARY"
}
"animation"
{
"name" "SECONDARY2"
"activity" "ACT_MP_STAND_SECONDARY2"
}
}

"customclassdata"
{
...
}
}[/spoiler]

In the future it might be worth asking this stuff in http://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers

e: after trying it, it doesn't seem to work like it used to. Will test further
3
#3
0 Frags +
JarateKingYou can change hudplayerclass to support animations, like so:
Show Content
"classmodelpanel"
{
"ControlName" "CTFPlayerModelPanel"
"fieldName" "classmodelpanel"

...

"model"
{
...

"animation"
{
"name" "PRIMARY"
"activity" "ACT_MP_STAND_PRIMARY"
"default" "1"
}
"animation"
{
"name" "SECONDARY"
"activity" "ACT_MP_STAND_SECONDARY"
}
"animation"
{
"name" "MELEE"
"activity" "ACT_MP_STAND_MELEE"
}
"animation"
{
"name" "BUILDING"
"activity" "ACT_MP_STAND_BUILDING"
}
"animation"
{
"name" "PDA"
"activity" "ACT_MP_STAND_PDA"
}
"animation"
{
"name" "ITEM1"
"activity" "ACT_MP_STAND_ITEM1"
}
"animation"
{
"name" "ITEM2"
"activity" "ACT_MP_STAND_ITEM2"
}
"animation"
{
"name" "MELEE_ALLCLASS"
"activity" "ACT_MP_STAND_MELEE_ALLCLASS"
}
"animation"
{
"name" "PRIMARY2"
"activity" "ACT_MP_STAND_PRIMARY"
}
"animation"
{
"name" "SECONDARY2"
"activity" "ACT_MP_STAND_SECONDARY2"
}
}

"customclassdata"
{
...
}
}

In the future it might be worth asking this stuff in http://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers

e: after trying it, it doesn't seem to work like it used to. Will test further

I probably should have mentioned that I had attempted that earlier, though I wasn't sure how to put it into words right.

Also, thank you. I had done a search to see if someone had asked before, but I didn't think to look for a megathread. I will post there next time, thank you!

[quote=JarateKing]You can change hudplayerclass to support animations, like so:
[spoiler] "classmodelpanel"
{
"ControlName" "CTFPlayerModelPanel"
"fieldName" "classmodelpanel"

...

"model"
{
...

"animation"
{
"name" "PRIMARY"
"activity" "ACT_MP_STAND_PRIMARY"
"default" "1"
}
"animation"
{
"name" "SECONDARY"
"activity" "ACT_MP_STAND_SECONDARY"
}
"animation"
{
"name" "MELEE"
"activity" "ACT_MP_STAND_MELEE"
}
"animation"
{
"name" "BUILDING"
"activity" "ACT_MP_STAND_BUILDING"
}
"animation"
{
"name" "PDA"
"activity" "ACT_MP_STAND_PDA"
}
"animation"
{
"name" "ITEM1"
"activity" "ACT_MP_STAND_ITEM1"
}
"animation"
{
"name" "ITEM2"
"activity" "ACT_MP_STAND_ITEM2"
}
"animation"
{
"name" "MELEE_ALLCLASS"
"activity" "ACT_MP_STAND_MELEE_ALLCLASS"
}
"animation"
{
"name" "PRIMARY2"
"activity" "ACT_MP_STAND_PRIMARY"
}
"animation"
{
"name" "SECONDARY2"
"activity" "ACT_MP_STAND_SECONDARY2"
}
}

"customclassdata"
{
...
}
}[/spoiler]

In the future it might be worth asking this stuff in http://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers

e: after trying it, it doesn't seem to work like it used to. Will test further[/quote]

I probably should have mentioned that I had attempted that earlier, though I wasn't sure how to put it into words right.

Also, thank you. I had done a search to see if someone had asked before, but I didn't think to look for a megathread. I will post there next time, thank you!
4
#4
0 Frags +

Not sure if I'm allowed to do this, but bump?

Not sure if I'm allowed to do this, but bump?
Please sign in through STEAM to post a comment.