Entity's solid state
I'm curious if it's possible for an entity's solid state to behave differently for both teams at the same time. For example one player can stand on it while another player is falling through it.
|
Re: Entity's solid state
you can try to set it solid_not for everyone but, in touch check for team and do some slap/velocy/set_origin..
and also i found this: http://forums.alliedmods.net/showthread.php?p=1858668 and this: /** * Description: Usually called after the engine call with the same name. * Forward params: function(this) * Return type: None. * Execute params: ExecuteHam(Ham_SetObjectCollisionBox, this); */ Ham_SetObjectCollisionBox, |
Re: Entity's solid state
Neither of these actually help.
Hooking the touch between the two and the link you gave me aren't fast enough, so you will get stuck if you step on it and it has to transfer from bbox to trigger state. And hooking collisionbox event doesnt help at all. It's seems to be called all the time and it provides only the entity's index. Is there a fast enough method to get the entity's toucher that I am not aware of? |
Re: Entity's solid state
Bump.
|
Re: Entity's solid state
What I'm asking is if there is any way of making, for example a wall. That wall has to act differently for the two teams. A terrorist would get through it and a CT wouldn't but at the same exact time.
For example if two players from T and CT walk paralel to each other and hit the wall and the same exact time, the T shaw pass and CT shaw not pass. |
Re: Entity's solid state
Im looking for something like this to i would be glad if someone could do it
|
Re: Entity's solid state
FM_AddToFullPack, look at the ohter plugins how they do it.
|
Re: Entity's solid state
I have tried FM_AddToFullPack and i doesn't seem to work or I'm doing something wrong. The ent is not SOLID_NOT at all. What are those plugins which you speak of; any link, title, author, anything at all...
Here is a plugin for testing purpose only thats not working as you mentioned using addtofullpack. PHP Code:
|
Re: Entity's solid state
AddToFullPack is for visual effects only, not physical.
|
Re: Entity's solid state
Quote:
I'm out of ideas. Any help is heavily appreciated. |
| All times are GMT -4. The time now is 13:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.