alliedmodders / metamod-source

Metamod:Source - C++ Plugin Environment and Detour Library for the Source Engine
http://www.metamodsource.net/
Other
370 stars 84 forks source link

mm_basedir Not Working in CS2 #166

Closed LianZiZhou closed 5 months ago

LianZiZhou commented 5 months ago

Setting +mm_basedir "addons/metamod_ac" has no effect in CS2.

mm_basedir
Unknown command 'mm_basedir'!
meta alias
Alias      File
 ---
counterst  addons/counterstrikesharp/bin/win64/counterstrikesharp
 ---
1 aliases total.

I modified the vdf of counterstrikesharp in addons/metamod_ac, the expected behavior is to load addons/counterstrikesharp_ac/bin/win64/counterstrikesharp. counterstrikesharp.vdf in addons/metamod_ac

"Metamod Plugin"
{
    "alias" "counterstrikesharp"
    "file"  "addons/counterstrikesharp_ac/bin/win64/counterstrikesharp"
}
psychonic commented 5 months ago

ConVars in MM:S (including mm_basedir) are known to not function at the moment in Source 2 games until https://github.com/alliedmodders/metamod-source/pull/135 is finished.