This commit is contained in:
Juzlus 2025-02-25 21:38:43 +01:00
parent 262f618b31
commit fc0d2a3265
18 changed files with 515 additions and 143 deletions

View file

@ -17,7 +17,7 @@ namespace jRandomSkills
public override string ModuleName => "[CS2] [ jRandomSkills ]"; public override string ModuleName => "[CS2] [ jRandomSkills ]";
public override string ModuleAuthor => "D3X, Juzlus"; public override string ModuleAuthor => "D3X, Juzlus";
public override string ModuleDescription => "Plugin adds random skills to the server every round for CS2 by D3X. Modified by Juzlus."; public override string ModuleDescription => "Plugin adds random skills every round for CS2 by D3X. Modified by Juzlus.";
public override string ModuleVersion => "1.0.3"; public override string ModuleVersion => "1.0.3";
public override void Load(bool hotReload) public override void Load(bool hotReload)
@ -71,7 +71,7 @@ namespace jRandomSkills
} }
public uint[] footstepSoundEvents = { 2026488395, 2745524735, 2684452812, 2265091453, 1269567645, 520432428, 3266483468, 1346129716, 2061955732, 2240518199, 2829617974, 1194677450, 1803111098, 3749333696, 29217150, 1692050905, 2207486967, 2633527058, 3342414459, 988265811, 540697918, 1763490157, 3755338324, 3161194970, 3753692454, 3166948458, 3997353267, 3161194970, 3753692454, 3166948458, 3997353267, 809738584, 3368720745, 3295206520, 3184465677, 123085364, 3123711576, 737696412, 1403457606, 1770765328, 892882552, 3023174225, 4163677892, 3952104171, 4082928848, 1019414932, 1485322532, 1161855519, 1557420499, 1163426340, 809738584, 3368720745, 2708661994, 2479376962, 3295206520, 1404198078, 1194093029, 1253503839, 2189706910, 1218015996, 96240187, 1116700262, 84876002, 1598540856, 2231399653 }; public uint[] footstepSoundEvents = { 2026488395, 2745524735, 2684452812, 2265091453, 1269567645, 520432428, 3266483468, 1346129716, 2061955732, 2240518199, 2829617974, 1194677450, 1803111098, 3749333696, 29217150, 1692050905, 2207486967, 2633527058, 3342414459, 988265811, 540697918, 1763490157, 3755338324, 3161194970, 3753692454, 3166948458, 3997353267, 3161194970, 3753692454, 3166948458, 3997353267, 809738584, 3368720745, 3295206520, 3184465677, 123085364, 3123711576, 737696412, 1403457606, 1770765328, 892882552, 3023174225, 4163677892, 3952104171, 4082928848, 1019414932, 1485322532, 1161855519, 1557420499, 1163426340, 809738584, 3368720745, 2708661994, 2479376962, 3295206520, 1404198078, 1194093029, 1253503839, 2189706910, 1218015996, 96240187, 1116700262, 84876002, 1598540856, 2231399653 };
public uint[] silentSoundEvents = { 740474905, 1661204257, 3009312615, 1506215040, 115843229, 3299941720, 1016523349, 2684452812, 2067683805, 2067683805, 1016523349, 4160462271, 1543118744, 585390608, 3802757032, 2302139631, 2546391140, 144629619, 4152012084, 4113422219, 1627020521, 2899365092, 819435812, 3218103073, 961838155, 1535891875, 1826799645, 3460445620, 1818046345, 3666896632, 3099536373, 1440734007, 1409986305, 1939055066, 782454593, 4074593561, 1540837791, 3257325156 }; public uint[] silentSoundEvents = { 117596568, 117596568, 740474905, 1661204257, 3009312615, 1506215040, 115843229, 3299941720, 1016523349, 2684452812, 2067683805, 2067683805, 1016523349, 4160462271, 1543118744, 585390608, 3802757032, 2302139631, 2546391140, 144629619, 4152012084, 4113422219, 1627020521, 2899365092, 819435812, 3218103073, 961838155, 1535891875, 1826799645, 3460445620, 1818046345, 3666896632, 3099536373, 1440734007, 1409986305, 1939055066, 782454593, 4074593561, 1540837791, 3257325156 };
} }
public class dSkill_PlayerInfo public class dSkill_PlayerInfo

View file

@ -5,7 +5,7 @@
"astronaut_desc": "You receive a random gravity value at the start of the round", "astronaut_desc": "You receive a random gravity value at the start of the round",
"astronaut_desc2": "Your random gravity is: {0}x", "astronaut_desc2": "Your random gravity is: {0}x",
"richboy_desc": "You receive a random amount of money at the start of the round", "richboy_desc": "You receive a random amount of money at the start of the round",
"bunnyhop_desc": "You get auto BunnyHop", "bunnyhop_desc": "You get auto \"BunnyHop\"",
"silent_desc": "Your footsteps and jumps are silent to OTHER players", "silent_desc": "Your footsteps and jumps are silent to OTHER players",
"shade_desc": "You teleport behind the back of a hit enemy", "shade_desc": "You teleport behind the back of a hit enemy",
"dracula_desc": "Hitting an enemy restores a percentage of the damage dealt as health", "dracula_desc": "Hitting an enemy restores a percentage of the damage dealt as health",
@ -48,7 +48,7 @@
"quickshot_desc": "No cooldown when shooting", "quickshot_desc": "No cooldown when shooting",
"teleporter_desc": "You swap places with the hit enemy", "teleporter_desc": "You swap places with the hit enemy",
"wallhack_desc": "You can see enemies through walls", "wallhack_desc": "You can see enemies through walls",
"killer_flash_desc": "Every enemy fully blinded by your flashbang dies (including you)", "killerflash_desc": "Every enemy fully blinded by your flashbang dies (including you)",
"weaponsswap_desc": "Swap weapons with a random enemy. Press [css_useSkill], cooldown 30s", "weaponsswap_desc": "Swap weapons with a random enemy. Press [css_useSkill], cooldown 30s",
"weaponsswap_hud_info2": "You have no weapon to swap", "weaponsswap_hud_info2": "You have no weapon to swap",
"hud_info_no_enemy": "No enemy found", "hud_info_no_enemy": "No enemy found",
@ -93,7 +93,7 @@
"radarhack": "Radar Hack", "radarhack": "Radar Hack",
"quickshot": "Quick-Shot", "quickshot": "Quick-Shot",
"planter": "Planter", "planter": "Planter",
"silent": "Silent Shadow", "silent": "Silent",
"frozendecoy": "Freezing Decoy", "frozendecoy": "Freezing Decoy",
"timemanipulator": "Time Slow", "timemanipulator": "Time Slow",
"godmode": "God Mode", "godmode": "God Mode",
@ -119,7 +119,7 @@
"catapult": "Catapult", "catapult": "Catapult",
"dracula": "Dracula", "dracula": "Dracula",
"teleporter": "Teleporter", "teleporter": "Teleporter",
"saper": "Saper", "saper": "Sapper",
"phoenix": "Phoenix", "phoenix": "Phoenix",
"pilot": "Pilot", "pilot": "Pilot",
"shade": "Shade", "shade": "Shade",

View file

@ -5,7 +5,7 @@
"astronaut_desc": "Otrzymujesz losową ilość grawitacji na start rundy", "astronaut_desc": "Otrzymujesz losową ilość grawitacji na start rundy",
"astronaut_desc2": "Twoja losowa grawitacja wynosi: {0}x", "astronaut_desc2": "Twoja losowa grawitacja wynosi: {0}x",
"richboy_desc": "Otrzymujesz losową ilość kasy na start rundy", "richboy_desc": "Otrzymujesz losową ilość kasy na start rundy",
"bunnyhop_desc": "Otrzymujesz auto BunnyHopa", "bunnyhop_desc": "Otrzymujesz auto \"BunnyHopa\"",
"silent_desc": "Twoje kroki i skoki są niesłyszalne dla INNYCH graczy", "silent_desc": "Twoje kroki i skoki są niesłyszalne dla INNYCH graczy",
"shade_desc": "Teleportujesz się za plecy trafionego wroga", "shade_desc": "Teleportujesz się za plecy trafionego wroga",
"dracula_desc": "Po trafieniu ofiary otrzymujesz zwrot zdrowia w postaci danego procentu zadanych obrażeń", "dracula_desc": "Po trafieniu ofiary otrzymujesz zwrot zdrowia w postaci danego procentu zadanych obrażeń",
@ -48,7 +48,7 @@
"quickshot_desc": "Brak cooldown przy strzelaniu", "quickshot_desc": "Brak cooldown przy strzelaniu",
"teleporter_desc": "Zamieniasz się miejscami z trafionym wrogiem", "teleporter_desc": "Zamieniasz się miejscami z trafionym wrogiem",
"wallhack_desc": "Widzisz wrogów przez ściany", "wallhack_desc": "Widzisz wrogów przez ściany",
"killer_flash_desc": "Każdy całkowicie oślepiony twoim granatem umiera (również ty)", "killerflash_desc": "Każdy całkowicie oślepiony twoim granatem umiera (również ty)",
"weaponsswap_desc": "Zamieniasz się bronią z losowym wrogiem. Kliknij [css_useSkill], cooldown 30s", "weaponsswap_desc": "Zamieniasz się bronią z losowym wrogiem. Kliknij [css_useSkill], cooldown 30s",
"weaponsswap_hud_info2": "Nie posiadasz broni na zamiane", "weaponsswap_hud_info2": "Nie posiadasz broni na zamiane",
"hud_info_no_enemy": "Nie znaleziono przeciwnika", "hud_info_no_enemy": "Nie znaleziono przeciwnika",

View file

@ -35,6 +35,9 @@ namespace jRandomSkills
if (attackerPawn == null || attackerPawn.Controller?.Value == null || victimPawn == null || victimPawn.Controller?.Value == null) if (attackerPawn == null || attackerPawn.Controller?.Value == null || victimPawn == null || victimPawn.Controller?.Value == null)
return HookResult.Continue; return HookResult.Continue;
if (attackerPawn.DesignerName != "player" || victimPawn.DesignerName != "player")
return HookResult.Continue;
CCSPlayerController attacker = attackerPawn.Controller.Value.As<CCSPlayerController>(); CCSPlayerController attacker = attackerPawn.Controller.Value.As<CCSPlayerController>();
CCSPlayerController victim = victimPawn.Controller.Value.As<CCSPlayerController>(); CCSPlayerController victim = victimPawn.Controller.Value.As<CCSPlayerController>();

View file

@ -67,6 +67,9 @@ namespace jRandomSkills
if (attackerPawn == null || attackerPawn.Controller?.Value == null || victimPawn == null || victimPawn.Controller?.Value == null) if (attackerPawn == null || attackerPawn.Controller?.Value == null || victimPawn == null || victimPawn.Controller?.Value == null)
return HookResult.Continue; return HookResult.Continue;
if (attackerPawn.DesignerName != "player" || victimPawn.DesignerName != "player")
return HookResult.Continue;
CCSPlayerController attacker = attackerPawn.Controller.Value.As<CCSPlayerController>(); CCSPlayerController attacker = attackerPawn.Controller.Value.As<CCSPlayerController>();
CCSPlayerController victim = victimPawn.Controller.Value.As<CCSPlayerController>(); CCSPlayerController victim = victimPawn.Controller.Value.As<CCSPlayerController>();

View file

@ -1,4 +1,4 @@
using CounterStrikeSharp.API.Core; using CounterStrikeSharp.API.Core;
using CounterStrikeSharp.API.Modules.Memory; using CounterStrikeSharp.API.Modules.Memory;
using CounterStrikeSharp.API.Modules.Memory.DynamicFunctions; using CounterStrikeSharp.API.Modules.Memory.DynamicFunctions;
using jRandomSkills.src.player; using jRandomSkills.src.player;
@ -33,18 +33,18 @@ namespace jRandomSkills
if (attackerPawn == null || attackerPawn.Controller?.Value == null || victimPawn == null || victimPawn.Controller?.Value == null) if (attackerPawn == null || attackerPawn.Controller?.Value == null || victimPawn == null || victimPawn.Controller?.Value == null)
return HookResult.Continue; return HookResult.Continue;
if (attackerPawn.DesignerName != "player" || victimPawn.DesignerName != "player")
return HookResult.Continue;
CCSPlayerController attacker = attackerPawn.Controller.Value.As<CCSPlayerController>(); CCSPlayerController attacker = attackerPawn.Controller.Value.As<CCSPlayerController>();
CCSPlayerController victim = victimPawn.Controller.Value.As<CCSPlayerController>(); CCSPlayerController victim = victimPawn.Controller.Value.As<CCSPlayerController>();
var playerInfo = Instance.skillPlayer.FirstOrDefault(p => p.SteamID == attacker.SteamID); var playerInfo = Instance.skillPlayer.FirstOrDefault(p => p.SteamID == attacker.SteamID);
if (playerInfo == null) return HookResult.Continue; if (playerInfo == null) return HookResult.Continue;
if (playerInfo.Skill == skillName && attacker.PawnIsAlive)
{
param2.Damage = 1000f;
}
return HookResult.Continue; if (playerInfo.Skill == skillName && attacker.PawnIsAlive)
param2.Damage = 1000f;
return HookResult.Changed;
} }
} }
} }

View file

@ -23,7 +23,7 @@ namespace jRandomSkills
var userIndex = um.ReadUInt("source_entity_index"); var userIndex = um.ReadUInt("source_entity_index");
if (userIndex == 0) return HookResult.Continue; if (userIndex == 0) return HookResult.Continue;
if (!Instance.footstepSoundEvents.Contains(soundevent) && !Instance.silentSoundEvents.Contains(soundevent)) if (!Instance.footstepSoundEvents.Contains(soundevent) && !Instance.silentSoundEvents.Contains(soundevent))
return HookResult.Continue; return HookResult.Continue;

View file

@ -42,7 +42,11 @@ namespace jRandomSkills
public static void EnableSkill(CCSPlayerController player) public static void EnableSkill(CCSPlayerController player)
{ {
var playerInfo = Instance.skillPlayer.FirstOrDefault(p => p.SteamID == player.SteamID); var playerInfo = Instance.skillPlayer.FirstOrDefault(p => p.SteamID == player.SteamID);
float newScale = (float)Instance.Random.NextDouble() * (1.35f - 1.15f) + 1.15f;
var skillConfig = Config.config.SkillsInfo.FirstOrDefault(s => s.Name == skillName.ToString());
if (skillConfig == null) return;
float newScale = (float)Instance.Random.NextDouble() * (skillConfig.ChanceTo - skillConfig.ChanceFrom) + skillConfig.ChanceFrom;
playerInfo.SkillChance = newScale; playerInfo.SkillChance = newScale;
newScale = (float)Math.Round(newScale, 2); newScale = (float)Math.Round(newScale, 2);
Utils.PrintToChat(player, $"{ChatColors.DarkRed}{Localization.GetTranslation("soldier")}{ChatColors.Lime}: " + Localization.GetTranslation("soldier_desc2", newScale), false); Utils.PrintToChat(player, $"{ChatColors.DarkRed}{Localization.GetTranslation("soldier")}{ChatColors.Lime}: " + Localization.GetTranslation("soldier_desc2", newScale), false);
@ -62,6 +66,9 @@ namespace jRandomSkills
if (attackerPawn == null || attackerPawn.Controller?.Value == null || victimPawn == null || victimPawn.Controller?.Value == null) if (attackerPawn == null || attackerPawn.Controller?.Value == null || victimPawn == null || victimPawn.Controller?.Value == null)
return HookResult.Continue; return HookResult.Continue;
if (attackerPawn.DesignerName != "player" || victimPawn.DesignerName != "player")
return HookResult.Continue;
CCSPlayerController attacker = attackerPawn.Controller.Value.As<CCSPlayerController>(); CCSPlayerController attacker = attackerPawn.Controller.Value.As<CCSPlayerController>();
CCSPlayerController victim = victimPawn.Controller.Value.As<CCSPlayerController>(); CCSPlayerController victim = victimPawn.Controller.Value.As<CCSPlayerController>();

View file

@ -127,14 +127,6 @@ namespace jRandomSkills
player.PrintToCenterHtml(hudContent); player.PrintToCenterHtml(hudContent);
} }
private static void ActiveUse(CCSPlayerController player)
{
if (SkillPlayerInfo.TryGetValue(player.SteamID, out var skillInfo))
{
skillInfo.CanUse = true;
}
}
private static void UseSkill(CCSPlayerController player) private static void UseSkill(CCSPlayerController player)
{ {
var playerPawn = player.PlayerPawn.Value; var playerPawn = player.PlayerPawn.Value;

View file

@ -115,14 +115,6 @@ namespace jRandomSkills
player.PrintToCenterHtml(hudContent); player.PrintToCenterHtml(hudContent);
} }
private static void ActiveUse(CCSPlayerController player)
{
if (SkillPlayerInfo.TryGetValue(player.SteamID, out var skillInfo))
{
skillInfo.CanUse = true;
}
}
private static void UseSkill(CCSPlayerController player) private static void UseSkill(CCSPlayerController player)
{ {
var playerPawn = player.PlayerPawn.Value; var playerPawn = player.PlayerPawn.Value;
@ -136,8 +128,13 @@ namespace jRandomSkills
skillInfo.CanUse = false; skillInfo.CanUse = false;
skillInfo.Cooldown = DateTime.Now; skillInfo.Cooldown = DateTime.Now;
Server.ExecuteCommand("sv_cheats 1");
Server.ExecuteCommand("host_timescale 0.1"); Server.ExecuteCommand("host_timescale 0.1");
Instance.AddTimer(.6f, () => Server.ExecuteCommand("host_timescale 1")); Instance.AddTimer(.6f, () =>
{
Server.ExecuteCommand("host_timescale 1");
Server.ExecuteCommand("sv_cheats 0");
});
} }
else else
skillInfo.LastClick = DateTime.Now; skillInfo.LastClick = DateTime.Now;

View file

@ -75,7 +75,7 @@ namespace jRandomSkills
new SkillInfo(Skills.Dwarf, chanceFrom : .6f, chanceTo : .95f), new SkillInfo(Skills.Dwarf, chanceFrom : .6f, chanceTo : .95f),
new SkillInfo(Skills.SwapPosition, cooldown: 30), new SkillInfo(Skills.SwapPosition, cooldown: 30),
new SkillInfo(Skills.FrozenDecoy), new SkillInfo(Skills.FrozenDecoy),
new SkillInfo(Skills.Soldier), new SkillInfo(Skills.Soldier, chanceFrom: 1.15f, chanceTo: 1.35f),
new SkillInfo(Skills.Armored, chanceFrom : .65f, chanceTo : .85f), new SkillInfo(Skills.Armored, chanceFrom : .65f, chanceTo : .85f),
new SkillInfo(Skills.Aimbot, only1v1: true), new SkillInfo(Skills.Aimbot, only1v1: true),
new SkillInfo(Skills.Retreat, cooldown: 15), new SkillInfo(Skills.Retreat, cooldown: 15),

View file

@ -40,8 +40,8 @@
"Name": "Soldier", "Name": "Soldier",
"Active": true, "Active": true,
"Cooldown": 15.0, "Cooldown": 15.0,
"ChanceFrom": 1.0, "ChanceFrom": 1.15,
"ChanceTo": 1.0, "ChanceTo": 1.35,
"Team": 1, "Team": 1,
"Only1v1": false "Only1v1": false
}, },
@ -400,7 +400,7 @@
"Settings": { "Settings": {
"LangCode": "en", "LangCode": "en",
"Set_Skill": "ustawskill, setskill", "Set_Skill": "ustawskill, setskill",
"SkillsList_Menu": "supermoc, skille, listamocy, supermoce, losowemoce", "SkillsList_Menu": "supermoc, skills, listamocy, supermoce, losowemoce",
"KillerSkillInfo": true, "KillerSkillInfo": true,
"TeamMateSkillInfo": true, "TeamMateSkillInfo": true,
"SummaryAfterTheRound": true "SummaryAfterTheRound": true

View file

@ -5,7 +5,7 @@
"astronaut_desc": "You receive a random gravity value at the start of the round", "astronaut_desc": "You receive a random gravity value at the start of the round",
"astronaut_desc2": "Your random gravity is: {0}x", "astronaut_desc2": "Your random gravity is: {0}x",
"richboy_desc": "You receive a random amount of money at the start of the round", "richboy_desc": "You receive a random amount of money at the start of the round",
"bunnyhop_desc": "You get auto BunnyHop", "bunnyhop_desc": "You get auto \"BunnyHop\"",
"silent_desc": "Your footsteps and jumps are silent to OTHER players", "silent_desc": "Your footsteps and jumps are silent to OTHER players",
"shade_desc": "You teleport behind the back of a hit enemy", "shade_desc": "You teleport behind the back of a hit enemy",
"dracula_desc": "Hitting an enemy restores a percentage of the damage dealt as health", "dracula_desc": "Hitting an enemy restores a percentage of the damage dealt as health",
@ -93,7 +93,7 @@
"radarhack": "Radar Hack", "radarhack": "Radar Hack",
"quickshot": "Quick-Shot", "quickshot": "Quick-Shot",
"planter": "Planter", "planter": "Planter",
"silent": "Silent Shadow", "silent": "Silent",
"frozendecoy": "Freezing Decoy", "frozendecoy": "Freezing Decoy",
"timemanipulator": "Time Slow", "timemanipulator": "Time Slow",
"godmode": "God Mode", "godmode": "God Mode",
@ -119,7 +119,7 @@
"catapult": "Catapult", "catapult": "Catapult",
"dracula": "Dracula", "dracula": "Dracula",
"teleporter": "Teleporter", "teleporter": "Teleporter",
"saper": "Saper", "saper": "Sapper",
"phoenix": "Phoenix", "phoenix": "Phoenix",
"pilot": "Pilot", "pilot": "Pilot",
"shade": "Shade", "shade": "Shade",

View file

@ -5,7 +5,7 @@
"astronaut_desc": "Otrzymujesz losową ilość grawitacji na start rundy", "astronaut_desc": "Otrzymujesz losową ilość grawitacji na start rundy",
"astronaut_desc2": "Twoja losowa grawitacja wynosi: {0}x", "astronaut_desc2": "Twoja losowa grawitacja wynosi: {0}x",
"richboy_desc": "Otrzymujesz losową ilość kasy na start rundy", "richboy_desc": "Otrzymujesz losową ilość kasy na start rundy",
"bunnyhop_desc": "Otrzymujesz auto BunnyHopa", "bunnyhop_desc": "Otrzymujesz auto \"BunnyHopa\"",
"silent_desc": "Twoje kroki i skoki są niesłyszalne dla INNYCH graczy", "silent_desc": "Twoje kroki i skoki są niesłyszalne dla INNYCH graczy",
"shade_desc": "Teleportujesz się za plecy trafionego wroga", "shade_desc": "Teleportujesz się za plecy trafionego wroga",
"dracula_desc": "Po trafieniu ofiary otrzymujesz zwrot zdrowia w postaci danego procentu zadanych obrażeń", "dracula_desc": "Po trafieniu ofiary otrzymujesz zwrot zdrowia w postaci danego procentu zadanych obrażeń",

BIN
preview.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 MiB

244
readme-pl.md Normal file
View file

@ -0,0 +1,244 @@
## 📌 Oznaczenie
> [!NOTE]
> Te repozytorium jest to fork [projektu](https://github.com/jakubbartosik/dRandomSkills) stworzonego przez [Jakuba Bartosika (D3X)](https://github.com/jakubbartosik).
## 💡 Opis
#### Co każdą rundę dostajesz losową supermoc. Plugin zrobiony pod CS2.
<div align="center">
<a href="https://GitHub.com/Juzlus/jRandomSkills/releases/"><img alt="GitHub release" src="https://img.shields.io/github/release/Juzlus/jRandomSkills.svg?style=social"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://GitHub.com/Juzlus/jRandomSkills/commit/"><img alt="GitHub latest commit" src="https://img.shields.io/github/last-commit/Juzlus/jRandomSkills.svg?style=social&logo=github"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://GitHub.com/Juzlus/jRandomSkills/releases/"><img alt="Github all releases" src="https://img.shields.io/github/downloads/Juzlus/jRandomSkills/total.svg?style=social"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://GitHub.com/Juzlus/jRandomSkills/stargazers/"><img alt="GitHub stars" src="https://img.shields.io/github/stars/Juzlus/jRandomSkills.svg?style=social"></a>
</div>
#### Wybierz język:
<a href="./readme-pl.md">
<img width="50px" src="https://upload.wikimedia.org/wikipedia/en/thumb/1/12/Flag_of_Poland.svg/1920px-Flag_of_Poland.svg.png">
</a>
<a href="./readme.md">
<img width="50px" src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Flag_of_the_United_Kingdom_%281-2%29.svg/1920px-Flag_of_the_United_Kingdom_%281-2%29.svg.png">
</a>
## ✨ Aktualne Supermoce (43)
> [!NOTE]
> Jeśli serwer jest postawiony na systemie **Windows** mogą wystąpić problemy z supormecami: Aimbot, Gruby, Żołnierz, Jednostrzałowiec
- **Zamrażający Decoy:** Twój decoy zamraża wszystkich pobliskich graczy
- **Żołnierz:** Masz losowy mnożnik obrażeń (1.15 - 1.35)x
- **Gruby:** Masz losowy mnożnik otrzymywanych obrażeń (0.65 - 0.85)x
- **Aimbot:** Każdy twój trafiony pocisk jest liczony jako głowa
- **Odwrót:** Powrót na spawna. Kliknij [css_useSkill], cooldown 15s
- **Resp Wroga:** Teleportacja na spawn wroga. Kliknij [css_useSkill], cooldown 15s
- **Zeus:** Zeus x27 natychmiastowo się odnawia
- **Radarowiec:** Widzisz wrogów na radarze
- **Szybkostrzelność:** Brak cooldown przy strzelaniu
- **Samowolka:** Możesz podłożyć bombę w dowolnym miejscu, czas detonacji bomby trwa 60s
- **Cichociemny:** Twoje kroki i skoki są niesłyszalne dla INNYCH graczy
- **Zabójczy Flash:** Każdy całkowicie oślepiony twoim granatem umiera (również ty)
- **Spowlnienie Czasu:** Spowolnienie czasu dla wszystkich na 6 sekundy. Kliknij [css_useSkill], cooldown 30s
- **Nieśmiertelność:** Jesteś nieśmiertelny przez 2 sekundy. Kliknij [css_useSkill], cooldown 30s
- **Losowa Broń:** Dostajesz losową broń. Kliknij [css_useSkill], cooldown 15s
- **Zamiana Broni:** Zamieniasz się bronią z losowym wrogiem. Kliknij [css_useSkill], cooldown 30s
- **Wallhack:** Widzisz wrogów przez ściany
- **Zamiana Miejsc:** Zamiana miejscami z losowym wrogiem. Kliknij [css_useSkill], cooldown 30s
- **Mini Majk:** Losowa wielkość postaci na początku rundy (0.6 - 0.95)
- **Flash:** Losowa prędkośc postaci na początku rundy (1.2 - 3.0)
- **Paweł Jumper:** Otrzymujesz dodatkowy skok
- **Królik:** Otrzymujesz auto "BunnyHopa"
- **Szpieg:** Otrzymujesz na start rundy model postaci wroga
- **Jednostrzałowiec:** Po trafieniu od razu zabija przeciwnika
- **Muhammed:** Po śmierci wybucha i zabija graczy w obrębie
- **Bogacz:** Otrzymujesz losową ilość kasy na start rundy (+5000 - +14999)
- **Rambo:** Otrzymujesz losową ilość zdrowia na start rundy (+50 - +500)
- **Medyk:** Otrzymujesz losową ilość apteczek na start rundy (1 - 4)
- **Duszek:** Jesteś całkowicie niewidzialny
- **Kurczak:** Otrzymujesz model kurczaka + jesteś o 10% szybszy - 50hp
- **Astronauta:** Otrzymujesz losową ilość grawitacji na start rundy (0.1 - 0.7)x
- **Rozbrojenie:** Masz losową szanse na wyrzucenie broni wroga po trafieniu (20% - 40%)
- **Anty Flash:** Posiadasz odporność na flashe i 7 sekund trwają twoje flash'e
- **Obrót Wroga:** Masz losową szanse na obrócenie wroga o 180 stopni po trafieniu (20% - 40%)
- **Nieskończone Ammo:** Otrzymujesz nieskończoną ilość ammo do wszystkich swoich broni
- **Katapulta:** Masz losową szanse na podrzucenie wroga (20% - 40%)
- **Drakula:** Po trafieniu ofiary otrzymujesz zwrot zdrowia w postaci danego procentu zadanych obrażeń (0.3x)
- **Teleporter:** Zamieniasz się miejscami z trafionym wrogiem
- **Saper:** Możesz szybciej podłożyć bombę oraz ją zdefować
- **Phoenix:** Masz losową szans na odrodzenie się po śmierci
- **Pilot:** Latanie przez określony czas. Przytrzymaj [USE - E], aby latać
- **Cień:** Teleportujesz się za plecy trafionego wroga
- **Żelazna Głowa:** Nie otrzymujesz obrażeń w głowę
## </> Komendy Serwerowe
> [!TIP]
> **Bind do używania supermocy:** `bind x css_useSkill`
- **Lista supermocy:** `!skills`
- **Ustawienie supermocy$^1$:** `!setskill <nickname> <skill>`, `!setskill Juzlus Losowa Broń`
$\quad$
- **Zmiana mapy$^1$:** `!map <nazwa_mapy>`, `!map de_nuke`
- **Zmiana mapy z warsztatu$^1$:** `!map <id_mapy>`, `!map 3332005394`
- **Szybkie rozpoczęcie gry$^1$:** `!map start`
_$^1$ - wymaga uprawnień "@css/root", które można ustawić w game/csgo/addons/counterstrikesharp/configs/admins.json_
## ⚙️ Konfiguracja
Możliwość prostej konfiguracji każdej supermocy w pliku "**Config.cfg**"
```json
{
"SkillsInfo": [
{
"Name": "None", // Nazwa supermocy
"Active": true, // Czy supermoc ma być włączona przy uruchamianiu
"Cooldown": 30.0, // Ile trzeba odczekać przed następnym użyciem supermocy
"ChanceFrom": 1.0, // Minimalny mnożnik dla danych supermocy
"ChanceTo": 1.0, // Maksymalny mnożnik dla danych supermocy
"Team": 1, // Która drużyna może użyć tej supermocy
// 1 - Wszyscy
// 2 - Terrorist
// 3 - CounterTerrorist
"Only1v1": false // Supermoc działa tylko, gdy jesteś sam w drużynie
},
...
],
"Settings": {
"LangCode": "en", // Wybierz język pluginu: en, pl
"Set_Skill": "ustawskill, setskill",
"SkillsList_Menu": "supermoc, skills, listamocy, supermoce, losowemoce",
"KillerSkillInfo": true, // Wyświetl na czacie informacje o supermocy twojego zabójcy
"TeamMateSkillInfo": true, // Wyświetl na czacie informacje o supermocach twoich sojuszników
"SummaryAfterTheRound": true // Wyświetl na czacie podsumowanie z ostatniej rundy
}
}
```
## 💻 Instalacja
1. Zainstaluj / Kup **serwer CS2**
- Dobry poradnik jak stworzyć własny serwer CS2 [[Film]](https://www.youtube.com/watch?v=1ZrEn0CiMi4&ab_channel=TroubleChute), [[Strona]](https://hub.tcno.co/games/cs2/dedicated_server/).
2. Zainstaluj **Metamod**
- Pobierz [Metamod:Source 2.x](https://www.sourcemm.net/downloads.php/?branch=master)
- Wypakuj go do folderu `C2Server/game/csgo/`
- Edytuj plik `gameinfo.gi` dodając nową linijkę
```json
Game_LowViolence csgo_lv // Perfect World content override
Game csgo/addons/metamod // <-- Linijka do dodania
Game csgo
```
3. Zainstaluj **CounterStrikeSharp**
- Pobierz [CounterStrikeSharp-With-Runtime](https://github.com/roflmuffin/CounterStrikeSharp/releases)
- Wypakuj go do folderu `C2Server/game/csgo/`
4. Zainstaluj **jRandomSkills**
- Pobierz [jRandomSkills](https://github.com/Juzlus/jRandomSkills/releases)
- Wypakuj go do folderu `C2Server/game/csgo/addons/counterstrikesharp/plugins/`
## 🖼️ Prezentacja Pluginu
![Preview](./preview.gif)
## 📋 Lista Zmian
### v1.0.3 (by Juzlus)
- #### Ogólne:
- ###### Dodano język angielski.
- ###### Dodano wiadomość powitalną.
- ###### Dodano podsumowanie z ostatniej rundy.
- ###### Dodano podgląd supermocy obserwowanego gracza.
- ###### Zabklokowano możliwość posiadania tej samej supermocy dwa razy pod rząd.
- ###### Dodano prostą konfigurację dla każdej supermocy.
- ###### Przerobiono wszystkie supermoce aby można manipulować nimi w każdej chwili (Naprawiono komendy do ustawiania supermocy).
- ###### Zmieniono aktywację supermocy na bind css_useSkill.
- #### Nowe moce:
- ##### Zamrażający Decoy
- ###### Twój decoy zamraża wszystkich pobliskich graczy.
- ##### Żołnierz:
- ###### Masz losowy mnożnik obrażeń (1.15 - 1.35)x.
- ##### Gruby:
- ###### Masz losowy mnożnik otrzymywanych obrażeń (0.65 - 0.85)x.
- ##### Aimbot:
- ###### Każdy twój trafiony pocisk jest liczony jako głowa.
- ##### Odwrót:
- ###### Powrót na spawna. Kliknij [css_useSkill], cooldown 15s.
- ##### Resp Wroga:
- ###### Teleportacja na spawn wroga. Kliknij [css_useSkill], cooldown 15s.
- ##### Zeus:
- ###### Zeus x27 natychmiastowo się odnawia.
- ##### Radarowiec:
- ###### Widzisz wrogów na radarze.
- ##### Szybkostrzelność:
- ###### Brak cooldown przy strzelaniu.
- ##### Samowolka:
- ###### Możesz podłożyć bombę w dowolnym miejscu, czas detonacji bomby trwa 60s.
- ##### Cichociemny:
- ###### Twoje kroki i skoki są niesłyszalne dla INNYCH graczy.
- ##### Zabójczy Flash:
- ###### Każdy całkowicie oślepiony twoim granatem umiera (również ty).
- ##### Spowlnienie Czasu:
- ###### Spowolnienie czasu dla wszystkich na 6 sekundy. Kliknij [css_useSkill], cooldown 30s.
- ##### Nieśmiertelność:
- ###### Jesteś nieśmiertelny przez 2 sekundy. Kliknij [css_useSkill], cooldown 30s.
- ##### Losowa Broń:
- ###### Dostajesz losową broń. Kliknij [css_useSkill], cooldown 15s.
- ##### Zamiana Broni:
- ###### Zamieniasz się bronią z losowym wrogiem. Kliknij [css_useSkill], cooldown 30s.
- #### Poprawki mocy:
- ##### Saper:
- ###### Naprawiono bład z natychmiastowym podkładaniem bomby jak ktokolwiek na serwerze miał moc 'Saper'.
- ##### Duszek:
- ###### Naprawiono bycie niewidzialnym po śmierci.
- ###### Drobne poprawki dla reszty mocy.
### v1.0.2 (by Juzlus)
- #### Nowe moce:
- ##### Mini Majk:
- ###### Losowa wielkość postaci w przedziale (60% - 95%).
- ##### Zamiana Miejsc:
- ###### Zamiana miejscami z losowym wrogiem, po kliknięciu przyciska [css_useSkill]. Cooldown to 30s.
- #### Poprawki mocy:
- ##### Anty Flash:
- ###### Dodano: Twoje flash'e trwają dłużej (7s).
- ##### Astronauta:
- ###### Zmieniono: Mnożnik grawitacji z (0.2 - 0.7) na (0.1 - 0.7).
- ###### Dodano: Gracz widzi teraz mnożnik swojej grawitacji na czacie.
- ##### Drakula:
- ###### Zmieniono: Drakula od teraz może mieć nadwyżkę zdrowia.
- ##### Duszek:
- ###### Dodano: Zabklokowanie korzystania z broni innej niż nóż.
- ###### Dodano: Każda podniesiona broń przez duszka staje się niewidzialna.
- ##### Flash:
- ###### Naprawiono nie dostawanie prędkości.
- ###### Zmieniono: Mnożnik prędkości z (1.2 - 2.5) na (1.2 - 3.0).
- ###### Dodano: Gracz widzi teraz mnożnik swojej prędkości na czacie.
- ##### Katapulta:
- ###### Dodano: Losowe szanse na podrzucenie (20% - 40%).
- ###### Dodano: Gracz widzi teraz swoje szanse na czacie.
- ##### Kurczak:
- ###### Naprawiono nie dostawanie modelu kurczaka.
- ###### Dodano: Zabklokowanie korzystania z broni innej niż nóż lub pistolet.
- ###### Dodano: Kurczak może posiadać tylko 50 hp.
- ##### Medyk:
- ###### Naprawiono nie dostawanie apteczek.
- ###### Zmieniono: Od teraz wszyscy tracą apteczki na końcu rundy.
- ##### Nieskończone Ammo:
- ###### Dodano: Od teraz granaty również są nieskończone.
- ##### Obrót Wroga:
- ###### Dodano: Losowe szanse na obrót wroga (20% - 40%).
- ###### Dodano: Gracz widzi teraz swoje szanse na czacie.
- ##### Phoenix:
- ###### Naprawiono nie odradzanie się po śmierci.
- ###### Dodano: Losowe szanse na odrodzenie (20% - 40%).
- ###### Dodano: Gracz widzi teraz swoje szanse na czacie.
- ##### Pilot:
- ###### Zmieniono: Poprawiono opis supermocy.
- ##### Rambo:
- ###### Naprawiono nie dostawanie dodatkowego życia.
- ##### Rozbrojenie:
- ###### Dodano: Losowe szanse na wyrzucenie broni wroga (20% - 40%).
- ###### Dodano: Gracz widzi teraz swoje szanse na czacie.
- ###### Zmieniono: Wyrzuca teraz tylko aktywną broń wroga (naprawiono błąd wyrzucenia kosy).
- ##### Eliminator -> Saper:
- ###### Zmieniono: Zmineiono nazwę mocy z 'Eliminator' na 'Saper'.
- ##### Teleporter:
- ###### Naprawiono błąd, gdzie tylko gracz z supermocą był przeteleportowywany.
## 📝 Kontakt
Jeśli masz jakieś pytanie, napisz na juzlus.biznes@gmail.com lub [Discord](https://discordapp.com/users/284780352042434570).

326
readme.md
View file

@ -1,115 +1,241 @@
# 🤔 Opis ## 📌
##### Link do [orginalnego projektu](https://github.com/jakubbartosik/dRandomSkills) stworzonego przez [jakubbartosik](https://github.com/jakubbartosik). > [!NOTE]
> This repository is a fork of the [project](https://github.com/jakubbartosik/dRandomSkills) created by [Jakub Bartosik (D3X)](https://github.com/jakubbartosik).
## ✨ Aktualne moce (43) ## 💡 About
FrozenDecoy, #### Every round, you receive a random skill. A plugin made for CS2.
Soldier, <div align="center">
Armored, <a href="https://GitHub.com/Juzlus/jRandomSkills/releases/"><img alt="GitHub release" src="https://img.shields.io/github/release/Juzlus/jRandomSkills.svg?style=social"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Aimbot, <a href="https://GitHub.com/Juzlus/jRandomSkills/commit/"><img alt="GitHub latest commit" src="https://img.shields.io/github/last-commit/Juzlus/jRandomSkills.svg?style=social&logo=github"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Retreat, <a href="https://GitHub.com/Juzlus/jRandomSkills/releases/"><img alt="Github all releases" src="https://img.shields.io/github/downloads/Juzlus/jRandomSkills/total.svg?style=social"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
EnemySpawn, <a href="https://GitHub.com/Juzlus/jRandomSkills/stargazers/"><img alt="GitHub stars" src="https://img.shields.io/github/stars/Juzlus/jRandomSkills.svg?style=social"></a>
Zeus, </div>
RadarHack,
QuickShot,
Planter,
Silent,
KillerFlash,
TimeManipulator,
GodMode,
RandomWeapon,
WeaponsSwap,
Wallhack,
- **MiniMajk:** Losowa wielkość postaci na początku rundy (0.6 - 0.95)
- **ZamianaMiejsc:** Zamiana miejscami z losowym wrogiem. Kliknij [USE - E], cooldown 30s
- **Flash:** Losowa prędkośc postaci na początku rundy (1.2 - 3.0)
- **PawelJumper:** Otrzymujesz dodatkowy skok
- **BunnyHop:** Otrzymujesz auto "BunnyHopa"
- **Impostor:** Otrzymujesz na start rundy model postaci wroga
- **OneShot:** Po trafieniu od razu zabija przeciwnika
- **Muhammed:** Po śmierci wybucha i zabija graczy w obrębie
- **Bogacz:** Otrzymujesz losową ilość kasy na start rundy (+5000 - +14999)
- **Rambo:** Otrzymujesz losową ilość zdrowia na start rundy (+50 - +500)
- **Medyk:** Otrzymujesz losową ilość apteczek na start rundy (1 - 4)
- **Duszek:** Jesteś całkowicie niewidzialny
- **Kurczak:** Otrzymujesz model kurczaka + jesteś o 10% szybszy - 50hp
- **Astronauta:** Otrzymujesz losową ilość grawitacji na start rundy (0.1 - 0.7)x
- **Rozbrojenie:** Masz losową szanse na wyrzucenie broni wroga po trafieniu (20% - 40%)
- **AntyFlash:** Posiadasz odporność na flashe i 7 sekund trwają twoje flash'e
- **ObrotWroga:** Masz losową szanse na obrócenie wroga o 180 stopni po trafieniu (20% - 40%)
- **NieskonczoneAmmo:** Otrzymujesz nieskończoną ilość ammo do wszystkich swoich broni
- **Katapulta:** Masz losową szanse na podrzucenie wroga (20% - 40%)
- **Drakula:** Po trafieniu ofiary otrzymujesz zwrot zdrowia w postaci danego procentu zadanych obrażeń (0.3x)
- **Teleporter:** Zamieniasz się miejscami z trafionym wrogiem
- **Saper:** Możesz szybciej podłożyć bombę oraz ją zdefować
- **Phoenix:** Masz losową szans na odrodzenie się po śmierci
- **Pilot:** Latanie przez określony czas. Przytrzymaj [USE - E], aby latać
- **Cien:** Teleportujesz się za plecy trafionego wroga
- **ZelaznaGlowa:** Nie otrzymujesz obrażeń w głowę
## 💻 Instalacja #### Choose language:
<a href="./readme-pl.md">
<img width="50px" src="https://upload.wikimedia.org/wikipedia/en/thumb/1/12/Flag_of_Poland.svg/1920px-Flag_of_Poland.svg.png">
</a>
<a href="./readme.md">
<img width="50px" src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Flag_of_the_United_Kingdom_%281-2%29.svg/1920px-Flag_of_the_United_Kingdom_%281-2%29.svg.png">
</a>
## ✨ Current Skills (43)
> [!NOTE]
> If the server is hosted on **Windows** there may be problems with the skills: Aimbot, Tank, Soldier, One-Shot.
## 📋 Lista zmian - **Freezing Decoy:** Your decoy freezes all nearby players.
- **Soldier:** You have a random damage multiplier (1.15 - 1.35)x.
- **Tank:** You have a random received damage multiplier (0.65 - 0.85)x.
- **Aimbot:** Every bullet you hit counts as a headshot.
- **Retreat:** Teleport back to spawn. Press [css_useSkill], cooldown 15s.
- **Enemy Respawn:** Teleport to the enemy spawn. Press [css_useSkill], cooldown 15s.
- **Zeus:** Zeus x27 instantly recharges.
- **Radar Hack:** You see enemies on the radar.
- **Quick-Shot:** No cooldown when shooting.
- **Planter:** You can plant the bomb anywhere, detonation time is 60s.
- **Silent** Your footsteps and jumps are inaudible to OTHER players.
- **Deadly Flash:** Anyone completely blinded by your flashbang dies (including you).
- **Time Slow:** Slows down time for everyone for 6 seconds. Press [css_useSkill], cooldown 30s.
- **God Mode:** You are invincible for 2 seconds. Press [css_useSkill], cooldown 30s.
- **Random Weapon:** You get a random weapon. Press [css_useSkill], cooldown 15s.
- **Weapon Swap:** Swap weapons with a random enemy. Press [css_useSkill], cooldown 30s.
- **Wallhack:** You can see enemies through walls.
- **Swapper:** Swap places with a random enemy. Press [css_useSkill], cooldown 30s.
- **Dwarf:** Random character size at the start of the round (0.6 - 0.95).
- **Flash:** Random movement speed at the start of the round (1.2 - 3.0).
- **Paweł Jumper:** You get an additional jump.
- **Bunnyhop:** You have automatic BunnyHop.
- **Spy:** You start the round with an enemy model.
- **One-Shot:** Instantly kills an enemy upon hit.
- **Muhammad:** Explodes upon death, killing nearby players.
- **Rich Boy:** You receive a random amount of money at the start of the round (+5000 - +14999).
- **Rambo:** You get a random amount of health at the start of the round (+50 - +500).
- **Medic:** You receive a random number of medkits at the start of the round (1 - 4).
- **Ghost:** You are completely invisible.
- **Chicken:** You receive a chicken model + 10% speed boost but -50HP.
- **Astronaut:** You receive a random gravity value at the start of the round (0.1 - 0.7)x.
- **Disarmament:** You have a random chance to make the enemy drop their weapon upon hit (20% - 40%).
- **Anti-Flash:** You are immune to flashes, and your flashes last for 7 seconds.
- **Enemy Rotation:** You have a random chance to turn an enemy 180 degrees upon hit (20% - 40%).
- **Infinite Ammo:** You have unlimited ammo for all weapons.
- **Catapult:** You have a random chance to launch an enemy into the air (20% - 40%).
- **Dracula:** You regain health based on a percentage of the damage you deal (0.3x).
- **Teleporter:** Swap places with a hit enemy.
- **Saper:** You can plant and defuse bombs faster.
- **Phoenix:** You have a random chance to respawn after death.
- **Pilot:** Fly for a limited time. Hold [USE - E] to fly.
- **Shadow:** Teleport behind a hit enemy.
- **Anty Head:** You take no headshot damage.
## </> Server Commands
> [!TIP]
> **Bind to use skills:** `bind x css_useSkill`
- **List of skills:** `!skills`
- **Set skill$^1$:** `!setskill <nickname> <skill>`, `!setskill Juzlus Random Weapon`
$\quad$
- **Change map$^1$:** `!map <map_name>`, `!map de_nuke`
- **Change workshop map$^1$:** `!map <map_id>`, `!map 3332005394`
- **Quick game start$^1$:** `!map start`
_$^1$ - Requires "@css/root" permission, which can be set in game/csgo/addons/counterstrikesharp/configs/admins.json_
## ⚙️ Configuration
Easily configure each skill in the "**Config.cfg**" file:
```json
{
"SkillsInfo": [
{
"Name": "None", // Name of the skill
"Active": true, // Whether the skill should be enabled at startup
"Cooldown": 30.0, // How long to wait before using the skill next time
"ChanceFrom": 1.0, // Minimum multiplier for the given skill
"ChanceTo": 1.0, // Maximum multiplier for the given skill
"Team": 1, // Which team can use this skill
// 1 - All
// 2 - Terrorist
// 3 - CounterTerrorist
"Only1v1": false // The skill only works when you are alone in a team
},
...
],
"Settings": {
"LangCode": "en", // Select language: en, en
"Set_Skill": "setskill, setskill",
"SkillsList_Menu": "superpowers, skills, skillslist, superpowers, randompowers",
"KillerSkillInfo": true, // Display your killer's skill information in chat
"TeamMateSkillInfo": true, // Display in chat information about your teammaties skills
"SummaryAfterTheRoud": true, // Display a summary of the last round in the chat
```
## 💻 Installation
1. install / buy a **CS2 server**.
- Good tutorial on how to create your own CS2 server [[Video]](https://www.youtube.com/watch?v=1ZrEn0CiMi4&ab_channel=TroubleChute), [[Website]](https://hub.tcno.co/games/cs2/dedicated_server/).
2. Install **Metamod**.
- Download [Metamod:Source 2.x](https://www.sourcemm.net/downloads.php/?branch=master)
- Extract it to the `C2Server/game/csgo/` folder.
- Edit the `gameinfo.gi` file by adding a new line
```json
Game_LowViolence csgo_lv // Perfect World content override
Game csgo/addons/metamod // <-- Line to add
Game csgo
```
3. Install **CounterStrikeSharp**.
- Download [CounterStrikeSharp-With-Runtime](https://github.com/roflmuffin/CounterStrikeSharp/releases).
- Extract it to the `C2Server/game/csgo/` folder.
4. install **jRandomSkills**.
- Download [jRandomSkills](https://github.com/Juzlus/jRandomSkills/releases)
- Extract it to the `C2Server/game/csgo/addons/counterstrikesharp/plugins/` folder.
## 🖼️ Images
![Preview](./preview.gif)
## 📋 Changelog
### v1.0.3 (by Juzlus) ### v1.0.3 (by Juzlus)
- #### Poprawki mocy: - #### General:
- ##### Saper: - ###### English language added.
- ###### Naprawiono bład z natychmiastowym podkładaniem bomby jak ktokolwiek na serwerze miał moc 'Saper'. - ###### Added welcome message.
- ###### Added summary of last round.
- ###### Added preview of spectated player's skills.
- ###### Blocked the possibility of having the same skill twice in a row.
- ###### Added simple configuration for each skill.
- ###### Reworked all superpowers so they can be manipulated at any time (Fixed setskill command)
- ###### Changed activation of superpowers to bind css_useSkill
- #### New skills:
- ##### Freezing Decoy
- ###### Your decoy freezes all nearby players.
- ##### Soldier:
- ###### You have a random damage multiplier (1.15 - 1.35)x.
- ##### Tank:
- ###### You have a random received damage multiplier (0.65 - 0.85)x.
- ##### Aimbot:
- ###### Each bullet you hit is counted as a head.
- ##### Retreat:
- ###### Return to spawn. Click [css_useSkill], cooldown 15s.
- ##### Enemy Respawn:
- ###### Teleport to enemy spawn. Click [css_useSkill], cooldown 15s.
- ##### Zeus:
- ###### Zeus x27 instant reload.
- ##### Radar Hack:
- ###### You see enemies on radar.
- ##### Quick-Shot:
- ###### No cooldown when shooting.
- ##### Planter:
- ###### You can plant a bomb anywhere, bomb detonation time is 60s.
- ##### Silent:
- ###### Your steps and jumps are unheard by OTHER players.
- ##### Deadly Flash:
- ###### Anyone completely blinded by your grenade dies (including you).
- ##### Time Slow:
- ###### Time slowdown for everyone for 6 seconds. Click [css_useSkill], cooldown 30s.
- ##### God Mode:
- ###### You are immortal for 2 seconds. Click [css_useSkill], cooldown 30s.
- ##### Random Weapon:
- ###### You are given a random weapon. Click [css_useSkill], cooldown 15s.
- ##### Weapon Swap:
- ###### You swap weapons with a random enemy. Click [css_useSkill], cooldown 30s.
- #### Skill improvements:
- ##### Sapper:
- ###### Fixed bug with instantly planting a bomb as anyone on the server had the skill ‘Sapper’.
- ##### Ghost:
- ###### Fixed being invisible after death.
- ###### Minor fixes for the rest of the powers.
### v1.0.2 (by Juzlus) ### v1.0.2 (by Juzlus)
- #### Nowe moce: - #### New skills:
- ##### MiniMajk: - ##### Dwarf:
- ###### Losowa wielkość postaci w przedziale (60% - 95%). - ###### Random character size range (60% - 95%).
- ##### ZamianaMiejsc: - ##### Swapper:
- ###### Zamiana miejscami z losowym wrogiem, po kliknięciu przyciska akcji (E). Cooldown to 30s. - ###### Swap places with a random enemy when clicking the [css_useSkill] button. Cooldown is 30s.
- #### Poprawki mocy: - #### Skill improvements:
- ##### AntyFlash: - ##### Anti-Flash:
- ###### Dodano: Twoje flash'e trwają dłużej (7s). - ###### Added: Your flash takes longer (7s).
- ##### Astronauta: - ##### Astronaut:
- ###### Zmieniono: Mnożnik grawitacji z (0.2 - 0.7) na (0.1 - 0.7). - ###### Changed: Gravity multiplier from (0.2 - 0.7) to (0.1 - 0.7).
- ###### Dodano: Gracz widzi teraz mnożnik swojej grawitacji na czacie. - ###### Added: Player can now see their gravity multiplier in chat.
- ##### Drakula: - ##### Dracula:
- ###### Zmieniono: Drakula od teraz może mieć nadwyżkę zdrowia. - ###### Changed: Dracula can now have excess health from now on.
- ##### Duszek: - ##### Ghost:
- ###### Dodano: Zabklokowanie korzystania z broni innej niż nóż. - ###### Added: Blocking the use of weapons other than a knife.
- ###### Dodano: Każda podniesiona broń przez duszka staje się niewidzialna. - ###### Added: Any weapon picked up by a ghost becomes invisible.
- ##### Flash: - ##### Flash:
- ###### Naprawiono nie dostawanie prędkości. - ###### Fixed not getting speed.
- ###### Zmieniono: Mnożnik prędkości z (1.2 - 2.5) na (1.2 - 3.0). - ###### Changed: Speed multiplier from (1.2 - 2.5) to (1.2 - 3.0).
- ###### Dodano: Gracz widzi teraz mnożnik swojej prędkości na czacie. - ###### Added: Player can now see their speed multiplier in chat.
- ##### Katapulta: - ##### Catapult:
- ###### Dodano: Losowe szanse na podrzucenie (20% - 40%). - ###### Added: Random toss chances (20% - 40%).
- ###### Dodano: Gracz widzi teraz swoje szanse na czacie. - ###### Added: The player now sees their chances in chat.
- ##### Kurczak: - ##### Chicken:
- ###### Naprawiono nie dostawanie modelu kurczaka. - ###### Fixed not getting the chicken model.
- ###### Dodano: Zabklokowanie korzystania z broni innej niż nóż lub pistolet. - ###### Added: Blocking the use of weapons other than a knife or gun.
- ###### Dodano: Kurczak może posiadać tylko 50 hp. - ###### Added: Chicken can only have 50 hp.
- ##### Medyk: - ##### Medic:
- ###### Naprawiono nie dostawanie apteczek. - ###### Fixed not getting first aid kits.
- ###### Zmieniono: Od teraz wszyscy tracą apteczki na końcu rundy. - ###### Changed: From now on everyone loses first aid kits at the end of the round.
- ##### NieskonczoneAmmo: - ##### Infinite Ammo:
- ###### Dodano: Od teraz granaty również są nieskończone. - ###### Added: From now on, grenades are also infinite.
- ##### ObrotWroga: - ##### Enemy Rotation:
- ###### Dodano: Losowe szanse na obrót wroga (20% - 40%). - ###### Added: Random chance of enemy rotation (20% - 40%).
- ###### Dodano: Gracz widzi teraz swoje szanse na czacie. - ###### Added: Player can now see their chances in chat.
- ##### Phoenix: - ##### Phoenix:
- ###### Naprawiono nie odradzanie się po śmierci. - ###### Fixed not being reborn after death.
- ###### Dodano: Losowe szanse na odrodzenie (20% - 40%). - ###### Added: Random revival chances (20% - 40%).
- ###### Dodano: Gracz widzi teraz swoje szanse na czacie. - ###### Added: Player can now see their chances in chat.
- ##### Pilot: - ##### Pilot:
- ###### Zmieniono: Poprawiono opis supermocy. - ###### Changed: The description of this skill has been improved.
- ##### Rambo: - ##### Rambo:
- ###### Naprawiono nie dostawanie dodatkowego życia. - ###### Fixed not getting extra health.
- ##### Rozbrojenie: - ##### Disarmament:
- ###### Dodano: Losowe szanse na wyrzucenie broni wroga (20% - 40%). - ###### Added: Random chances to throw away enemy weapons after hit (20% - 40%).
- ###### Dodano: Gracz widzi teraz swoje szanse na czacie. - ###### Added: Player can now see their chances in chat.
- ###### Zmieniono: Wyrzuca teraz tylko aktywną broń wroga (naprawiono błąd wyrzucenia kosy). - ###### Changed: Now only active enemy weapon is thrown (Knife throwing bug fixed).
- ##### Eliminator -> Saper: - ##### Eliminator -> Sapper:
- ###### Zmieniono: Zmineiono nazwę mocy z 'Eliminator' na 'Saper'. - ###### Changed: Renamed the power from ‘Eliminator’ to ‘Sapper’.
- ##### Teleporter: - ##### Teleporter:
- ###### Naprawiono błąd, gdzie tylko gracz z supermocą był przeteleportowywany. - ###### Fixed a bug where only the player with the skill was being teleported.
## 📝 Kontakt ## 📝 Contact
Jeśli masz jakieś pytanie, napisz na juzlus.biznes@gmail.com lub [Discord](https://discordapp.com/users/284780352042434570). If you have a question, please write to juzlus.biznes@gmail.com or [Discord](https://discordapp.com/users/284780352042434570).