Raised This Month: $51 Target: $400
 12% 

TF2: Be invis from SG's?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 10-04-2008 , 23:45   TF2: Be invis from SG's?
Reply With Quote #1

Ok so..just wondering...this is from rtd plugin.

One of the skills in rtd is invisibility. It looks like the code was done by Spazman0. The only flaw in this skill is, SG's still detect you....

Does anyone know if there is any way to make SG's not detect you?

I would ask the author of the plugin but, doesnt seem to be around anymore......Its a bug in the invisibility skill ive been wanting to fix for a while.

Here is the invis code:

Code:
// Invisiablilty brought to you by Spazman0
CreateInvis(target)    
{
    SetAlpha(target,0);
}

SetAlpha(target, alpha)
{        
    SetWeaponsAlpha(target,alpha);
    SetEntityRenderMode(target, RENDER_TRANSCOLOR);
    SetEntityRenderColor(target, 255, 255, 255, alpha);    
}

SetWeaponsAlpha(target, alpha)
{
        if(IsPlayerAlive(target))
        {
            new m_hMyWeapons = FindSendPropOffs("CBasePlayer", "m_hMyWeapons");    
        
            for(new i = 0, weapon; i < 47; i += 4)
            {
                weapon = GetEntDataEnt2(target, m_hMyWeapons + i);
            
                if(weapon > -1 )
                {
                    SetEntityRenderMode(weapon, RENDER_TRANSCOLOR);
                    SetEntityRenderColor(weapon, 255, 255, 255, alpha);
                }
            }
        }
}

Code:
SetWeaponsColor(client)
{
    new m_hMyWeapons = FindSendPropOffs("CBasePlayer", "m_hMyWeapons");    

    for(new i = 0, weapon; i < 47; i += 4)
    {
        weapon = GetEntDataEnt2(client, m_hMyWeapons + i);
    
        if(weapon > -1 )
        {
            SetEntityRenderMode(weapon, RENDER_NORMAL);
            SetEntityRenderColor(weapon, 255, 255, 255, 255);
        }
    }
}
retsam is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 10-04-2008 , 23:48   Re: TF2: Be invis from SG's?
Reply With Quote #2

Spaz is around... he and Arg! are working on FuncommandsX now
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 10-05-2008 , 00:05   Re: TF2: Be invis from SG's?
Reply With Quote #3

K. I pm'd him about it also.
retsam is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 10-06-2008 , 05:29   Re: TF2: Be invis from SG's?
Reply With Quote #4

I thought ThayGuy already fixed this in his version of RTD.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 10-06-2008 , 12:05   Re: TF2: Be invis from SG's?
Reply With Quote #5

If anybody can figure out this one, I'll include it in the plugin. The invis code doesn't have much to do with it. SGs shoot players from the other team reguardless of the player's condiction.
__________________
pheadxdll is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 10-06-2008 , 13:23   Re: TF2: Be invis from SG's?
Reply With Quote #6

My guess is that it's not possible without an extension.
bl4nk 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 00:13.


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