Difference between revisions of "Commands from a parameter"

From Soldat Community Wiki
Jump to: navigation, search
m
Line 8: Line 8:
  
 
* '''''Soldat.exe -join IPnumber (port password)'''''  Runs the game and connects to IPnumber, port and password are optional.  
 
* '''''Soldat.exe -join IPnumber (port password)'''''  Runs the game and connects to IPnumber, port and password are optional.  
 +
 
   <u>Examples</u>: Soldat.exe -join 62.93.201.70 '''and''' Soldat.exe -join 127.0.0.1 23073 tikikaka
 
   <u>Examples</u>: Soldat.exe -join 62.93.201.70 '''and''' Soldat.exe -join 127.0.0.1 23073 tikikaka
 
  
 
* '''''Soldat.exe -demo name (freecam speed notexts extract)'''''  Runs the game and plays the demo specified by name. Optional paramaters are:
 
* '''''Soldat.exe -demo name (freecam speed notexts extract)'''''  Runs the game and plays the demo specified by name. Optional paramaters are:
Line 19: Line 19:
  
 
   <u>Examples</u>: Soldat.exe -demo demo12 '''and''' Soldat.exe -demo demo19 1 200 1 0
 
   <u>Examples</u>: Soldat.exe -demo demo12 '''and''' Soldat.exe -demo demo19 1 200 1 0
 
  
 
* '''''Soldat.exe -mod xxx'''''  Starts the game with a Soldat mod located in Soldat\mods\xxx
 
* '''''Soldat.exe -mod xxx'''''  Starts the game with a Soldat mod located in Soldat\mods\xxx

Revision as of 18:30, 27 April 2018

These are parameters that can be used when running Soldat.exe:

  • Soldat.exe -dedicated Starts a Soldat dedicated server.
  • Soldat.exe -start Starts the game without entering the menu.
  • Soldat.exe -dedicated -start Runs the dedicated server automatically.
  • Soldat.exe -join IPnumber (port password) Runs the game and connects to IPnumber, port and password are optional.
 Examples: Soldat.exe -join 62.93.201.70 and Soldat.exe -join 127.0.0.1 23073 tikikaka
  • Soldat.exe -demo name (freecam speed notexts extract) Runs the game and plays the demo specified by name. Optional paramaters are:
    • freecam (0/1) - the user can freely change the camera (default 1)
    • speed (0-...%)- how quick the playback will be specified in percents (default 100%)
    • notexts (0/1) - no texts, menus or cursor will be displayed during playback (default 0)
    • extract (0/1) - extracts the demo to BMP files (default 0). Later they can be used to make an AVI file in a program like "Bmp2Avi".
    • The sound can be extracted with a program like "Total Recorder". Please note that this can take time and is not recommended on slower systems. For better results specify lower speed (like 50%).
 Examples: Soldat.exe -demo demo12 and Soldat.exe -demo demo19 1 200 1 0
  • Soldat.exe -mod xxx Starts the game with a Soldat mod located in Soldat\mods\xxx