#How do i make the item stand straight in first person?

1 messages · Page 1 of 1 (latest)

urban mesa
ornate ocean
#

rotate it in the first person animation

urban mesa
#

wait

urban mesa
#

attachables?

ornate ocean
#

Create a first person animation for the attachable

#

and play it using c.is_first_person

urban mesa
#

Oh

#

Alright

#

Thanks

#

I also wanted to know if i can make it also change the player animation while holding it?

ornate ocean
#

"animations": {
"hold_first_person": "animation.steve_head.hold_first_person",
"hold_third_person": "animation.steve_head.hold_third_person"
},
"scripts": {
"animate": [
{
"hold_first_person": "context.is_first_person == 1.0"
},
{
"hold_third_person": "context.is_first_person == 0.0"
}
]
},

urban mesa
#

Like using the shoulder as support for the weight

#

Is it possible? Im new to resource pack stuff

ornate ocean
#

Could you ellaborate

urban mesa
#

When you hold the sword it will change how the player stands

#

The player animation

#

So the sword stays above the player arm like resting in the shoulder

ornate ocean
#

For that

#

you woud have to create a player animation

#

and play it when it has the item

#

using q.is_item_name_any

#

You can check how that is done

#

in the vanilla packs

#

with the trident, crosbow, etc

urban mesa
#

Alright

#

Thanks

ornate ocean
#

{
"first_person_crossbow_equipped": "query.get_equipped_item_name == 'crossbow' && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0)"
}

#

something like that