Originariamente Scritto da
Swuopa
come si togliè l'interfaccia per fare foto a tutto schermo?
Che io sappia non si può senza utilizzare uno script apposito o smanettando dalla console.
Per farla breve create un file "autoexec.lua", mettetelo nella cartella dove è installato COH, apritelo con notepad, incollate il codice sottostante e salvate come file di testo (ma non cambiate l'estensione .lua!).
Dopodichè modificate il collegamento a COH dall'icona che avvia il gioco (Click destro mouse > "proprietà" > linguetta "collegamento" > campo "destinazione") aggiungendo "-dev" alla fine:
esempio:
da
Codice:
"c:\programmi\Company of Heroes\RelicCOH.exe"
a
Codice:
"c:\programmi\Company of Heroes\RelicCOH.exe" -dev
Riassumo I comandi implementati nello script per i non anglofoni:
Tasto centrale mouse - attiva/disattiva completamente interfaccia
F7 - attiva/disattiva selettori colorati delle unità
F8 - mostra FPS
Ctrl+W - attiva/disattiva wireframe
Ctrl+B - attiva/disattiva bighead
Ctrl+Freccia su - velocità gioco settata a default / poi raddoppiata ad ogni ulteriore pressione
Ctrl+Freccia giù - velocità gioco settata a default / poi dimezzata ad ogni ulteriore pressione
Ctrl+Freccia sinistra - rallenta velocità gioco
Ctrl+Freccia destra - accelera velocità gioco
Ctrl+F - telecamera segue unità selezionata
Ctrl+S - Screenshot ad alta risoluzione
Eseguite il gioco e divertitevi. Ricordate il flag "-dev" non deve essere utilizzato in sessioni MP.
Personalmente per fare gli screenshots uso FRAPS, free, comodo e buono anche per FPS e filmati (http://www.fraps.com/download.php). Nella versione free salva gli screenshots in formato .bmp non compresso (grandicelli), già automaticamente numerati. Per evitare confiltti ho impostato come tasto di default per gli screenshots F1 invece dell'originale F10 (credo).
Fonte di script e info:
http://forums.relicnews.com/showthread.php?t=109045
Codice:
g_bShowTaskbar = 1
g_bShowGameUI = 1
function UpdateTaskbarAndGameUI()
if (g_bShowTaskbar == 1) then
taskbar_show()
message_show()
else
taskbar_hide()
message_hide()
end
if (g_bShowGameUI == 1) then
game_showui()
else
game_hideui()
end
end
function ToggleShowTaskbar()
if (g_bShowTaskbar == 0) then
g_bShowTaskbar = 1
else
g_bShowTaskbar = 0
end
UpdateTaskbarAndGameUI()
end
function ToggleShowGameUI()
if (g_bShowGameUI == 0) then
g_bShowGameUI = 1
else
g_bShowGameUI = 0
end
UpdateTaskbarAndGameUI()
end
g_bShowFPS = 0
function ToggleShowFPS()
if (g_bShowFPS == 0) then
g_bShowFPS = 1
statgraph_set_visible(1)
statgraph_channel_set_enabled("fps",1)
else
g_bShowFPS = 0
statgraph_channel_set_enabled("fps",0)
statgraph_set_visible(0)
end
end
function GameSpeed_Slower()
if (getsimrate() > 3) then
setsimrate(getsimrate() - 3)
else
setsimrate(1)
end
end
function GameSpeed_Faster()
if (getsimrate() < 197) then
setsimrate(getsimrate() + 3)
else
setsimrate(200)
end
end
function GameSpeed_Half()
if (getsimrate() > 8) then
setsimrate(8)
else
if (getsimrate() > 2) then
setsimrate(getsimrate() / 2)
else
setsimrate(1)
end
end
end
function GameSpeed_Double()
if (getsimrate() < 8) then
setsimrate(8)
else
if (getsimrate() < 1000) then
setsimrate(getsimrate() * 2)
else
setsimrate(2000)
end
end
end
function TakeSuperScreenShot()
taskbar_hide()
message_hide()
Misc_SuperScreenshot()
UpdateTaskbarAndGameUI()
end
bind("MouseMiddle", "ToggleShowTaskbar()")
bind("F7", "ToggleShowGameUI()")
bind("F8", "ToggleShowFPS()")
bind("Control+B", "ee_bigheadmode()")
bind("Control+W", "VIS_Wireframe()")
bind("Control+X", "VIS_Overdraw()")
bind("Control+Left", "GameSpeed_Slower()")
bind("Control+Right", "GameSpeed_Faster()")
bind("Control+Down", "GameSpeed_Half()")
bind("Control+Up", "GameSpeed_Double()")
bind("Control+F", "Camera_FollowSelection()")
bind("Control+S", "TakeSuperScreenShot()")