New Semiclip Method
3 Attachment(s)
I have found a very good way of making semiclip (I think it is new). The main idea is to add SOLID_NOT flag for a player on a right moment.
Lets start with the simplest example. PHP Code:
It works pretty nice on KZ servers. Even better than the old way. It is ~5 lines of code and you don't have to worry about trigger_teleport and other stuff bicouse everything works fine. All what has left is to add a transparcy rendering. The dis advanced of this example is that player is SOLID_NOT almost always. So bullets wont touch the player. The second example is a bit more recourses consuming, compared to the first one. Now I will change every player to SOLID_NOT (accept 1) before a Think, and put things back to normal after Think. PHP Code:
This is all about the main idea. All the rest are enchantments/optimizations. In the attachment you will find a fully working semiclip plugin for general-cs/hns/kz/surf. Other mods should work well too. Plugin will make your teammates transparent and you will be able to walk thought them without a touch. At the same time opposite team will be solid, you will be able to shoot them. (note that you should use mp_friendlyfire 0 with this plugin or else you can hurt your team) |
Re: New Semiclip Method
That's pretty cool, I'll probably update my stuff to use this. Good job.
|
Re: New Semiclip Method
SOLID_SLIDEBOX is for players, not SOLID_BBOX
|
Re: New Semiclip Method
Quote:
|
Re: New Semiclip Method
nice
|
Re: New Semiclip Method
Quote:
We don't exactly want another ScreenFade dilemma on our hands, where people didn't understand the correct flags to use due to someone giving/using bad information! |
Re: New Semiclip Method
Quote:
|
Re: New Semiclip Method
When i use this method,
(Surf) Server is usually crash |
Re: New Semiclip Method
Quote:
I have everything working on my kz server. But the semiclip part is build into other plugin so I can not post it. I will fix and update attached plugin in a few days. |
Re: New Semiclip Method
Very nice.
|
All times are GMT -4. The time now is 20:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.