Hi, i have found a feature in the game that made me think on a new semiclip method.
Can some people would be kind enough to test that method with that team semiclip plugin ?
There are nor cvars, semiclip is for both teams but obviously only between teamates.
There is one chat command : /invis that allow players to not see their teamates at all.
The only problem with this method is that you don't hear anymore your teamates (runing, fire, buying etc...), but it can still be a good method for kz or surf servers or whatever.
public client_AddToFullPack(es, e, ent, id, hostflags, player, pSet)
{
if( player && g_iCurrentPlayer != id && is_user_alive(id) )
{
g_iCurrentPlayer = id
public client_putinserver( id ) { set_pev(id, pev_groupinfo, 1) }
public client_CmdStart_P( id ) { engfunc(EngFunc_SetGroupMask, 1, GROUP_OP_NAND) }
#if defined SHOW_NAMES_WHEN_AIM public client_PlayerPreThink(id) { set_pev(id, pev_groupinfo, 0) }
public client_PlayerPreThink_P(id) { set_pev(id, pev_groupinfo, 1) } #endif
#if defined ENABLE_SHOTS_DAMAGE public client_PlayerPostThink(id) { set_pev(id, pev_groupinfo, 0) }
public client_PlayerPostThink_P(id) { set_pev(id, pev_groupinfo, 1) } #endif
public client_AddToFullPack_P(es, e, ent, id, hostflags, player, pSet) { if( player && id != ent && get_orig_retval() && is_user_alive(id) ) { set_es(es, ES_Solid, SOLID_NOT)
No, the player status need to be known by the semiclip plugin, but if you want in a separated plugin so you can make/keep your own menu, just create a dynamic native in your plugin or in this one it's not a big deal.
I hope you can find out the problem that is the func_door and others movable entity will get stuck when two or more "semiclip ing" players and it touch that entity.
This problem can be solve by xPaw's DeathRun semiclip method but his method make the players cannot be knived.