Nützliche Konsolen Kommandos fürs Machinima Erstellen
Seite 1 von 1
Nützliche Konsolen Kommandos fürs Machinima Erstellen
Der Download der Autoexec.lua geht leider nicht.UPDATE (November 14) Added two new console commands; Cpu_ControlLocalPlayer and Soundvolume_music
I would like to make this the definitive reference thread for console
commands. I've recently spent many hours messing with the system and
have a great deal to report, so for those interested please check out
this post for up-to-date and tested information. :eye:
Accessing the console
The default way to access the console on an English keyboard: press CTRL, SHIFT and TILDE (~). Or alternatively press ALT and TILDE (~).
On a Japanese keyboard press CTRL, SHIFT and @ (one key to the right of "P").
You can assign your own key combination to bring up the console by editing the W40k.ini file in your base game directory. Change the line consolekey=Control+Shift+Grave to something convenient for you. For example, I've set mine to "Control" and "C" by changing the line to: consolekey=Control+C
Console commands (alphabetical order)
Please note that you must add -dev to your Dawn of War shortcut for any of these commands to work.
Example: "C:\DATA\GAM\Dawn of War - Dark Crusade\DarkCrusade.exe" -dev
(The taskbar_hide and taskbar_show commands work without it however.)
* Please also note that while you can connect to Gamespy with the -dev
command line parameter, the only games that will be visible (if any)
will be those whose host has also loaded with the -dev command line
parameter. So you may wish to have two shortcuts, one for console use
and another for online play.
* You can browse (only forwards) through the entire list of available
console commands by pressing TAB (once in the console). The following is
intended to be a list of the functional AND useful commands from those
available:
CLICK HERE TO DISPLAY THE LIST OF CONSOLE COMMANDS (INCLUDES DESCRIPTION & USAGE INFO)
console command list
* Note that these are case sensitive
* See the USAGE field for what to actually type when in the console
abortgame—
description: ends the current battle and returns the player to the game summary screen
usage: abortgame
bind—
description: creates a hotkey for an in-game function such as removing the user interface or changing game speed
usage: bind("shift+tab", "toggle_user_interface()")
bind_list—
description: displays a list of the current keys "bound" to functions
usage: bind_list
cls—
description: clears the contents of the console window
usage: cls
Cpu_ControlLocalPlayer—
description: has the computer AI take over control of the player's army.
The AI will play at the difficulty level set before game launch
usage: Cpu_ControlLocalPlayer()
cursor_hide—
description: hides the mouse cursor
usage: cursor_hide()
cursor_show—
description: shows the mouse cursor
usage: cursor_show()
decal_toggle—
description: toggles the display of certain graphics overlays and decoration (decals)
usage: decal_toggle()
detail_toggle—
description:
usage: detail_toggle()
fog_toggle—
description: toggles the display of the mist / haze, note that this is not the fog of war
usage: fog_toggle()
FOW_Reset—
description: returns the fog of war to the entire map, returning it to an unexplored state.
usage:FOW_Reset()
FOW_RevealAll—
description: removes the fog of war from the entire map, all units and buildings everywhere become visible
usage: FOW_RevealAll()
fx_destroy—
description: removes all applied special effects, including lights,
bullets and blood sprays. the special effects will return only if and
when the game engine generates them
usage: fx_destroy()
ingame_select_ui_toggle—
description: toggles the display of the green selection boxes/circles from units and buildings
usage: ingame_select_ui_toggle()
ingame_stats_mouseover_toggle—
description: toggles the display of stat bars from appearing when the
mouse cursor is moved over a unit or building. This command is obsolete
when ingame_stats_toggle (see below) is used
usage: ingame_stats_mouseover_toggle()
ingame_stats_toggle—
description: toggles the display of unit and building stat and progress bars
usage: ingame_stats_toggle()
message_hide—
description: hides the display of in-game messages such as "GAME PAUSED" and the engine build number
usage: message_hide()
message_show—
description: shows in-game messages such as "GAME PAUSED" and the engine build number
usage: message_show()
print—
description: prints text or variable data to the console window
usage: print("Hello World!")
usage: print(getsimrate())
quit—
description: returns the player to the windows desktop
usage: quit
render—
description: toggles the rendering of ALL in-game graphics
usage: render()
render_togglerainbow—
description: toggles the colours-awful pinks, yellows etc.
usage: render_togglerainbow()
render_togglewireframe—
description: toggles all textures and colour, replacing them with a barebones wireframe
usage: render_togglewireframe()
render_togglexray—
description: toggles all textures and colour, replacing them with a chunky grayscale scheme
usage: render_togglexray()
restart—
description: restarts the current battle with identical settings
usage: restart()
sd_draw_attackradii—
description: draws three circles around a selected unit indicating the attack radius
usage: sd_draw_attackradii()
sd_draw_bonuses—
description: draws numerical text information nearby a selected unit reporting bonuses or (penalties) from cover
sd_force_synckill—
description: guarantees the generation of a random sync kill for melee
encounters (this is on by default, so as concerns usefulness...
disabling it might be interesting for debug purposes)
usage: sd_force_synckill()
sd_instant_build—
description: units, buildings and research complete instantly. squad re-enforcement and squad weapon upgrades do not
usage: sd_instant_build()
setsimrate—
description: sets the game speed. 8 is the game engine default
usage: setsimrate(4.3)
usage: setsimrate(16)
simvis_list—
description: lists all "channels" available for use with simvis_toggle (see below)
usage: simvis_list()
simvis_toggle—
description: toggles the state of game engine functions such as the rendering of special effects, terrain detail and shadows
usage: simvis_toggle("channel name")
usage: simvis_toggle("FXHandler")
soundvolume_music—
description: adjusts the sound of in-game music. Accepts float values
from 0 (off) through to 1 (on and max) This works without the -dev
command line option so is useful for turning off the music in the
multiplayer lobby (you can't turn it off from there)
usage: soundvolume_music(0.25)
usage: soundvolume_music(0.65)
statgraph_channel—
description: enables the display of various statistical information such
as in-game frames per second, number of special effects rendered etc.
usage: statgraph_channel("fps")
statgraph_list—
description: list all available "channels" for use with statgraph_channel (see above)
usage: statgraph_list()
superscreenshot—
description: takes a *very* close-up screenshot. WARNING: this appears
to take continuous (big 5MB) screenshots and may bring most machines to a
crawl
usage: superscreenshot
taskbar_hide—
description: hides the user interface completely
usage: taskbar_hide()
taskbar_show—
description: returns the user interface after a taskbar_hide call
usage: taskbar_show()
* work in progress!
The autoexec.lua file
This file (should you choose to create it, or download one) must be located in the base directory (folder)
of either your vanilla Dawn of War, Winter Assault or Dark Crusade
installation. Within this file you may create hotkeys (or macros) to
make messing with the console a lot faster and easier — i.e. less typing
on the fly!
I've created an autoexec.lua file (download here) with the following in-game functions: (click the links to see a screen shot of the effect)
SHIFT - TAB: Completely hides the user interface
SHIFT - S: Toggle forced sync kills
SHIFT - F1: Hides unit and building selection boxes and stat bars
SHIFT - F2: Toggles special effects rendering SCREENSHOT
SHIFT - F3: Destroys special effects (until the game engine re-makes them)
SHIFT - F4: Toggles unit and building rendering
SHIFT - F5: Toggles the mist / haze effect (not fog of war) SCREENSHOT
SHIFT - F6: Toggles fog of war
SHIFT - F7: Toggles instant build time for units, structures and buildings
SHIFT - F8: Toggles frames per second display, unit attack radius, and modifier bonus information SCREENSHOT
SHIFT - F9: Set game speed to very slow
SHIFT - F10: Set game speed to slow
SHIFT - F11: Set game speed to engine default (standard)
SHIFT - F12: Set game speed to fast
* my file also includes some basic documentation (in-line comments)
Cover markers
The little blue shields that appear above your units to indicate a
defence bonus, or conversely a penalty if submerged in water. Many
people wish to disable these for the purpose of taking nicer
screenshots. It is possible to remove them with console commands, (included in the autoexec.lua file above) however not without undesired side effects—other special effects such as gunfire, lights on buildings and blood sprays disappear as well!
The only perfect way to remove them is with a simple file copy process.
Create the following directory structure in your Dawn of War
installation (The first three folders should already be there): Dawn of War\W40K\DATA\ART\FX\AURA_FX\TEXTURES
(Click here to see a screen shot of this directory structure)
Copy these two files (file1, file2)
into the last directory, (TEXTURES). They're only small, just 2kb each.
If you've copied them into the correct location, the next time you
start Dawn of War, any units that traverse cover or water will not have the little blue shields above them.
* Note that adding these files does NOT interfere with online
play. Obviously though, your opponents will still see your units' cover
indicators unless they are using the same files. Enjoy!
Improved graphics
forcehighpoly
If you have a fast video card, you should try using the -forcehighpoly
command line parameter. 1280x1024 32bit colour with this option on
makes Dawn of War look even more magnificent! Edit your Dawn of War
Windows shortcut to look like this:
"C:\DATA\GAM\Dawn of War - Dark Crusade\DarkCrusade.exe" -forcehighpoly
fullres_teamcolour
The local.ini file is located in your Dawn of War base directory. Edit this file, and add the line: fullres_teamcolour=1
This will further improve the detail level of the units. Please note
that unless your computer is equipped with a fast video card you may
experience a very large performance hit.
See before and after comparison sceenshot here, using forcehighpoly and fullres_teamcolour options
* Note that the improved graphics are only enabled when actually playing a game. You will not notice any changes in the main menus or the army painter.
anti-aliasing
I have not been able to detect any difference with this option enabled.
(Could anyone help out wth this one?) Edit the W40K.ini settings file in
your Dawn of War base folder, changing the line screenantialias=0 to
screenantialias=1.
Macht aber nix:
Noch mehr Kommandos:fpsgraph = 0
function toggle_fpsgraph()
if fpsgraph == 0 then
statgraph()
statgraph_channel("fps")
fpsgraph = 1
else
statgraph_clear()
statgraph()
fpsgraph = 0
end
end
screenmode = 0
function toggle_screenmode()
if screenmode == 0 then
taskbar_hide()
message_hide()
screenmode = 1
else
taskbar_show()
message_show()
screenmode = 0
end
end
allElse = 0
function toggle_allElse()
if allElse == 0 then
cursor_hide()
ingame_stats_mouseover_toggle()
allElse = 1
else
cursor_show()
ingame_stats_mouseover_toggle()
allElse = 0
end
end
bind("end", "toggle_fpsgraph()")
bind("home", "toggle_screenmode()")
bind("shift+home", "toggle_allElse()")
bind("PageUp", "ingame_stats_toggle()")
Quelle
To activate this glourious and magical console you use the keyboard keys. Ctrl + Shift + ~. (English Keyboard)
taskbar_hide - completely removes taskbar
taskbar_show - Brings back the taskbar
Message_hide - Removes messages from screen
Message_show - Shows messages from screen
Cursor_hide - Removers mouse pointer
Cursor_show - Shows the mouse pointer
=To Get the FPS showing you have to do two things.=
A) statgraph - (Hit enter then type in the below.)
B) statgraph_channel("fps") - the statgraph commands must be used together. Shows FPS
quit - returns to Windows
cls - clears the console
render_togglerainbow() - hideous funky colours
render_togglexray - see-through white textures
render_togglewireframe - colored wireframe
detail_toggle - turns on/off shaders
decal_toggle - turns on/off banners and badges
fog_toggle - turns on/off brown dust
terrlod_dist ( min, max ) - changes the distance where models lose detail
terrlod_toggle - models do/don't drop detail
staticdecal_dump - dump static decal stats to file
dynamicdecal_dump - dump dynamic decal stats to file
shadow_toggle - turns shadows on/off
ingame_stats_mouseover_toggle - turns mouseover stat barson/off
ingame_stats_toggle - tunrs stat bars on/off
ingame_select_ui_toggle - removes selection boxes
simvis_cameranearclip( "meters" ) - objects closer than this aren't drawn
simvis_camerafarclip( "meters" ) - hide objects further than this (default: 200 - higher the number, more troublesome will get for your computer)
getsimrate() - gives you current game speed
setsimrate() - modifies game speed
simvis_fx_refresh - screen update while console is up
simvis_list - reads Data\art\ebps files, lists handler (channel) usage
simvis_toggle( "ChannelName" ) - turns on/off subsystem visibility. Use the Channels listed below.
Available channels for simvis_toggle()
EnviroHandler -- ambient lighting
TerrainHandler -- terrain (ground) visibility
SkyHandlerStencil -- the skybox
NISletAnimHandler -- animation for ingame movies
TerrainOverlayHandler -- all ground decoration (not buildings)
TerrainDecoratorHandler -- rubble?
marker_handler -- markers on bridges and in cover.
scargroups_handler -- marks relative poisition of units
AnimatorHandler -- visibility of units
GhostHandler -- infiltration units
ShadowHandler -- shadows
OceanHandler -- water
FXHandler -- special effects (tracers,lasers,smoke,etc)
LightManagerHandler -- dynamic lights
SoundHandler -- dynamic sound (not ambient sounds or music)
----
screenmode = 0
function toggle_screenmode()
if screenmode == 0 then
taskbar_hide()
message_hide()
ingame_stats_toggle()
ingame_select_ui_toggle()
ingame_stats_mouseover_toggle()
simvis_toggle("markers_handler")
screenmode = 1
else
taskbar_hide()
message_hide()
ingame_stats_toggle()
ingame_select_ui_toggle()
ingame_stats_mouseover_toggle()
simvis_toggle("markers_handler")
screenmode = 0
end
end
bind("shift+tab", "toggle_screenmode()")
BoundVolumeHandler -- shows the boundary box of each model
bind("PageDown", "ingame_select_ui_toggle()")
Ähnliche Themen
» Beyond - The Movies Machinima
» Last day - Arma 2 Machinima
» Arma 2: Steelhead Machinima
» Arma 2 Machinima Tool
» X3 Modding und Machinima spezifisches
» Last day - Arma 2 Machinima
» Arma 2: Steelhead Machinima
» Arma 2 Machinima Tool
» X3 Modding und Machinima spezifisches
Seite 1 von 1
Befugnisse in diesem Forum
Sie können in diesem Forum nicht antworten