Kxnrl / Mapchooser-Redux

Mapchooser - Redux
GNU General Public License v3.0
32 stars 10 forks source link

GetMapDisplayName (support for workshop) #25

Open Uronic opened 4 years ago

Uronic commented 4 years ago

Can you make this mapchooser support GetMapDisplayName, without it, workshop maps in the nominate/rtv menu are with the path of the workshop map.

For example: workshop\1694903705\awp_crystalsmall_v1

Uronic commented 4 years ago

Also, I think because I am using workshop maps, the mapdata doesn't work on rtv and mapend voting only works on nominate menu. This makes rtv have null: unknown and nominate has normal map description

Kxnrl commented 4 years ago

null: unknown is defined in mapdata.txt I will add a cvar to use GetMapDisplayName

Uronic commented 4 years ago

Yes I know it is defined in mapdata.txt, and I did put the map descriptions there but the mapdata for the nominate menu and rock the vote menu is different, it makes two mapdatas of same map, for example

"workshop\879396096\am_caribbean_dolnma" { "desc" "1v1 Arenas" "price" "100" "size" "18" "nice" "0" "minplayers" "0" "maxplayers" "0" "nominationonly" "0" "adminonly" "0" "viponly" "0" } "am_caribbean_dolnma" { "desc" "null: unknown" "price" "100" "size" "1" "nice" "0" "minplayers" "0" "maxplayers" "0" "nominationonly" "0" "adminonly" "0" "viponly" "0" }

Same map is generated twice.

innomeni commented 4 years ago

Also it cant works with any maps in other folders (ex. de/de_dust).