Skip to content
This repository was archived by the owner on Jan 12, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions addons/sourcemod/configs/mapchooser_extended/map_names/csgo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
"Map Names"
{
"ar_baggage" "Baggage"
"ar_monastery" "Monsatery"
"ar_shoots" "Shoots"
"cs_agency" "Agency"
"cs_assault" "Assault"
"cs_backalley" "Back Alley"
"cs_cruise" "Cruise"
"cs_downtown" "Downtown"
"cs_insertion" "Insertion"
"cs_italy" "Italy"
"cs_militia" "Militia"
"cs_motel" "Motel"
"cs_office" "Office"
"cs_rush" "Rush"
"cs_thunder" "Thunder"
"cs_workout" "Workout"
"de_ali" "Ali"
"de_aztec" "Aztec"
"de_bank" "Bank"
"de_bazaar" "Bazaar"
"de_blackgold" "BlackGold"
"de_cache" "Cache"
"de_castle" "Castle"
"de_cbble" "Cobble"
"de_coast" "Coast"
"de_dust" "Dust"
"de_dust2" "Dust II"
"de_empire" "Empire"
"de_facade" "Facade"
"de_favela" "Favela"
"de_inferno" "Inferno"
"de_lake" "Lake"
"de_log" "Log"
"de_marquis" "Marquis"
"de_mikla" "Mikla"
"de_mirage" "Mirage"
"de_mist" "Mist"
"de_nuke" "Nuke"
"de_overgrown" "Overgrown"
"de_overpass" "Overpass"
"de_rails" "Rails"
"de_resort" "Resort"
"de_royal" "Royal"
"de_safehouse" "Safe House"
"de_santorini" "Santorini"
"de_seaside" "Seaside"
"de_season" "Season"
"de_shortdust" "Short Dust"
"de_shorttrain" "Short Train"
"de_stmarc" "St. Marc"
"de_sugarcane" "Sugar Cane"
"de_train" "Train"
"de_tulip" "Tulip"
"de_vertigo" "Veritgo"
"de_zoo" "Zoo"
}
31 changes: 31 additions & 0 deletions addons/sourcemod/configs/mapchooser_extended/map_names/cstrike.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
"Map Names"
{
"as_oilrig" "Oilrig"
"cs_747" "747"
"cs_assault" "Assault"
"cs_backalley" "Backalley"
"cs_compound" "Compound"
"cs_estate" "Estate"
"cs_havana" "Havana"
"cs_italy" "Italy"
"cs_militia" "Militia"
"cs_office" "Office"
"cs_siege" "Siege"
"de_airstrip" "Airstrip"
"de_aztec" "Aztec"
"de_cbble" "Cobble"
"de_chateau" "Chateau"
"de_dust2" "Dust II"
"de_dust" "Dust"
"de_inferno" "Inferno"
"de_nuke" "Nuke"
"de_piranesi" "Piranesi"
"de_port" "Port"
"de_prodigy" "Prodigy"
"de_storm" "Storm"
"de_survivor" "Survivor"
"de_tides" "Tides"
"de_torn" "Torn"
"de_train" "Train"
"de_vertigo" "Vertigo"
}
12 changes: 12 additions & 0 deletions addons/sourcemod/configs/mapchooser_extended/map_names/dods.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"Map Names"
{
"dod_anzio" "Anzio"
"dod_argentan" "Argentan"
"dod_avalanche" "Avalanche"
"dod_colmar" "Colmar"
"dod_donner" "Donner"
"dod_flash" "Flash"
"dod_jagd" "Jagd"
"dod_kalt" "Kalt"
"dod_palermo" "Palermo"
}
10 changes: 10 additions & 0 deletions addons/sourcemod/configs/mapchooser_extended/map_names/hl2mp.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"Map Names"
{
"dm_lockdown" "Lockdown"
"dm_overwatch" "Overwatch"
"dm_runoff" "Runoff"
"dm_steamlab" "Steamlab"
"dm_underpass" "Underpass"
"dm_resistance" "Resistance"
"dm_powerhouse" "Powerhouse"
}
74 changes: 74 additions & 0 deletions addons/sourcemod/configs/mapchooser_extended/map_names/tf.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
"Map Names"
{
"tc_hydro" "Hydro"
"cp_well" "Well"
"cp_granary" "Granary"
"cp_dustbowl" "Dustbowl"
"cp_gravelpit" "Gravelpit"
"ctf_2fort" "2 Fort"
"ctf_well" "Wall"
"cp_badlands" "Badlands"
"pl_goldrush" "Goldrush"
"cp_fastlane" "Fastlane"
"ctf_turbine" "Turbine"
"pl_badwater" "Badwater"
"cp_steel" "Steel"
"arena_badlands" "Badlands"
"arena_granary" "Granary"
"arena_lumberyard" "Lumberyard"
"arena_ravine" "Ravine"
"arena_well" "Well"
"cp_egypt_final" "Egypt"
"cp_junction_final" "Junction"
"arena_watchtower" "Watchtower"
"plr_pipeline" "Pipeline"
"arena_sawmill" "Sawmill"
"arena_nucleus" "Nucleus"
"pl_hoodoo_final" "Hoodoo"
"koth_sawmill" "Sawmill"
"koth_nucleus" "Nucleus"
"koth_viaduct" "Viaduct"
"ctf_sawmill" "Sawmill"
"arena_offblast_final" "Offblast"
"cp_yukon_final" "Yukon"
"koth_harvest_final" "Harvest"
"koth_harvest_event" "Harvest Event"
"ctf_doublecross" "Doublecross"
"cp_gorge" "Gorge"
"cp_freight_final1" "Freight"
"pl_upward" "Upward"
"plr_hightower" "Hightower"
"pl_thundermountain" "Thunder Mountain"
"cp_coldfront" "Coldfront"
"cp_mountainlab" "Mountain Lab"
"cp_manor_event" "Manor"
"cp_degrootkeep" "Degrootkeep"
"cp_5gorge" "5Gorge"
"pl_frontier_final" "Frontier"
"plr_nightfall_final" "Nightfall"
"koth_lakeside_final" "Lakeside"
"koth_badlands" "Badlands"
"pl_barnblitz" "Barnblitz"
"cp_gullywash_final1" "Gullywash"
"koth_viaduct_event" "Viaduct"
"cp_foundry" "Foundry"
"sd_doomsday" "Doomsday"
"koth_king" "King"
"mvm_mannworks" "Mannworks"
"mvm_coaltown" "Coaltown"
"mvm_decoy" "Decoy"
"koth_lakeside_event" "Lakeide Event"
"mvm_bigrock" "Bigrock"
"cp_process_final" "Process"
"cp_standin_final" "Standin"
"plr_hightower_event" "Hightower Event"
"cp_snakewater_final1" "Snakewater"
"mvm_mannhattan" "Mannhattan"
"mvm_rottenburg" "Rottenburg"
"pl_cactuscanyon" "Cactus Canyon"
"rd_asteroid" "Asteroid"
"sd_doomsday_event" "Doomsday Event"
"ctf_foundry" "Foundry"
"ctf_gorge" "Gorge"
"ctf_thundermountain" "Thunder Mountain"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"Map Name Replacements"
{ //This file contains universal replacement of map names, so instead of display 'de_dust2', it will show 'dust2' this is used if the map is not found in the game files
"aim_" ""
"ar_" ""
"awp_" ""
"cs_" ""
"de_" ""
"dm_" ""
"fun_" ""
"mg_" ""
"pb_" ""
"surf_" ""
"ze_" ""
"zm_" ""
"_" " " //Replaces under scores with spaces
}
10 changes: 10 additions & 0 deletions addons/sourcemod/scripting/include/mapchooser_extended.inc
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,16 @@ native bool:IsMapOfficial(const String:map[]);
*/
native CanNominateResult:CanNominate();

/**
* Retrieves the Display Name of the issued map.
*
* @param map Abolsute name of the map to lookup
* @param mapName The buffer of which the Map Name is stored
* @param size The mapName buffer size
* @return True if the map name was returned, flase if the map name was not resolved.
*/
native bool:GetMapName(const String:map[], String:mapName[], size);

public SharedPlugin:__pl_mapchooser_extended =
{
name = "mapchooser",
Expand Down
Loading