Raised This Month: $ Target: $400
 0% 

[SOLVED] Change entity angle and origin - backweapon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
joselitostrike
Junior Member
Join Date: Jan 2005
Old 10-15-2006 , 18:28   Re: Change entity angle and origin - backweapon
Reply With Quote #4

Thx diamond-optic, i followed what you said and found out that using pev_effects have solved my problem. From back weapons by cheap_suit:

Code:
if(equal(modelName, "models/pshell.mdl"))
			{
				set_pev(g_bwEnt[id], pev_effects, EF_NODRAW)
				return PLUGIN_CONTINUE
			}
			
			set_pev(g_bwEnt[id], pev_effects, 0)
About the problem with the angles and origin of the weapon model that is set to MOVETYPE_FOLLOW, it follows the aiment entitie. The only fix possible is suggesting a new feature, which will be change the origin and angle of a MOVETYPE_FOLLOW.

Don't know if there's another way, because getting the player origin and angles to use with another entitie doesn't do the same effect. Even if you set a task to the minimum time.
__________________
HAMACHI:
joselitostrike is offline
 



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 04:53.


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