Fix attach_view issue please
Hi, can someboy help me with the next code:
PHP Code:
Sorry for my bad english, I really hope somebody helpme with this |
Re: Fix attach_view issue please
I apologize in advance for the spaghetti code but I really couldn't think of any other way to accomplish your goal... I created a duplicate entity, made it invisible, and made the attach_view follow that entity instead, so I inverted the yaw for the real entity and kept it the same for the invisible one...
PHP Code:
|
Re: Fix attach_view issue please
Hi!.
Yeah, that fix is good. Even before i made above code i've think on that fix. But, originally i was trying to using the less entities possible. And there is one issue with that: angles-view problem stills on, but now from the perspective of around players. I mean, if I have a custom-weapon and you see me, when i face up you will see the weapon on my hands go down and vice versa I expected somebody have knowledge dealing with this. Anyway, thanks a lot man for you help man. |
Re: Fix attach_view issue please
Quote:
|
Re: Fix attach_view issue please
Can you give me an example?
I remember i've done some similar thing with AddToFullPack but problem persists. Or maybe what you say is another way?. One last thing I think i can do, is hide model from 3rd players but not for Owner, and still using weapon "playermodel" model. In the end, if this works or not, doesn't matter for me, I just wanna test |
Re: Fix attach_view issue please
Apparently attach_view was still stubborn even when it comes to AddToFullPack, I wrote a hybrid solution between the two, so I created 2 entities, and only inverted the angle for the owner in AddToFullPack. This method is very sketchy I know, but until someone comes up with a better one I guess you're stuck with this for now :/
PHP Code:
|
Re: Fix attach_view issue please
I'm currently on work, but when i get home will test it.
Respect to AddToFullPack, i've 90% sure this is a problem from client-side view handlement. But unfortunately i don't have any open-source from where see how works. Again, big thanks man, will test and tell you if works PD: Well, seems it works good. Will test more days, if have any issues i'll post |
| All times are GMT -4. The time now is 15:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.