Refactor Jackal skill to affect all opponents and add alternative skill button
This commit is contained in:
parent
db3bb38d9b
commit
ca73bf50ac
29 changed files with 136 additions and 120 deletions
|
|
@ -165,9 +165,7 @@
|
||||||
"infiniteammo_desc": "You receive infinite ammo for all your weapons",
|
"infiniteammo_desc": "You receive infinite ammo for all your weapons",
|
||||||
|
|
||||||
"jackal": "Tracker",
|
"jackal": "Tracker",
|
||||||
"jackal_desc": "Choose a player who will leave a trail behind them",
|
"jackal_desc": "Every opponent leaves a trail behind them",
|
||||||
"jackal_player_info": "Player '{0}' will start leaving a trail.",
|
|
||||||
"jackal_select_info": "Choose the player who will leave a trail:",
|
|
||||||
|
|
||||||
"jammer": "Jammer",
|
"jammer": "Jammer",
|
||||||
"jammer_desc": "Choose a player to disable their crosshair",
|
"jammer_desc": "Choose a player to disable their crosshair",
|
||||||
|
|
|
||||||
|
|
@ -165,9 +165,7 @@
|
||||||
"infiniteammo_desc": "Otrzymujesz nieskończoną ilość amunicji do wszystkich broni",
|
"infiniteammo_desc": "Otrzymujesz nieskończoną ilość amunicji do wszystkich broni",
|
||||||
|
|
||||||
"jackal": "Stópkarz",
|
"jackal": "Stópkarz",
|
||||||
"jackal_desc": "Wybierasz gracza, który pozostawi za sobą ślad",
|
"jackal_desc": "Każdy przeciwnik pozostawia za sobą ślad",
|
||||||
"jackal_player_info": "Gracz '{0}' zacznie zostawiać za sobą ślad.",
|
|
||||||
"jackal_select_info": "Wybierz gracza, który pozostawi za sobą ślad:",
|
|
||||||
|
|
||||||
"jammer": "Zakłócacz",
|
"jammer": "Zakłócacz",
|
||||||
"jammer_desc": "Wybierasz gracza, dla którego chcesz wyłączyć celownik",
|
"jammer_desc": "Wybierasz gracza, dla którego chcesz wyłączyć celownik",
|
||||||
|
|
|
||||||
|
|
@ -165,9 +165,7 @@
|
||||||
"infiniteammo_desc": "Você recebe munição infinita para todas as suas armas",
|
"infiniteammo_desc": "Você recebe munição infinita para todas as suas armas",
|
||||||
|
|
||||||
"jackal": "Rastreador",
|
"jackal": "Rastreador",
|
||||||
"jackal_desc": "Escolha um jogador que deixará um rastro atrás dele",
|
"jackal_desc": "Cada adversário deixa um rastro atrás de si",
|
||||||
"jackal_player_info": "O jogador '{0}' começará a deixar um rastro.",
|
|
||||||
"jackal_select_info": "Escolha o jogador que deixará um rastro:",
|
|
||||||
|
|
||||||
"jammer": "Jammer",
|
"jammer": "Jammer",
|
||||||
"jammer_desc": "Escolha um jogador para desativar sua mira",
|
"jammer_desc": "Escolha um jogador para desativar sua mira",
|
||||||
|
|
|
||||||
|
|
@ -165,9 +165,7 @@
|
||||||
"infiniteammo_desc": "你为所有武器获得无限弹药",
|
"infiniteammo_desc": "你为所有武器获得无限弹药",
|
||||||
|
|
||||||
"jackal": "追踪者",
|
"jackal": "追踪者",
|
||||||
"jackal_desc": "选择一个玩家,其身后会留下痕迹",
|
"jackal_desc": "每个对手都会留下痕迹",
|
||||||
"jackal_player_info": "玩家 '{0}' 将开始留下痕迹。",
|
|
||||||
"jackal_select_info": "选择将留下痕迹的玩家:",
|
|
||||||
|
|
||||||
"jammer": "干扰器",
|
"jammer": "干扰器",
|
||||||
"jammer_desc": "选择一个玩家以禁用其准星",
|
"jammer_desc": "选择一个玩家以禁用其准星",
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,7 @@ namespace jRandomSkills
|
||||||
List<jSkill_SkillInfo> skillList = new(SkillData.Skills);
|
List<jSkill_SkillInfo> skillList = new(SkillData.Skills);
|
||||||
skillList.RemoveAll(s => s?.Skill == skillPlayer?.Skill || s?.Skill == skillPlayer?.SpecialSkill || s?.Skill == Skills.None);
|
skillList.RemoveAll(s => s?.Skill == skillPlayer?.Skill || s?.Skill == skillPlayer?.SpecialSkill || s?.Skill == Skills.None);
|
||||||
|
|
||||||
if (Utilities.GetPlayers().FindAll(p => p.Team == player.Team && p.IsValid && !p.IsBot).Count == 1)
|
if (Utilities.GetPlayers().FindAll(p => p.Team == player.Team && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).Count == 1)
|
||||||
{
|
{
|
||||||
Config.DefaultSkillInfo[] skillsNeedsTeammates = Config.LoadedConfig.SkillsInfo.Where(s => s.NeedsTeammates).ToArray();
|
Config.DefaultSkillInfo[] skillsNeedsTeammates = Config.LoadedConfig.SkillsInfo.Where(s => s.NeedsTeammates).ToArray();
|
||||||
skillList.RemoveAll(s => skillsNeedsTeammates.Any(s2 => s2.Name == s.Skill.ToString()));
|
skillList.RemoveAll(s => skillsNeedsTeammates.Any(s2 => s2.Name == s.Skill.ToString()));
|
||||||
|
|
@ -270,6 +270,28 @@ namespace jRandomSkills
|
||||||
|
|
||||||
return HookResult.Continue;
|
return HookResult.Continue;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Instance.RegisterListener<Listeners.OnPlayerButtonsChanged>((CCSPlayerController player, PlayerButtons pressed, PlayerButtons released) =>
|
||||||
|
{
|
||||||
|
string? button = Config.LoadedConfig.Settings.AlternativeSkillButton;
|
||||||
|
if (string.IsNullOrEmpty(button)) return;
|
||||||
|
|
||||||
|
if (Enum.TryParse<PlayerButtons>(button, out var skillButton))
|
||||||
|
{
|
||||||
|
if (pressed != skillButton) return;
|
||||||
|
} else return;
|
||||||
|
|
||||||
|
if (player == null) return;
|
||||||
|
var playerInfo = Instance.SkillPlayer.FirstOrDefault(p => p.SteamID == player.SteamID);
|
||||||
|
if (playerInfo == null) return;
|
||||||
|
|
||||||
|
var playerPawn = player.PlayerPawn.Value;
|
||||||
|
if (playerPawn?.CBodyComponent == null) return;
|
||||||
|
if (!player.IsValid || !player.PawnIsAlive) return;
|
||||||
|
|
||||||
|
Debug.WriteToDebug($"Player {player.PlayerName} used the skill: {playerInfo.Skill} by PlayerButtons: {pressed}");
|
||||||
|
Instance.SkillAction(playerInfo.Skill.ToString(), "UseSkill", [player]);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
[GeneratedRegex(@"\{AUTHOR1\}", RegexOptions.IgnoreCase, "pl-PL")]
|
[GeneratedRegex(@"\{AUTHOR1\}", RegexOptions.IgnoreCase, "pl-PL")]
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ using CounterStrikeSharp.API.Core;
|
||||||
using CounterStrikeSharp.API.Modules.Utils;
|
using CounterStrikeSharp.API.Modules.Utils;
|
||||||
using jRandomSkills.src.player;
|
using jRandomSkills.src.player;
|
||||||
using jRandomSkills.src.utils;
|
using jRandomSkills.src.utils;
|
||||||
|
using System.Collections.Generic;
|
||||||
using static jRandomSkills.jRandomSkills;
|
using static jRandomSkills.jRandomSkills;
|
||||||
|
|
||||||
namespace jRandomSkills
|
namespace jRandomSkills
|
||||||
|
|
@ -11,7 +12,7 @@ namespace jRandomSkills
|
||||||
{
|
{
|
||||||
private const Skills skillName = Skills.Darkness;
|
private const Skills skillName = Skills.Darkness;
|
||||||
private static readonly float brightness = Config.GetValue<float>(skillName, "brightness");
|
private static readonly float brightness = Config.GetValue<float>(skillName, "brightness");
|
||||||
private static readonly Dictionary<CCSPlayerController, CPostProcessingVolume> deafultPostProcessing = [];
|
private static readonly Dictionary<CCSPlayerController, List<CPostProcessingVolume>> defaultPostProcessings = [];
|
||||||
private static readonly List<CPostProcessingVolume> newPostProcessing = [];
|
private static readonly List<CPostProcessingVolume> newPostProcessing = [];
|
||||||
|
|
||||||
public static void LoadSkill()
|
public static void LoadSkill()
|
||||||
|
|
@ -36,7 +37,7 @@ namespace jRandomSkills
|
||||||
|
|
||||||
Instance.RegisterEventHandler<EventRoundEnd>((@event, info) =>
|
Instance.RegisterEventHandler<EventRoundEnd>((@event, info) =>
|
||||||
{
|
{
|
||||||
foreach (var player in deafultPostProcessing.Keys)
|
foreach (var player in defaultPostProcessings.Keys)
|
||||||
DisableSkill(player);
|
DisableSkill(player);
|
||||||
foreach (var postProcessing in newPostProcessing)
|
foreach (var postProcessing in newPostProcessing)
|
||||||
postProcessing.Remove();
|
postProcessing.Remove();
|
||||||
|
|
@ -89,7 +90,7 @@ namespace jRandomSkills
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("darkness") + ":", false);
|
SkillUtils.PrintToChat(player, Localization.GetTranslation("darkness") + ":", false);
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("darkness_select_info")}");
|
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("darkness_select_info")}");
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot).ToArray();
|
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).ToArray();
|
||||||
if (enemies.Length > 0)
|
if (enemies.Length > 0)
|
||||||
{
|
{
|
||||||
foreach (var enemy in enemies)
|
foreach (var enemy in enemies)
|
||||||
|
|
@ -111,19 +112,23 @@ namespace jRandomSkills
|
||||||
var pawn = player.PlayerPawn.Value;
|
var pawn = player.PlayerPawn.Value;
|
||||||
if (pawn == null || !pawn.IsValid || pawn.CameraServices == null) return;
|
if (pawn == null || !pawn.IsValid || pawn.CameraServices == null) return;
|
||||||
|
|
||||||
var postProcessingVolumes = pawn.CameraServices.PostProcessingVolumes.FirstOrDefault();
|
if (!defaultPostProcessings.TryGetValue(player, out _))
|
||||||
if (postProcessingVolumes == null || postProcessingVolumes.Value == null) return;
|
defaultPostProcessings[player] = [];
|
||||||
|
|
||||||
if (deafultPostProcessing.TryGetValue(player, out var oldPostProcessing))
|
int i = 0;
|
||||||
|
foreach (var postProcessingVolume in pawn.CameraServices.PostProcessingVolumes)
|
||||||
{
|
{
|
||||||
postProcessingVolumes.Raw = oldPostProcessing.EntityHandle.Raw;
|
if (postProcessingVolume == null || postProcessingVolume.Value == null)
|
||||||
deafultPostProcessing.Remove(player);
|
|
||||||
Utilities.SetStateChanged(pawn, "CBasePlayerPawn", "m_pCameraServices");
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
if (dontCreateNew)
|
if (dontCreateNew)
|
||||||
return;
|
{
|
||||||
|
if (i < defaultPostProcessings[player].Count)
|
||||||
|
postProcessingVolume.Raw = defaultPostProcessings[player][i].EntityHandle.Raw;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
defaultPostProcessings[player].Add(postProcessingVolume.Value);
|
||||||
|
|
||||||
var postProcessing = Utilities.CreateEntityByName<CPostProcessingVolume>("post_processing_volume");
|
var postProcessing = Utilities.CreateEntityByName<CPostProcessingVolume>("post_processing_volume");
|
||||||
if (postProcessing == null) return;
|
if (postProcessing == null) return;
|
||||||
|
|
@ -131,9 +136,16 @@ namespace jRandomSkills
|
||||||
postProcessing.ExposureControl = true;
|
postProcessing.ExposureControl = true;
|
||||||
postProcessing.MaxExposure = brightness;
|
postProcessing.MaxExposure = brightness;
|
||||||
postProcessing.MinExposure = brightness;
|
postProcessing.MinExposure = brightness;
|
||||||
deafultPostProcessing.TryAdd(player, postProcessingVolumes.Value);
|
|
||||||
postProcessingVolumes.Raw = postProcessing.EntityHandle.Raw;
|
newPostProcessing.Add(postProcessing);
|
||||||
|
postProcessingVolume.Raw = postProcessing.EntityHandle.Raw;
|
||||||
|
}
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
|
||||||
Utilities.SetStateChanged(pawn, "CBasePlayerPawn", "m_pCameraServices");
|
Utilities.SetStateChanged(pawn, "CBasePlayerPawn", "m_pCameraServices");
|
||||||
|
if (dontCreateNew)
|
||||||
|
defaultPostProcessings.Remove(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SkillConfig(Skills skill = skillName, bool active = true, string color = "#383838", CsTeam onlyTeam = CsTeam.None, bool needsTeammates = false, float brightness = .01f) : Config.DefaultSkillInfo(skill, active, color, onlyTeam, needsTeammates)
|
public class SkillConfig(Skills skill = skillName, bool active = true, string color = "#383838", CsTeam onlyTeam = CsTeam.None, bool needsTeammates = false, float brightness = .01f) : Config.DefaultSkillInfo(skill, active, color, onlyTeam, needsTeammates)
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ namespace jRandomSkills
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("deactivator") + ":", false);
|
SkillUtils.PrintToChat(player, Localization.GetTranslation("deactivator") + ":", false);
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("deactivator_select_info")}");
|
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("deactivator_select_info")}");
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot).ToArray();
|
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).ToArray();
|
||||||
if (enemies.Length > 0)
|
if (enemies.Length > 0)
|
||||||
{
|
{
|
||||||
foreach (var enemy in enemies)
|
foreach (var enemy in enemies)
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@ namespace jRandomSkills
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("deaf") + ":", false);
|
SkillUtils.PrintToChat(player, Localization.GetTranslation("deaf") + ":", false);
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("deaf_select_info")}");
|
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("deaf_select_info")}");
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot).ToArray();
|
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).ToArray();
|
||||||
if (enemies.Length > 0)
|
if (enemies.Length > 0)
|
||||||
{
|
{
|
||||||
foreach (var enemy in enemies)
|
foreach (var enemy in enemies)
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ namespace jRandomSkills
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("duplicator") + ":", false);
|
SkillUtils.PrintToChat(player, Localization.GetTranslation("duplicator") + ":", false);
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("duplicator_select_info")}");
|
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("duplicator_select_info")}");
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p != player && p.IsValid && !p.IsBot).ToArray();
|
var enemies = Utilities.GetPlayers().Where(p => p != player && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).ToArray();
|
||||||
if (enemies.Length > 0)
|
if (enemies.Length > 0)
|
||||||
{
|
{
|
||||||
foreach (var enemy in enemies)
|
foreach (var enemy in enemies)
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ namespace jRandomSkills
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("glitch") + ":", false);
|
SkillUtils.PrintToChat(player, Localization.GetTranslation("glitch") + ":", false);
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("glitch_select_info")}");
|
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("glitch_select_info")}");
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot).ToArray();
|
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).ToArray();
|
||||||
if (enemies.Length > 0)
|
if (enemies.Length > 0)
|
||||||
{
|
{
|
||||||
foreach (var enemy in enemies)
|
foreach (var enemy in enemies)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ using CounterStrikeSharp.API.Core;
|
||||||
using CounterStrikeSharp.API.Core.Attributes;
|
using CounterStrikeSharp.API.Core.Attributes;
|
||||||
using CounterStrikeSharp.API.Modules.Utils;
|
using CounterStrikeSharp.API.Modules.Utils;
|
||||||
using jRandomSkills.src.player;
|
using jRandomSkills.src.player;
|
||||||
using jRandomSkills.src.utils;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using static jRandomSkills.jRandomSkills;
|
using static jRandomSkills.jRandomSkills;
|
||||||
|
|
||||||
|
|
@ -14,13 +13,11 @@ namespace jRandomSkills
|
||||||
private const Skills skillName = Skills.Jackal;
|
private const Skills skillName = Skills.Jackal;
|
||||||
private static readonly int maxStepBeam = Config.GetValue<int>(skillName, "maxStepBeam");
|
private static readonly int maxStepBeam = Config.GetValue<int>(skillName, "maxStepBeam");
|
||||||
private static bool exists = false;
|
private static bool exists = false;
|
||||||
|
|
||||||
private static readonly Dictionary<uint, uint> authorBeams = [];
|
|
||||||
private static readonly Dictionary<CCSPlayerController, List<CBeam>> stepBeams = [];
|
private static readonly Dictionary<CCSPlayerController, List<CBeam>> stepBeams = [];
|
||||||
|
|
||||||
public static void LoadSkill()
|
public static void LoadSkill()
|
||||||
{
|
{
|
||||||
SkillUtils.RegisterSkill(skillName, Config.GetValue<string>(skillName, "color"), false);
|
SkillUtils.RegisterSkill(skillName, Config.GetValue<string>(skillName, "color"));
|
||||||
|
|
||||||
Instance.RegisterEventHandler<EventRoundFreezeEnd>((@event, info) =>
|
Instance.RegisterEventHandler<EventRoundFreezeEnd>((@event, info) =>
|
||||||
{
|
{
|
||||||
|
|
@ -44,11 +41,7 @@ namespace jRandomSkills
|
||||||
foreach (var beam in beams)
|
foreach (var beam in beams)
|
||||||
if (beam != null && beam.IsValid)
|
if (beam != null && beam.IsValid)
|
||||||
beam.Remove();
|
beam.Remove();
|
||||||
foreach (var player in stepBeams.Keys)
|
|
||||||
DisableSkill(player);
|
|
||||||
authorBeams.Clear();
|
|
||||||
stepBeams.Clear();
|
stepBeams.Clear();
|
||||||
|
|
||||||
Instance.RemoveListener<Listeners.CheckTransmit>(CheckTransmit);
|
Instance.RemoveListener<Listeners.CheckTransmit>(CheckTransmit);
|
||||||
exists = false;
|
exists = false;
|
||||||
return HookResult.Continue;
|
return HookResult.Continue;
|
||||||
|
|
@ -100,12 +93,13 @@ namespace jRandomSkills
|
||||||
var beams = step.Value;
|
var beams = step.Value;
|
||||||
|
|
||||||
var observedPlayer = Utilities.GetPlayers().FirstOrDefault(p => p?.Pawn?.Value?.Handle == player?.Pawn?.Value?.ObserverServices?.ObserverTarget?.Value?.Handle);
|
var observedPlayer = Utilities.GetPlayers().FirstOrDefault(p => p?.Pawn?.Value?.Handle == player?.Pawn?.Value?.ObserverServices?.ObserverTarget?.Value?.Handle);
|
||||||
|
var playerInfo = Instance.SkillPlayer.FirstOrDefault(p => p.SteamID == player.SteamID);
|
||||||
bool playerHasBeam = authorBeams.TryGetValue(player.Index, out uint pIndex) && pIndex == enemy.Index;
|
var observerInfo = Instance.SkillPlayer.FirstOrDefault(p => p.SteamID == observedPlayer?.SteamID);
|
||||||
bool observerHasBeam = observedPlayer != null && authorBeams.TryGetValue(observedPlayer.Index, out uint oIndex) && oIndex == enemy.Index;
|
|
||||||
|
|
||||||
foreach (var beam in beams)
|
foreach (var beam in beams)
|
||||||
if (!playerHasBeam && !observerHasBeam)
|
if (playerInfo?.Skill != skillName && observerInfo?.Skill != skillName)
|
||||||
|
info.TransmitEntities.Remove(beam);
|
||||||
|
else if (enemy.Team == player.Team)
|
||||||
info.TransmitEntities.Remove(beam);
|
info.TransmitEntities.Remove(beam);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -130,60 +124,16 @@ namespace jRandomSkills
|
||||||
return beam;
|
return beam;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void TypeSkill(CCSPlayerController player, string[] commands)
|
|
||||||
{
|
|
||||||
if (player == null || !player.IsValid || !player.PawnIsAlive) return;
|
|
||||||
var playerInfo = Instance.SkillPlayer.FirstOrDefault(p => p.SteamID == player.SteamID);
|
|
||||||
if (playerInfo?.Skill != skillName) return;
|
|
||||||
|
|
||||||
if (playerInfo.SkillChance == 1)
|
|
||||||
{
|
|
||||||
player.PrintToChat($" {ChatColors.Red}{Localization.GetTranslation("areareaper_used_info")}");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
string enemyId = commands[0];
|
|
||||||
var enemy = Utilities.GetPlayers().FirstOrDefault(p => p.Team != player.Team && p.Index.ToString() == enemyId);
|
|
||||||
|
|
||||||
if (enemy == null)
|
|
||||||
{
|
|
||||||
player.PrintToChat($" {ChatColors.Red}" + Localization.GetTranslation("selectplayerskill_incorrect_enemy_index"));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
authorBeams.Add(player.Index, enemy.Index);
|
|
||||||
stepBeams.Add(enemy, []);
|
|
||||||
playerInfo.SkillChance = 1;
|
|
||||||
player.PrintToChat($" {ChatColors.Green}" + Localization.GetTranslation("jackal_player_info", enemy.PlayerName));
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void EnableSkill(CCSPlayerController player)
|
public static void EnableSkill(CCSPlayerController player)
|
||||||
{
|
{
|
||||||
if (!exists)
|
if (!exists)
|
||||||
|
{
|
||||||
Instance.RegisterListener<Listeners.CheckTransmit>(CheckTransmit);
|
Instance.RegisterListener<Listeners.CheckTransmit>(CheckTransmit);
|
||||||
|
|
||||||
|
foreach (var _player in Utilities.GetPlayers().Where(p => p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator))
|
||||||
|
stepBeams.Add(_player, []);
|
||||||
|
}
|
||||||
exists = true;
|
exists = true;
|
||||||
var playerInfo = Instance.SkillPlayer.FirstOrDefault(p => p.SteamID == player.SteamID);
|
|
||||||
if (playerInfo == null) return;
|
|
||||||
playerInfo.SkillChance = 0;
|
|
||||||
|
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("jackal") + ":", false);
|
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("jackal_select_info")}");
|
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot).ToArray();
|
|
||||||
if (enemies.Length > 0)
|
|
||||||
{
|
|
||||||
foreach (var enemy in enemies)
|
|
||||||
player.PrintToChat($" {ChatColors.Green}⠀⠀⠀[{ChatColors.Red}{enemy.Index}{ChatColors.Green}] {enemy.PlayerName}");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
player.PrintToChat($" {ChatColors.Red}⠀⠀⠀{Localization.GetTranslation("selectplayerskill_incorrect_enemy_index")}");
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("selectplayerskill_command")} {ChatColors.Red}index");
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void DisableSkill(CCSPlayerController player)
|
|
||||||
{
|
|
||||||
authorBeams.Remove(player.Index);
|
|
||||||
stepBeams.Remove(player);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SkillConfig(Skills skill = skillName, bool active = true, string color = "#f542ef", CsTeam onlyTeam = CsTeam.None, bool needsTeammates = false, int maxStepBeam = 50) : Config.DefaultSkillInfo(skill, active, color, onlyTeam, needsTeammates)
|
public class SkillConfig(Skills skill = skillName, bool active = true, string color = "#f542ef", CsTeam onlyTeam = CsTeam.None, bool needsTeammates = false, int maxStepBeam = 50) : Config.DefaultSkillInfo(skill, active, color, onlyTeam, needsTeammates)
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ namespace jRandomSkills
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("jammer") + ":", false);
|
SkillUtils.PrintToChat(player, Localization.GetTranslation("jammer") + ":", false);
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("jammer_select_info")}");
|
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("jammer_select_info")}");
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot).ToArray();
|
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).ToArray();
|
||||||
if (enemies.Length > 0)
|
if (enemies.Length > 0)
|
||||||
{
|
{
|
||||||
foreach (var enemy in enemies)
|
foreach (var enemy in enemies)
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ namespace jRandomSkills
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("jumpban") + ":", false);
|
SkillUtils.PrintToChat(player, Localization.GetTranslation("jumpban") + ":", false);
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("jumpban_select_info")}");
|
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("jumpban_select_info")}");
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot).ToArray();
|
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).ToArray();
|
||||||
if (enemies.Length > 0)
|
if (enemies.Length > 0)
|
||||||
{
|
{
|
||||||
foreach (var enemy in enemies)
|
foreach (var enemy in enemies)
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ namespace jRandomSkills
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("lifeswap") + ":", false);
|
SkillUtils.PrintToChat(player, Localization.GetTranslation("lifeswap") + ":", false);
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("lifeswap_select_info")}");
|
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("lifeswap_select_info")}");
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot).ToArray();
|
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).ToArray();
|
||||||
if (enemies.Length > 0)
|
if (enemies.Length > 0)
|
||||||
{
|
{
|
||||||
foreach (var enemy in enemies)
|
foreach (var enemy in enemies)
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ namespace jRandomSkills
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("magnifier") + ":", false);
|
SkillUtils.PrintToChat(player, Localization.GetTranslation("magnifier") + ":", false);
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("magnifier_select_info")}");
|
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("magnifier_select_info")}");
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot).ToArray();
|
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).ToArray();
|
||||||
if (enemies.Length > 0)
|
if (enemies.Length > 0)
|
||||||
{
|
{
|
||||||
foreach (var enemy in enemies)
|
foreach (var enemy in enemies)
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ namespace jRandomSkills
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("moneyswap") + ":", false);
|
SkillUtils.PrintToChat(player, Localization.GetTranslation("moneyswap") + ":", false);
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("moneyswap_select_info")}");
|
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("moneyswap_select_info")}");
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot).ToArray();
|
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).ToArray();
|
||||||
if (enemies.Length > 0)
|
if (enemies.Length > 0)
|
||||||
{
|
{
|
||||||
foreach (var enemy in enemies)
|
foreach (var enemy in enemies)
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ namespace jRandomSkills
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("poison") + ":", false);
|
SkillUtils.PrintToChat(player, Localization.GetTranslation("poison") + ":", false);
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("poison_select_info")}");
|
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("poison_select_info")}");
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot).ToArray();
|
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).ToArray();
|
||||||
if (enemies.Length > 0)
|
if (enemies.Length > 0)
|
||||||
{
|
{
|
||||||
foreach (var enemy in enemies)
|
foreach (var enemy in enemies)
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@ namespace jRandomSkills
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("primaryban") + ":", false);
|
SkillUtils.PrintToChat(player, Localization.GetTranslation("primaryban") + ":", false);
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("primaryban_select_info")}");
|
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("primaryban_select_info")}");
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot).ToArray();
|
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).ToArray();
|
||||||
if (enemies.Length > 0)
|
if (enemies.Length > 0)
|
||||||
{
|
{
|
||||||
foreach (var enemy in enemies)
|
foreach (var enemy in enemies)
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ namespace jRandomSkills
|
||||||
SkillUtils.PrintToChat(player, Localization.GetTranslation("thief") + ":", false);
|
SkillUtils.PrintToChat(player, Localization.GetTranslation("thief") + ":", false);
|
||||||
|
|
||||||
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("thief_select_info")}");
|
player.PrintToChat($" {ChatColors.Green}{Localization.GetTranslation("thief_select_info")}");
|
||||||
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot).ToArray();
|
var enemies = Utilities.GetPlayers().Where(p => p.Team != player.Team && p.IsValid && !p.IsBot && !p.IsHLTV && p.Team != CsTeam.Spectator).ToArray();
|
||||||
if (enemies.Length > 0)
|
if (enemies.Length > 0)
|
||||||
{
|
{
|
||||||
foreach (var enemy in enemies)
|
foreach (var enemy in enemies)
|
||||||
|
|
|
||||||
|
|
@ -140,6 +140,7 @@ namespace jRandomSkills
|
||||||
public bool TeamMateSkillInfo { get; set; }
|
public bool TeamMateSkillInfo { get; set; }
|
||||||
public bool SummaryAfterTheRound { get; set; }
|
public bool SummaryAfterTheRound { get; set; }
|
||||||
public bool DebugMode { get; set; }
|
public bool DebugMode { get; set; }
|
||||||
|
public string? AlternativeSkillButton { get; set; }
|
||||||
public NormalCommand SetSkillCommands { get; set; }
|
public NormalCommand SetSkillCommands { get; set; }
|
||||||
public NormalCommand SkillsListCommands { get; set; }
|
public NormalCommand SkillsListCommands { get; set; }
|
||||||
public NormalCommand UseSkillCommands { get; set; }
|
public NormalCommand UseSkillCommands { get; set; }
|
||||||
|
|
@ -161,6 +162,7 @@ namespace jRandomSkills
|
||||||
TeamMateSkillInfo = true;
|
TeamMateSkillInfo = true;
|
||||||
SummaryAfterTheRound = true;
|
SummaryAfterTheRound = true;
|
||||||
DebugMode = true;
|
DebugMode = true;
|
||||||
|
AlternativeSkillButton = null;
|
||||||
|
|
||||||
SetSkillCommands = new NormalCommand("ustawskill, ustaw_skill, setskill, set_skill, definirhabilidade, configurarhabilidade, 设置技能, 配置技能", "@jRandmosSkills/admin");
|
SetSkillCommands = new NormalCommand("ustawskill, ustaw_skill, setskill, set_skill, definirhabilidade, configurarhabilidade, 设置技能, 配置技能", "@jRandmosSkills/admin");
|
||||||
SkillsListCommands = new NormalCommand("supermoc, skille, listamocy, supermoce, skills, listaHabilidades, habilidades, 技能列表, 超能力列表", "@jRandmosSkills/admin");
|
SkillsListCommands = new NormalCommand("supermoc, skille, listamocy, supermoce, skills, listaHabilidades, habilidades, 技能列表, 超能力列表", "@jRandmosSkills/admin");
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,12 @@ namespace jRandomSkills.src.utils
|
||||||
if (args.Length != 0 && args[0].ToString() == "welcome")
|
if (args.Length != 0 && args[0].ToString() == "welcome")
|
||||||
return translation;
|
return translation;
|
||||||
else
|
else
|
||||||
return string.Format(translation, args).Replace("CHATCOLORS.RED", ChatColors.Red.ToString());
|
{
|
||||||
|
string output = string.Format(translation, args).Replace("CHATCOLORS.RED", ChatColors.Red.ToString());
|
||||||
|
if (Config.LoadedConfig.Settings.AlternativeSkillButton != null)
|
||||||
|
output = output.Replace("css_useSkill", $"css_useSkill/{Config.LoadedConfig.Settings.AlternativeSkillButton}");
|
||||||
|
return output;
|
||||||
|
}
|
||||||
|
|
||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
"TeamMateSkillInfo": true,
|
"TeamMateSkillInfo": true,
|
||||||
"SummaryAfterTheRound": true,
|
"SummaryAfterTheRound": true,
|
||||||
"DebugMode": true,
|
"DebugMode": true,
|
||||||
|
"AlternativeSkillButton": null,
|
||||||
"SetSkillCommands": {
|
"SetSkillCommands": {
|
||||||
"Alias": "ustawskill, ustaw_skill, setskill, set_skill, definirhabilidade, configurarhabilidade, 设置技能, 配置技能",
|
"Alias": "ustawskill, ustaw_skill, setskill, set_skill, definirhabilidade, configurarhabilidade, 设置技能, 配置技能",
|
||||||
"Permissions": "@jRandmosSkills/admin"
|
"Permissions": "@jRandmosSkills/admin"
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -165,9 +165,7 @@
|
||||||
"infiniteammo_desc": "You receive infinite ammo for all your weapons",
|
"infiniteammo_desc": "You receive infinite ammo for all your weapons",
|
||||||
|
|
||||||
"jackal": "Tracker",
|
"jackal": "Tracker",
|
||||||
"jackal_desc": "Choose a player who will leave a trail behind them",
|
"jackal_desc": "Every opponent leaves a trail behind them",
|
||||||
"jackal_player_info": "Player '{0}' will start leaving a trail.",
|
|
||||||
"jackal_select_info": "Choose the player who will leave a trail:",
|
|
||||||
|
|
||||||
"jammer": "Jammer",
|
"jammer": "Jammer",
|
||||||
"jammer_desc": "Choose a player to disable their crosshair",
|
"jammer_desc": "Choose a player to disable their crosshair",
|
||||||
|
|
|
||||||
|
|
@ -165,9 +165,7 @@
|
||||||
"infiniteammo_desc": "Otrzymujesz nieskończoną ilość amunicji do wszystkich broni",
|
"infiniteammo_desc": "Otrzymujesz nieskończoną ilość amunicji do wszystkich broni",
|
||||||
|
|
||||||
"jackal": "Stópkarz",
|
"jackal": "Stópkarz",
|
||||||
"jackal_desc": "Wybierasz gracza, który pozostawi za sobą ślad",
|
"jackal_desc": "Każdy przeciwnik pozostawia za sobą ślad",
|
||||||
"jackal_player_info": "Gracz '{0}' zacznie zostawiać za sobą ślad.",
|
|
||||||
"jackal_select_info": "Wybierz gracza, który pozostawi za sobą ślad:",
|
|
||||||
|
|
||||||
"jammer": "Zakłócacz",
|
"jammer": "Zakłócacz",
|
||||||
"jammer_desc": "Wybierasz gracza, dla którego chcesz wyłączyć celownik",
|
"jammer_desc": "Wybierasz gracza, dla którego chcesz wyłączyć celownik",
|
||||||
|
|
|
||||||
|
|
@ -165,9 +165,7 @@
|
||||||
"infiniteammo_desc": "Você recebe munição infinita para todas as suas armas",
|
"infiniteammo_desc": "Você recebe munição infinita para todas as suas armas",
|
||||||
|
|
||||||
"jackal": "Rastreador",
|
"jackal": "Rastreador",
|
||||||
"jackal_desc": "Escolha um jogador que deixará um rastro atrás dele",
|
"jackal_desc": "Cada adversário deixa um rastro atrás de si",
|
||||||
"jackal_player_info": "O jogador '{0}' começará a deixar um rastro.",
|
|
||||||
"jackal_select_info": "Escolha o jogador que deixará um rastro:",
|
|
||||||
|
|
||||||
"jammer": "Jammer",
|
"jammer": "Jammer",
|
||||||
"jammer_desc": "Escolha um jogador para desativar sua mira",
|
"jammer_desc": "Escolha um jogador para desativar sua mira",
|
||||||
|
|
|
||||||
|
|
@ -165,9 +165,7 @@
|
||||||
"infiniteammo_desc": "你为所有武器获得无限弹药",
|
"infiniteammo_desc": "你为所有武器获得无限弹药",
|
||||||
|
|
||||||
"jackal": "追踪者",
|
"jackal": "追踪者",
|
||||||
"jackal_desc": "选择一个玩家,其身后会留下痕迹",
|
"jackal_desc": "每个对手都会留下痕迹",
|
||||||
"jackal_player_info": "玩家 '{0}' 将开始留下痕迹。",
|
|
||||||
"jackal_select_info": "选择将留下痕迹的玩家:",
|
|
||||||
|
|
||||||
"jammer": "干扰器",
|
"jammer": "干扰器",
|
||||||
"jammer_desc": "选择一个玩家以禁用其准星",
|
"jammer_desc": "选择一个玩家以禁用其准星",
|
||||||
|
|
|
||||||
20
readme-pl.md
20
readme-pl.md
|
|
@ -233,6 +233,13 @@ Wszystkie sypermoce można dostosować w pliku **`Config.cfg`** znajdującym si
|
||||||
"TeamMateSkillInfo": true, // Pokazuj supermoc sojuszników na czacie
|
"TeamMateSkillInfo": true, // Pokazuj supermoc sojuszników na czacie
|
||||||
"SummaryAfterTheRound": true, // Pokazuj podsumowanie z ostatniej rundy
|
"SummaryAfterTheRound": true, // Pokazuj podsumowanie z ostatniej rundy
|
||||||
"DebugMode": true, // Zapisuj aktywność do folderu 'Debug'
|
"DebugMode": true, // Zapisuj aktywność do folderu 'Debug'
|
||||||
|
"AlternativeSkillButton": null, // Możliwe przyciski:
|
||||||
|
// "Attack", "Jump", "Duck", "Forward", "Back",
|
||||||
|
// "Use", "Cancel", "Left", "Right", "Moveleft",
|
||||||
|
// "Moveright", "Attack2", "Run", "Reload", "Alt1",
|
||||||
|
// "Alt2", "Speed", "Walk", "Zoom", "Weapon1",
|
||||||
|
// "Weapon2", "Bullrush", "Grenade1", "Grenade2",
|
||||||
|
// "Attack3", "Scoreboard", "Inspect"
|
||||||
...
|
...
|
||||||
},
|
},
|
||||||
"SkillsInfo": [
|
"SkillsInfo": [
|
||||||
|
|
@ -259,6 +266,19 @@ Plugin korzysta z zawartości następujących projektów:
|
||||||
|
|
||||||
## 📋 Lista Zmian
|
## 📋 Lista Zmian
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>v1.1.3</b></summary>
|
||||||
|
|
||||||
|
- #### Ogólne:
|
||||||
|
- ###### Dodano opcje `AlternativeSkillButton` do pliku konfiguracyjnego, aby przycisk gracza mógł być używany do aktywowania umiejętności.
|
||||||
|
- ###### Obserwatorzy nie są już uwzględniani przy wyborze konkretnego gracza podczas używania umiejętności.
|
||||||
|
- #### Poprawki mocy:
|
||||||
|
- ##### Stópkarz:
|
||||||
|
- ###### Teraz wszyscy przeciwnicy pozostawiają ślad, a nie tylko wybrany.
|
||||||
|
- ##### Mrok:
|
||||||
|
- ###### Wszystkie woluminy postprocessingu są zastępowane, a nie tylko pierwszy z nich.
|
||||||
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><b>v1.1.2</b></summary>
|
<summary><b>v1.1.2</b></summary>
|
||||||
|
|
||||||
|
|
|
||||||
20
readme.md
20
readme.md
|
|
@ -233,6 +233,13 @@ All skills can be customized in the **`Config.cfg`** file located in the **`game
|
||||||
"TeamMateSkillInfo": true, // Show allies' skills in chat
|
"TeamMateSkillInfo": true, // Show allies' skills in chat
|
||||||
"SummaryAfterTheRound": true, // Show summary of the last round
|
"SummaryAfterTheRound": true, // Show summary of the last round
|
||||||
"DebugMode": true, // Write activity to the ‘Debug’ folder
|
"DebugMode": true, // Write activity to the ‘Debug’ folder
|
||||||
|
"AlternativeSkillButton": null, // Possible buttons:
|
||||||
|
// "Attack", "Jump", "Duck", "Forward", "Back",
|
||||||
|
// "Use", "Cancel", "Left", "Right", "Moveleft",
|
||||||
|
// "Moveright", "Attack2", "Run", "Reload", "Alt1",
|
||||||
|
// "Alt2", "Speed", "Walk", "Zoom", "Weapon1",
|
||||||
|
// "Weapon2", "Bullrush", "Grenade1", "Grenade2",
|
||||||
|
// "Attack3", "Scoreboard", "Inspect"
|
||||||
...
|
...
|
||||||
},
|
},
|
||||||
"SkillsInfo": [
|
"SkillsInfo": [
|
||||||
|
|
@ -259,6 +266,19 @@ This plugin uses content from the following projects:
|
||||||
|
|
||||||
## 📋 Changelog
|
## 📋 Changelog
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>v1.1.3</b></summary>
|
||||||
|
|
||||||
|
- #### General:
|
||||||
|
- ###### Added `AlternativeSkillButton` options to the config file so that the player button can be used to activate skills.
|
||||||
|
- ###### Spectators are no longer selected when choosing a specific player when using a skill.
|
||||||
|
- #### Skill improvements:
|
||||||
|
- ##### Jackal:
|
||||||
|
- ###### Now, all opponents are leaving a trail, not just the selected ones.
|
||||||
|
- ##### Darkness:
|
||||||
|
- ###### All postprocessing volumes are replaced instead of just the first one.
|
||||||
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><b>v1.1.2</b></summary>
|
<summary><b>v1.1.2</b></summary>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue