Raised This Month: $ Target: $400
 0% 

how to get p model's entity id


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
1023168216
Member
Join Date: Jun 2013
Location: Tokyo
Old 08-05-2013 , 02:43   Re: how to get p model's entity id
Reply With Quote #7

in fact,i want to change the p_**.mdl model when player use the gun.but i dont want to use pev_weaponmodel, because i need to set pev_body(i have combined many p_**.mdl into one model),then i need the p_**.mdl 's index to set pev_body
Quote:
Originally Posted by Black Rose View Post
I've checked into it. It's basically impossible.

The p_ model movement stops when the Z-rotation reaches a certain point even though the v_ model is still moving, that can be calculated of course. The problem with this is that 2 entitys are needed to separate the 2 different locations. I'm not very up to date on AMXx and I don't know if you can make one of them invisible for some players and the other one invisible for the others.

The player is constantly moving. This probably can not be calculated since it's only the model animation, not the actual angles of the crosshair that is moving. You will get offsets that looks like shit.

Someone has to find out all the lenghts of weapons. Possible but time consuming.

The calculations needed for a full server where people are spraying is a lot. The server could choke and players would suffer lag spikes if that happened. There's also a chance to hit the roof of maximum number of entities.

So, what exactly do you need and for what reason? Can we solve this in a different way?
1023168216 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 06:23.


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