Entitys Prob
Ok...heres the code I have so far *Thanks to Suicide for getting me started in the right direction*
Code:
It works for the part of setting no clip to the players when they touch each other. Here are my problems 1. It sets no clip to both ptr and ptd 2. Once no clip is set, it does not reset it back(you have to run into ur teammate a couple more times) 3. I cant seem to figure out how to stop the touch call when i try to stand on top of my teammates. So far it works and compiles with no errors. :) The touch call only gets activated when you touch ur own teammates. Can anyone help please? Also...if anyone can point me in the direction of how to change hosties models in cz i would appreciate it. I've looked at hostitron but it doesnt work with cz. Thanks :D |
I did it here somewhere, just don't steal it and release this as your own plugin or something.
Code:
|
Re: Entitys Prob
Thanks for trying hawk...your plugin deals mostly with surf. What im trying to do is make a plugin that allows you to walk through ONLY ur teammates when they touch/collide. Im trying to do this bcuz im tired of sissy players crowding the back end of the door trying to steal kills while the real players are fighting the real fight. At least this way ur teammate being there wont matter and the sissys can die instead. Like i said it compiles with no errors and works for the most part i just cant figure these out
Quote:
|
That's what it is... read the stuff about semiclip, it's near the end of PreThink.
|
Ahhhh I found it. How would i integrate that into the pfn_touch? Or would i have to rewrite it to client_prethink? And im assuming i would have to register the cvar as u did. Ill try to figure out while i wait for a response and some more help....Thanks by the way, I really appreciate it.
|
I tried integrating it into pfn_touch a while ago (which failed horribly).
The best result I got was in client_PreThink, so you should probably write it into that. Here's one of the early generation ones I did, which is, like I said, one of the ones that failed horribly: Code:
|
Ok Hawk, thanks to you it works BUT...Everyone gets no clipping. I liked the pfn_touch because it was able to determine if players where teammates or not. Heres what i got
Code:
|
Code:
Also, you might have to decrease the radius. If more than 1 person is in the radius and 1 is a teammate but the other is not, it'll still be activated. pfn_touch I found was too slow though. It works but it looks terrible and you glitch when hitting someone. |
thanks hawk ill give that a try...i gotta go do some things so i wont respond for a while...but im learning new stuff so hope to hear from you and ill let you know how it goes thanks :lol:
|
Oops, change that to get_user_team(id) != get_user_team(ent).
|
| All times are GMT -4. The time now is 16:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.