CSSHARP Football 1.1

Spatiul dedicat dezvoltatorilor. Aici gasesti resurse pentru CounterStrikeSharp, ajutor pentru cod si scripting avansat.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 2230
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

CSSHARP Football 1.1

Post by greenie »

Caracteristici principale
Plugin-ul permite jucatorilor sa joace fotbal pe server-ul tau de Counter-Strike 2. Meciul poate fi pornit atat manual, cat si automat. Este personalizabil si poate fi folosit si cu harti personalizate pentru fotbal.


Comenzi disponibile
!startgame — Porneste manual jocul de fotbal cu porti specifice (pentru adminii cu flag dedicat)
!check — Afiseaza harta curenta si pozitia jucatorului; util atunci cand adaugi configuratia unei harti noi in fisierul JSON (pentru adminii cu flag dedicat)


Fisier de configurare
// This configuration was automatically generated by CounterStrikeSharp for plugin 'SLAYER_Football', at 2024/06/22 08:37:27
{
"FB_PluginEnabled": true,
"FB_AutostartEnabled": true, // Autostart Match Enabled in all maps? (true = Yes, false = No)
"FB_AdminFlagToUseCMDs": "@css/root", // Who has access to use commands?
"FB_MapSettings": [
{
"MapName": "field", // Enter the Map name for which these settings for
"ScoreboardEnabled": true, // Enable the Scoreboard in Map? (true = Yes, false = No)
"MaxPlayersInEachTeam": 5, // How many players are allowed in Each team in this Map?
"PlayersNeedForAutoStart": 2, // How many players needed to auto-start the game? (0 = Disable Autostart for this Map)
"GoalsNeedToWin": 7, // How many Goals are needed to Win the Game?
"CT_Spawns": [ // CT Spawn Points in this Map
{
"CT_SpawnPoint_1": "30.00 -300.00 -185.48", // Center (next to ball) | NOTE: Always set players spawn position from Center to Goal Position
"CT_SpawnPoint_2": "210.00 -470.00 -185.48", // Mid-Forward-left
"CT_SpawnPoint_3": "210.00 -300.00 -185.48", // Mid-Forward-Center
"CT_SpawnPoint_4": "210.00 -130.00 -185.48", // Mid-Forward-Right
"CT_SpawnPoint_5": "450.00 -470.00 -185.48", // Mid-Back-left
"CT_SpawnPoint_6": "450.00 -300.00 -185.48", // Mid-Back-Center
"CT_SpawnPoint_7": "450.00 -130.00 -185.48", // Mid-Back-Right
"CT_SpawnPoint_8": "650.00 -300.00 -185.48", // Goal Position
"CT_SpawnPoint_9": "",
"CT_SpawnPoint_10": "",
"CT_SpawnPoint_11": ""
// Add more Spawn Points if you need
}
],
"T_Spawns": [
{
"T_SpawnPoint_1": "-90.00 -300.00 -185.48", // Center (next to ball) | NOTE: Always set players spawn position from Center to Goal Position
"T_SpawnPoint_2": "-270.00 -130.00 -185.48", // Mid-Forward-left
"T_SpawnPoint_3": "-270.00 -300.00 -185.48", // Mid-Forward-Center
"T_SpawnPoint_4": "-270.00 -470.00 -185.48", // Mid-Forward-Right
"T_SpawnPoint_5": "-510.00 -130.00 -185.48", // Mid-Back-left
"T_SpawnPoint_6": "-510.00 -300.00 -185.48", // Mid-Back-Center
"T_SpawnPoint_7": "-510.00 -470.00 -185.48", // Mid-Back-Right
"T_SpawnPoint_8": "-710.00 -300.00 -185.48", // Goal Position
"T_SpawnPoint_9": "",
"T_SpawnPoint_10": "",
"T_SpawnPoint_11": ""
// Add more Spawn Points if you need
}
],
// Configure Scoreboard according to the Map
"Scoreboard_1": [
{
"MessageText": "BEST OF\n{0:D2}", // Text Message (Note: Just Change the 'Best of' text | '{0:D2}' represents total Goals Target)
"FontName": "Arial", // Font of the Text
"FontSize": 20, // Font Size of the Text
"HexColor": "#FFFFFFFF", // Color of the Text
"Position": "-41 -929 130", // Position of the Text
"Rotation": "0 180 90" // Rotation of the Text
}
],
"Scoreboard_2": [
{
"MessageText": "{0:D2} {1:D2}", // Note: Only Adjust Spaces between {0:D2} and {1:D2}
"FontName": "Arial",
"FontSize": 30,
"HexColor": "#FF3CB371",
"Position": "-39 -929 60",
"Rotation": "0 180 90"
}
]
// Don't add any more Scoreboards, they won't work
}
// Add more Maps here
],
"ConfigVersion": 1
}
https://laleagane.ro/forum/resources/fo ... 6/download
Post Reply

Return to “Scripting CS2”