tres
Well-Known Member
- Joined
- Feb 10, 2020
- Messages
- 47
Fixes team lag compensation (I believe, I haven't tested this out) and add more weapons that work with FF.
PROS:
- Able to hit teammates much more accurately.
- A vast majority of weapons are now available to kill your team.
CONS:
- There may be a mass blu teamkill when abused.
Plugin's Github (SMX in /plugin)
The plugin was made by Chdata and Kit O'Rifty.
PROS:
- Able to hit teammates much more accurately.
- A vast majority of weapons are now available to kill your team.
CONS:
- There may be a mass blu teamkill when abused.
Plugin's Github (SMX in /plugin)
File in /gamedata named data.friendlyfire.txt is needed in order to work properly. Otherwise, the plugin will throw a fail error. (Line 97 on fff.sp)
fff.sp github
fff.sp github
C++:
// Able to edit and configure what projectile can be used in Friendly Fire.
static const String:g_sPvPProjectileClasses[][] =
{
//"tf_projectile_pipe_remote",
//"tf_projectile_cleaver",
"tf_projectile_rocket",
"tf_projectile_sentryrocket",
"tf_projectile_arrow",
"tf_projectile_stun_ball",
"tf_projectile_ball_ornament",
"tf_projectile_energy_ball",
"tf_projectile_energy_ring",
"tf_projectile_flare",
"tf_projectile_healing_bolt",
"tf_projectile_jar",
"tf_projectile_jar_milk",
"tf_projectile_pipe",
"tf_projectile_syringe"
};
C++:
/* This is kind of important, and where I am confused about SoruceMod.
Im hoping that mp_friendlyfire isnt overwritten onto an admin var.
If mp_friendlyfire isn't overwritten, then this should work with the JB plugin flawlessly without any changes.
*/
public OnPluginStart()
{
mp_friendlyfire = FindConVar("mp_friendlyfire");
HookConVarChange(mp_friendlyfire, CvarChange);
RegAdminCmd("sm_fff", cmdFriendlyFireToggle, ADMFLAG_CHEATS, "sm_friendlyfire <on/off> - Toggles mp_friendlyfire status.");
RegAdminCmd("sm_friendlyfire", cmdFriendlyFireToggle, ADMFLAG_CHEATS, "sm_friendlyfire <on/off> - Toggles mp_friendlyfire status.");
Gamedata_OnPluginStart();
}
The plugin was made by Chdata and Kit O'Rifty.