cvarShieldCrits=CreateConVar("ff2_shield_crits", "1", "0 to disable grenade launcher crits when equipping a shield, 1 for minicrits, 2 for crits", FCVAR_PLUGIN, true, 0.0, true, 2.0);
Is currently at number "2" Should be changed to "1" "0" is no crits nor minicrits at all
Not 100% sure but hope it works and I will respond if it works or not.
Sat Mar 07, 2015 7:44 pm
Llamara
HH Donor
Joined: Mon May 13, 2013 10:42 pm Posts: 379 Location: France
Re: Nerfing Demoknight
Nice find... i don't have the skills to find stuffs like those!
if (weapon == GetPlayerWeaponSlot(client, TFWeaponSlot_Primary) && !IsValidEntity(GetPlayerWeaponSlot(client, TFWeaponSlot_Secondary))) // Check if current weapon being held is primary and no secondary weapon exists { if (!TF2_IsPlayerCritBuffed(client) && !TF2_IsPlayerInCondition(client, TFCond_Buffed)) //Check player doesn't have crits { TF2_AddCondition(client, TFCond_CritCola, 0.3); // Add mini-crits } }
Since we can't see any of the HH FF2 code, it's difficult to know. Also, FF2 is a mess.
Last edited by AdvancedCori on Sun Mar 08, 2015 3:29 pm, edited 3 times in total.
cvarShieldCrits=CreateConVar("ff2_shield_crits", "1", "0 to disable grenade launcher crits when equipping a shield, 1 for minicrits, 2 for crits", FCVAR_PLUGIN, true, 0.0, true, 2.0);
Is currently at number "2" Should be changed to "1" "0" is no crits nor minicrits at all
Not 100% sure but hope it works and I will respond if it works or not.
That's not the version of FF2 that we run. Ours is based on 1.06, which is evident on the server. This is 1.06 http://pastebin.com/aneEPUD1
Users browsing this forum: No registered users and 3 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum