selectable = false <---- Not in the in-game mod list!
enabled = true
exclusive = false
ui_only = true
requires = {}
Statistics: Posted by wodzu_93 — 29 Nov 2019, 18:21
Statistics: Posted by Uveso — 29 Nov 2019, 16:04
Statistics: Posted by wodzu_93 — 28 Nov 2019, 22:07
Statistics: Posted by Uveso — 28 Nov 2019, 21:30
function mount_strategic_icons(MODFOLDER)
for _,mod in io.dir( MODFOLDER..'\\*.*') do
if mod != '.' and mod != '..' then
for _,folder in io.dir(MODFOLDER..'\\'..mod..'\\*.*') do
if folder == 'textures' then
for _,folder in io.dir(MODFOLDER..'\\'..mod..'\\textures\\*.*') do
if folder == 'ui' then
LOG('Found mod icons in: '..mod)
mount_dir(MODFOLDER..'\\'..mod..'\\textures\\ui', '/textures/ui')
break
end
end
end
end
end
end
end
mount_strategic_icons(SHGetFolderPath('PERSONAL') .. 'My Games\\Gas Powered Games\\Supreme Commander Forged Alliance\\mods')
mount_strategic_icons(InitFileDir .. '\\..\\user\\My Games\\Gas Powered Games\\Supreme Commander Forged Alliance\\mods')
Statistics: Posted by wodzu_93 — 28 Nov 2019, 19:05