AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hammer Animation (https://forums.alliedmods.net/showthread.php?t=321520)

TATAMATA 02-15-2020 02:00

Hammer Animation
 
Hello, I have a Zombie Escape mod and it has a knife menu and it has this Hammer,
but the player in 3rd person point of view holds the hammer like a knife and attacks like it was a knife.
Is there a script that can animate the player to hold and swing the hammer correctly?

Natsheh 02-15-2020 02:51

Re: Hammer Animation
 
Ye create new player model with hammer holding animation

redivcram 02-17-2020 13:22

Re: Hammer Animation
 
Quote:

Originally Posted by Natsheh (Post 2683817)
Ye create new player model with hammer holding animation

Then set your p_* model in your code as such:
PHP Code:

set_pev(idpev_weaponmodel2"models/p_hammer.mdl"); 


TATAMATA 02-17-2020 23:23

Re: Hammer Animation
 
Quote:

Originally Posted by Natsheh (Post 2683817)
Ye create new player model with hammer holding animation

Quote:

Originally Posted by redivcram (Post 2684156)
Then set your p_* model in your code as such:
PHP Code:

set_pev(idpev_weaponmodel2"models/p_hammer.mdl"); 


Thanks

allame61 02-22-2020 13:31

Re: Hammer Animation
 
you can look here ;

https://cs-fade.ru/stati/1261-ispolz...iy-igroka.html


All times are GMT -4. The time now is 09:33.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.