RSSy MYGO.pl Opublikowano Marzec 10, 2017 o 04:30 RSSy Udostępnij Opublikowano Marzec 10, 2017 o 04:30 Tested in HL2DM, Should ideally work in CS:S, TF2 and CS:GO as well. Setup Below. TL;DR? Setup the Database Configuration. Use sm_createhardpoint 2x on a few different spots on the map. Restart plugin and map. Have fun. Planbook: Add HudText Supplements for non-supported games (really just csgo lol) Add random cycle to Hardpoints Create player stats module (mini gameME ideally) Fix bugs that people post Dependencies: ClientPrefs > Sourcemod Default DBI > SourceMod Default Commands: Spoiler Quote: Admin CMDs:sm_createhardpoint/sm_inserthardpoint <NO ARGS> - Create a hardpoint.sm_deletehardpoint/sm_removehardpoint <Hardpoint ID> - Remove a hardpointPlayer CMDs:!!Uses Clientprefs Database to save!! sm_hardpointhud/sm_hudmenu <NO ARGS> - Open up the menu to decide where the HUD Should Display. Config + CVars: Spoiler Code: cfg/sourcemod/plugin.hardpoint.cfg // This file was auto-generated by SourceMod (v1.8.0.5967) // ConVars for plugin "hardpoint.smx" // The damage multipler for explosions while in the hardpoint (default is 75% of normal damage) // - // Default: "75" hardpoint_blast_damage "75" // The default database driver to use (mysql = 1 or sqlite = 2) // - // Default: "mysql" hardpoint_dbtype "mysql" // The amount of time a hardpoint should last // - // Default: "60.0" hardpoint_lifetime "60.0" Database Config: Spoiler Code: Config Name: hardpoint_database Format Example in databases.cfg: "hardpoint_database" { "driver" "mysql" "host" "127.0.0.1" "database" "hardpoint_database" "user" "root" "pass" "" //"timeout" "0" "port" "" } Can use MySQL or SQLite if you don't have a webserver or MySQL Hosting. Screenshots/Video: Spoiler http://i.imgur.com/KYg8MOT.gifvhttp://i.imgur.com/8jG9XZp.jpghttp://i.imgur.com/wdw7XVU.jpg Attached Files Get Plugin or Get Source (hardpoint.sp - 25.2 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się