-
-
Notifications
You must be signed in to change notification settings - Fork 464
Description
Hello everyone! I'm the developer for Kreedz Climbing, a SDK2013 based multiplayer mod that implements a workshop (.ugc map files), and I've encountered an issue - the nominate plugin can't fuzzy-match workshop map names (i.e. kz_mymap -> kz_mymap.ugc1234) because the FindMap function in SM intentionally skips calling the engine FindMap function (due to perceived lack of SDK2013 support) and instead falls back to IsMapValid, which isn't capable of supporting workshop maps.
I tracked the problem down to master/core/HalfLife2.cpp, line 1269, where we can find this:
#elif SOURCE_ENGINE == SE_TF2 || SOURCE_ENGINE == SE_BMS
...
return (engine->FindMap(pFoundMap, static_cast(nMapNameMax)));
#elif SOURCE_ENGINE == SE_CSS || SOURCE_ENGINE == SE_DODS || SOURCE_ENGINE == SE_HL2DM || SOURCE_ENGINE == SE_SDK2013
...
return engine21->IsMapValid(pMapName)
#else
This shows that SDK2013 is explicitly flagged as not supporting FindMap, but it does as of the 2015 update to the SDK2013 github repo. Is there any chance of having the file amended to enable SDK2013 support? The only issue I can think of is that older mods that haven't merged with the latest source would break from that change, otherwise I'd have considered making a pull request myself.
Thanks for your time!