Page 1 of 1
automatically use ctrlpanel.txt
Posted: 12 Dec 2009, 08:05
by cleanrock
How can i make spring use my ctrlpanel.txt from startup ?
Right now i have to type /ctrlpanel at start of each game.
Re: automatically use ctrlpanel.txt
Posted: 12 Dec 2009, 08:17
by Andrej
from LuaUI/main.lua:
Code: Select all
Spring.SendCommands({"ctrlpanel " .. LUAUI_DIRNAME .. "ctrlpanel.txt"})
my guess is place ctrlpanel.txt into the LuaUI folder replacing the default one or uncomment this line whichever works
Re: automatically use ctrlpanel.txt
Posted: 12 Dec 2009, 10:21
by cleanrock
Thanks,
Moving ctrlpanel.txt from .spring to spring/LuaUI did the trick.