Raised This Month: $ Target: $400
 0% 

Entity's solid state


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 01-10-2013 , 18:14   Entity's solid state
Reply With Quote #1

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.

Last edited by SpeeDeeR; 01-26-2014 at 15:25.
SpeeDeeR is offline
AngeIII
Senior Member
Join Date: Sep 2007
Location: Latvia
Old 01-10-2013 , 18:25   Re: Entity's solid state
Reply With Quote #2

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,
__________________
skype: pavle_ivanof
-=ThQ=-
PRIVATE SUPPORT = PAID SUPPORT

Last edited by AngeIII; 01-10-2013 at 18:43.
AngeIII is offline
Send a message via Skype™ to AngeIII
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 01-10-2013 , 19:17   Re: Entity's solid state
Reply With Quote #3

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?
SpeeDeeR is offline
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 01-28-2013 , 09:49   Re: Entity's solid state
Reply With Quote #4

Bump.
SpeeDeeR is offline
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 01-06-2014 , 19:24   Re: Entity's solid state
Reply With Quote #5

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.
SpeeDeeR is offline
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 01-06-2014 , 19:40   Re: Entity's solid state
Reply With Quote #6

Im looking for something like this to i would be glad if someone could do it
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 01-06-2014 , 20:13   Re: Entity's solid state
Reply With Quote #7

FM_AddToFullPack, look at the ohter plugins how they do it.
.Dare Devil. is offline
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 01-06-2014 , 20:35   Re: Entity's solid state
Reply With Quote #8

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:
#include <amxmodx>
#include <fakemeta>

public plugin_init() 
{
    
register_forward(FM_AddToFullPack"Fwd_AddToFullPack"1);
}

public 
Fwd_AddToFullPack(eseenthosthostflagsplayerpSet)
{
    static  
idbody;
    
get_user_aiming(hostidbody);
        
    if(
id == ent)
    {
        
set_es(esES_SolidSOLID_NOT);
    }

SpeeDeeR is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 01-07-2014 , 08:44   Re: Entity's solid state
Reply With Quote #9

AddToFullPack is for visual effects only, not physical.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 01-07-2014 , 12:38   Re: Entity's solid state
Reply With Quote #10

Quote:
Originally Posted by NiHiLaNTh View Post
AddToFullPack is for visual effects only, not physical.
I thought so...
I'm out of ideas. Any help is heavily appreciated.
SpeeDeeR is offline
Reply



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 13:28.


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