Raised This Month: $104 Target: $400
 26% 

[TF2] Fix Player Civillian animation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 03-15-2010 , 23:23   [TF2] Fix Player Civillian animation
Reply With Quote #1

Hi.

I made a plugin which at one point strips the player of all his weapons.

It works well but the only problem is that the player go into a 'civillian' pose. Is there any way to change the player animation? If not, would it be possible to give the player an 'invisible' weapon to fix the animations?

Any help appreciated

cheers!
__________________

Last edited by Mecha the Slag; 03-15-2010 at 23:38.
Mecha the Slag is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 03-15-2010 , 23:29   Re: [TF2] Fix Player Civillian animation
Reply With Quote #2

All players go into civilian pose? How unusual.

Can't you just do GiveNamedItem to give the player a weapon he doesn't have?
Afronanny is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 03-15-2010 , 23:33   Re: [TF2] Fix Player Civillian animation
Reply With Quote #3

The problem with GivePlayerItem (I assume that is the one you're referring to) is that it doesn't seem to actually give the player an item in TF2. It just spawns an entity at the ground underneath him and nothing else.
__________________
Mecha the Slag is offline
noodleboy347
SourceMod Donor
Join Date: Mar 2009
Old 03-15-2010 , 23:45   Re: [TF2] Fix Player Civillian animation
Reply With Quote #4

There isn't a weaponless animation set... unless you want him to be holding an unusable weapon.
noodleboy347 is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 03-15-2010 , 23:49   Re: [TF2] Fix Player Civillian animation
Reply With Quote #5

Holding an unusable weapon would be fine aswell. Just something that makes him unable to attack other players and doesn't make him go into civillian.
__________________
Mecha the Slag is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 03-16-2010 , 01:59   Re: [TF2] Fix Player Civillian animation
Reply With Quote #6

So... any idea on how I would spawn such an unusable weapon?
__________________
Mecha the Slag is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 03-16-2010 , 15:01   Re: [TF2] Fix Player Civillian animation
Reply With Quote #7

Depends, what game is this for?
Afronanny is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 03-16-2010 , 15:06   Re: [TF2] Fix Player Civillian animation
Reply With Quote #8

it says [TF2] in the title

so Team Fortress 2
__________________
Mecha the Slag is offline
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 03-16-2010 , 18:32   Re: [TF2] Fix Player Civillian animation
Reply With Quote #9

What about deleting the Ammo?
__________________
Waiting for HL3,Day of Defeat3 ,but will it ever come? So I'm gonna play COD WW2.>>>>SM_SKINCHOOSER<<<<
>>You need Models for DODS/CSS/CSGO , than click here!!!<<
andi67 is offline
noodleboy347
SourceMod Donor
Join Date: Mar 2009
Old 03-16-2010 , 19:17   Re: [TF2] Fix Player Civillian animation
Reply With Quote #10

Quote:
Originally Posted by andi67 View Post
What about deleting the Ammo?
Switches them to another weapon
noodleboy347 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:44.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode