View Single Post
93SHADoW
AlliedModders Donor
Join Date: Jul 2014
Location: Houston, TX
Old 01-15-2016 , 07:48   Re: TF2: Roll the Dice RTD - v0.4
Reply With Quote #1491

Here's what i've been running.

Changes:
  • Ice ragdoll fix
  • Allowed all tf_projectile entities to be used for homing projectiles perk (no longer limited to arrows, rockets, flares).
  • Using this method instead of OnPlayerRunCmd for Freeze Perk to block input:
    Code:
    for(new slot=0;slot<=5;slot++)
    {
    	new weapon=GetPlayerWeaponSlot(client, slot);
    	if(weapon && IsValidEdict(weapon))
    	{
    		SetEntPropFloat(weapon, Prop_Send, "m_flNextPrimaryAttack", GetGameTime()+flDuration);
    	}
    }
    SetEntPropFloat(client, Prop_Send, "m_flNextAttack", GetGameTime()+flDuration);
    if(TF2_GetPlayerClass(client)==TFClass_Spy)
    {
    	SetEntPropFloat(client, Prop_Send, "m_flStealthNextChangeTime", GetGameTime()+flDuration);
    }
Attached Files
File Type: sp Get Plugin or Get Source (rtd.sp - 567 views - 100.0 KB)
File Type: smx rtd.smx (49.3 KB, 286 views)
File Type: inc rtd.inc (1.4 KB, 261 views)
__________________

Last edited by 93SHADoW; 01-15-2016 at 08:01.
93SHADoW is offline
Send a message via AIM to 93SHADoW Send a message via Skype™ to 93SHADoW