This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Spray Tracking Plugin w/ graduated punishment!


Post New Thread Reply   
 
Thread Tools Display Modes
bzz0
Senior Member
Join Date: Oct 2005
Location: Latvia, Riga
Old 08-28-2007 , 16:07   Re: Spray Tracking Plugin w/ graduated punishment!
Reply With Quote #21

That will be really nice to have such plugin
__________________
Let's make it better
bzz0 is offline
pRED*
Join Date: Dec 2006
Old 08-28-2007 , 18:08   Re: Spray Tracking Plugin w/ graduated punishment!
Reply With Quote #22

PimpinJuice said a while back that he has a completed version of this ready.

Not sure what happened. He might be hanging onto it for his 'mani pack' release. I'll ask him if I see him on IRC.
pRED* is offline
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 08-29-2007 , 01:54   Re: Spray Tracking Plugin w/ graduated punishment!
Reply With Quote #23

I found this in c_te_spritespray.cpp in cl_dll
PHP Code:
static inline void RecordSpriteSpray( const Vectorstart, const Vector &direction
    
int nModelIndexint nSpeedfloat flNoiseint nCount )
{
    if ( !
ToolsEnabled() )
        return;

    if ( 
clienttools->IsInRecordingMode() )
    {
        const 
model_tpModel = (nModelIndex != 0) ? modelinfo->GetModelnModelIndex ) : NULL;
        const 
char *pModelName pModel modelinfo->GetModelNamepModel ) : "";

        
KeyValues *msg = new KeyValues"TempEntity" );

         
msg->SetInt"te"TE_SPRITE_SPRAY );
         
msg->SetString"name""TE_SpriteSpray" );
        
msg->SetFloat"time"gpGlobals->curtime );
        
msg->SetFloat"originx"start.);
        
msg->SetFloat"originy"start.);
        
msg->SetFloat"originz"start.);
        
msg->SetFloat"directionx"direction.);
        
msg->SetFloat"directiony"direction.);
        
msg->SetFloat"directionz"direction.);
          
msg->SetString"model"pModelName );
         
msg->SetInt"speed"nSpeed );
         
msg->SetFloat"noise"flNoise );
         
msg->SetInt"count"nCount );

        
ToolFramework_PostToolMessageHTOOLHANDLE_INVALIDmsg );
        
msg->deleteThis();
    }

Does it help?
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
dalto
Veteran Member
Join Date: Jul 2007
Old 08-29-2007 , 09:45   Re: Spray Tracking Plugin w/ graduated punishment!
Reply With Quote #24

Nican: nope, that is not used for decals.
dalto 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 14:12.


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