Raised This Month: $51 Target: $400
 12% 

Weapon Health


Post New Thread Reply   
 
Thread Tools Display Modes
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 10-04-2009 , 12:56   Re: Weapon Health
Reply With Quote #21

I suggest not doing any MOVETYPE_FOLLOW property.

You must do something like this.
PHP Code:
new Float:origin[3], Float:view_offs[3]
pev(idpev_originorigin)
pev(idpev_view_offsview_offs)
xs_vec_add(view_offsoriginorigin)
// Here we obtain the eye position.
pev(idpev_v_anglesview_offs)
// Get the view angles
angle_vector(view_offsANGLEVECTOR_FORWARDview_offs)
// Here we make them real vector and multiply it for the hand origin
xs_vec_mul_scalar(view_offs15.0view_offs)
// Add them to the origin to obtain the hand origin
xs_vec_add(view_offsoriginorigin)

// Now we place the entity at that origin set its sizez and set its angles, make it think very very much 
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
sign92
Member
Join Date: Aug 2009
Old 10-10-2009 , 19:04   Re: Weapon Health
Reply With Quote #22

Thanks for good plugin! But I have a problem. I can't shoot to weapon dropped by dead player, I can shoot only to defuse kit, C4 or when player dropped weapon by himself. It may due to Drop All Weapons On Death or Weapon Physics plugin. Can you try to solve this problem? Becouse I love your plugin and want to use it with this plugins. Thanks.
sign92 is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 10-10-2009 , 22:42   Re: Weapon Health
Reply With Quote #23

Quote:
Originally Posted by sign92 View Post
Thanks for good plugin! But I have a problem. I can't shoot to weapon dropped by dead player, I can shoot only to defuse kit, C4 or when player dropped weapon by himself. It may due to Drop All Weapons On Death or Weapon Physics plugin. Can you try to solve this problem? Becouse I love your plugin and want to use it with this plugins. Thanks.
I'm working on changes so I will take this in mind.

Thanks
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
sign92
Member
Join Date: Aug 2009
Old 10-19-2009 , 15:57   Re: Weapon Health
Reply With Quote #24

We are all waiting for new version
sign92 is offline
mapper07
Member
Join Date: Oct 2012
Location: NY
Old 03-18-2013 , 07:30   Re: Weapon Health
Reply With Quote #25

This plugin forces players to use weapons with opposite hand. I use cl_righthand 1 but whenever i have this plugin enabled, it forces me to see weapons on the opposite hand. The knife stays normal though. Anyone know a fix?
mapper07 is offline
Reply



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 13:50.


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