(Цветной)Этот мод дает игрокам XP за убийство, , установку и обезвреживание бомбы, спасение заложников и т. д. Когда определенное количество XP была достигнута, они получат уровни. Полученный уровень дает игроку определенную сумму кредитов. С помощью этих кредитов игроки могут ввестиrpg,можно добавить свои команды в addons/sourcemod/configs/the_rpg/core.txtи покупать различные навыки, которые дают игроку специальные способности.
1. Отключить сервер (установить SourceMod, если он еще не установлен) 2. Скачать и распаковать на сервер --> ЭТОТ <-- архив 3. Установка завершена, можно включать сервер
ДЛЯ РАБОТЫ ПЛАГИНА НЕОБХОДИМО ПРОПИСАТЬ в файле sourcemod/configs/databases.cfg
// core config file // // maxlevel = (exp_max - exp_start) / exp_inc // "thc_rpg" { "core" { "admin_menu" "1" //Enable or Disable admin menu in admin menu "admin_flags" "z" // set the admin flags that can access all admin functions // you can also use multiple flags seperated by , "vip_flags" "z" // set the admin flags that can access the vip menu // you can also use multiple flags seperated by , "bot_enable" "0" // allows bots to earn upgrades "bot_control" "1" // stops bots from leveling when no humans are present "bot_maxlevel" "0" // maximum level of a bot until his stats are reset (0 = infinite) "exp_max" "500000000" // required xp stops rising when getting to this point "exp_start" "1000" // initial required xp "exp_inc" "1000" // how much to increment required xp by after leveling up "exp_kill" "600" // xp for a kill multiplied by levelratio (victim/attacker) "max_exp_kill" "5500" // maximum xp players can get for a kill (0 = infinite) "exp_headshot" "650" // extra xp for a headshot "exp_damage" "0.7" // percentage of damage done for hurting an enemy // 0.0 - 1.0 = 0-100%; 0.05 = 5%; 0.5 = 50%; 0.75 = 75% "exp_knifedmg" "0.50" // percentage of damage done for knifing an enemy (should be higher than exp_damage) // 0.0 - 1.0 = 0-100%; 0.05 = 5%; 0.5 = 50%; 0.75 = 75% "exp_objectives" "1" // set to 1 if players get xp for objectives (bombplanted, bombdefused, bombexploded, hostagerescuing) "exp_mode" "1" // set to 1 if players get static xp instead of percantage for teamwin and objectives // if exp_mode is 1 you can set all below "exp_" parameter to the amount of xp a player gain for achieving those "exp_teamwin" "300 - 600" // percentage of teamratio*frags or static xp given to alive players of a team for completing the objective // exp_mode = 0 -> 0.0 - 1.0 = 0-100%; 0.05 = 5%; 0.5 = 50%; 0.75 = 75% // exp_mode = 1 -> 0.0 = 0 XP; 5.0 = 5 XP; 5.5 = 5 XP; 10.0 = 10 XP "exp_bombplanted" "800 - 1300" // percentage of teamratio*frags or static xp given for planting the bomb // exp_mode = 0 -> 0.0 - 1.0 = 0-100%; 0.05 = 5%; 0.5 = 50%; 0.75 = 75% // exp_mode = 1 -> 0.0 = 0 XP; 5.0 = 5 XP; 5.5 = 5 XP; 10.0 = 10 XP "exp_bombdefused" "800 - 1300" // percentage of teamratio*frags or static xp given for defusing the bomb // exp_mode = 0 -> 0.0 - 1.0 = 0-100%; 0.05 = 5%; 0.5 = 50%; 0.75 = 75% // exp_mode = 1 -> 0.0 = 0 XP; 5.0 = 5 XP; 5.5 = 5 XP; 10.0 = 10 XP "exp_bombexploded" "800 - 1300" // percentage of teamratio*frags or static xp given to the bomb planter when it explodes // exp_mode = 0 -> 0.0 - 1.0 = 0-100%; 0.05 = 5%; 0.5 = 50%; 0.75 = 75% // exp_mode = 1 -> 0.0 = 0 XP; 5.0 = 5 XP; 5.5 = 5 XP; 10.0 = 10 XP "exp_hostage" "0.1" // percentage of teamratio*frags or static xp given for rescuing a hostage // exp_mode = 0 -> 0.0 - 1.0 = 0-100%; 0.05 = 5%; 0.5 = 50%; 0.75 = 75% // exp_mode = 1 -> 0.0 = 0 XP; 5.0 = 5 XP; 5.5 = 5 XP; 10.0 = 10 XP "credits_inc" "1500" // how many credits earned for each time a player levels up "credits_start" "2500000" // how many credits a player starts with "save_percent" "0.55" // percentage of credits a player gets for selling an item // 0.0 - 1.0 = 0-100%; 0.05 = 5%; 0.5 = 50%; 0.75 = 75% "advert" "1" // enable or disable the plugin advert "announcements" "1" // enable or disable plugin announcements (level up, earn xp) "freeforall" "0" // enable or disable "freeforall" mode "maxspawnhp" "500" // max spawn hp - it is the basement for further calculations of health upgrades "fragmenu" "1" // enable or disable menu exchange frags "creditsfrag" "10" // How to give credit for the frag? "restmenu" "1" // enable or disable redistribution menu "resetstatsmenu" "1" // enable or disable reset menu "restore_percent" "15" // percent credits for redistribution "showhud" "2" // 2 = KeyHintText 1 = HintText 0 = Disable "cmd" "rpg,war3menu,wcs" "tag" "THC RPG" "sound_error" "buttons/combine_button2.wav" "sound_reset" "buttons/button5.wav" "sound_purchase" "weapons/physcannon/physcannon_drop.wav" "sound_sell" "buttons/combine_button1.wav" } }
!rpg, rpg //игрокам, можно отредактировать команды в addons/sourcemod/configs/the_rpg/core.txt !rpgadmin //Меню администратора