Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[CS:GO] Battlefield 2 / BF2 (v1.0 2020-05-25)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
BattleField 2 Rank Mode v1.0

Description
Its based on BF2 1.6 -> https://forums.alliedmods.net/showthread.php?t=51493

Badges
Level: Basic/Veteran/Expert/Profesional
Knife Combat - 20/40/60/80% of damage done with knife returned to player.
Pistol Combat - 20/25/33/50% chance of freezing your enemy
Assault Combat - 10/20/30/40 bonus HP
Sniper Combat - 1/4-1 chance of getting a free AWP
Support Combat - +2/4/6/8 damage per M249 bullet
Explosives Ordinance - 15/30/45/60 more Grenade damage + 1/4-1 chance of getting a free HE
Shotgun Combat - 200/180/160/150 Invisible with Knife
SMG Combat - 10/20/30/40% more speed for all weapons
Medals
*awards for getting 1st, 2nd and 3rd highest frags at the end of the map
Gold - TOP1
Silver - TOP2
Bronze - TOP3
Ranks
*are based on player frags
Requirements:
Code:

int gRankXP[ MAX_RANKS ] = {
        0, 150, 500, 800, 2500,
        5000, 8000, 20000, 50000, 60000,
        75000, 90000, 115000, 125000, 150000,
        180000, 200000
};

Rank Name
English:
Code:

char gRankName[ MAX_RANKS ][ ] = {
        "Private", "Private First Class", "Lance Corporal", "Corporal", "Sergeant",
        "Staff Sergeant", "Gunnery Sergeant", "Master Sergeant", "Master Gunnery Sergeant", "2nd Lieutenant",
        "1st Lieutenant", "Captain", "Major", "Lieutenant Colonel",
        "Colonel", "Brigadier General", "Lieutenant General"
};

Polish:
Code:

char gRankName[ MAX_RANKS ][ ] = {
        "Szeregowy", "Starszy Szeregowy", "Kapral", "Starszy Kapral", "Plutonowy",
        "Sierżant", "Starszy Sierżant", "Młodyszy Chorąży", "Chorąży", "Starszy Chorąży",
        "Podporucznik", "Porucznik", "Kapitan", "Major",
        "Podpułkownik", "Pułkownik", "Generał Brygady"
};




Command
Code:

!rank -> Your Rank
!b2stats -> Your stats
!bf2, !bf2menu, !menu -> menu BF2



MySQL
*find file: databases.cfg (csgo/addons/sourcemod/configs)
Code:

"bf2mod"
{
        "driver"                                "default"
        "host"                                "<host>"
        "database"                        "<database>"
        "user"                                "<user>"
        "pass"                                "<password>"
        "port"                                "<port>"
}



Overlay
two options: English/Polish
Example:
English: https://imgur.com/7h8FBMi
Polish: https://imgur.com/K45EyTK

Change language overlay:
Open BattleField.sp and find
Code:

void BF2_Download(char[] sName)
Change:
Code:

Format(fMat, sizeof(fMat), "materials/bf2mod_csc/en/%s.vtf", sName);
and
Code:

Format(fMat, sizeof(fMat), "materials/bf2mod_csc/en/%s.vmt", sName);
"/en/" to "/pl/"
If you want change file location, remember to change location in file .vmt




Available translations::
Polish
English


Download
Github

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

×
×
  • Dodaj nową pozycję...