User Tools

Site Tools


simulator:text_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
simulator:text_files [2018/09/20 12:33] jhsimulator:text_files [2020/05/10 20:00] (current) – ↷ Links adapted because of a move operation jh
Line 6: Line 6:
   * [[aircraft:tmd|TMD]] - aircraft definition files   * [[aircraft:tmd|TMD]] - aircraft definition files
   * [[aircraft:tmc|TMC]] - aircraft description files   * [[aircraft:tmc|TMC]] - aircraft description files
-  * [[aircraft:tmr|TMR]] - aircraft repaint files +  * [[sdk:scenery_tsc|TSC]] - scenery and object description files
-  * [[scenery:tsc|TSC]] - scenery and object description files+
   * [[simulator:mcf|MCF]] - main simulator configuration files   * [[simulator:mcf|MCF]] - main simulator configuration files
   * [[simulator:log|LOG]] - simulator text output file (is generated)   * [[simulator:log|LOG]] - simulator text output file (is generated)
Line 15: Line 14:
 For editing all Aerofly FS 2 text files the IPACS development team recommends using one of the following UNICODE capable text editors. For editing all Aerofly FS 2 text files the IPACS development team recommends using one of the following UNICODE capable text editors.
  
 +   * Visual Studio 2019
    * [[https://www.editpadlite.com|EditPad Lite/Pro]]    * [[https://www.editpadlite.com|EditPad Lite/Pro]]
    * [[https://www.ultraedit.com|UltraEdit]]    * [[https://www.ultraedit.com|UltraEdit]]
Line 27: Line 27:
  
 Aerofly FS 2 uses the international system of units (SI) exclusively. This means that all lengths and dimensions are meters, masses are in kilograms, forces are in Newtons, power values are in Watts, speeds are in meters per second. Aerofly FS 2 uses the international system of units (SI) exclusively. This means that all lengths and dimensions are meters, masses are in kilograms, forces are in Newtons, power values are in Watts, speeds are in meters per second.
-Any rotation uses the positive mathematical direction (anti-clockwise), and all angles are measured in radians (1 rad = 180/degrees = 57.3°).+Any rotation uses the positive mathematical direction (anti-clockwise), and all angles are measured in radians (1 rad = 180/pi degrees = 57.3°).
 Fractions are used instead of percentages (20% would be written as 0.2). Fractions are used instead of percentages (20% would be written as 0.2).
  
Line 38: Line 38:
  
   * ''<'',''>'',''['','']'', ''('', '')'' to define the tree structure   * ''<'',''>'',''['','']'', ''('', '')'' to define the tree structure
-  * white spaces for separation of lists+  * white spaces for separation of lists, indentations and additional spacing
   * digits from ''0 - 9'' with a dot ''.'' as decimal separator, minus ''-'' and plus ''+'' as signs   * digits from ''0 - 9'' with a dot ''.'' as decimal separator, minus ''-'' and plus ''+'' as signs
   * English-alphabet from ''A - z''   * English-alphabet from ''A - z''
Line 46: Line 46:
   * \r\n as line endings (carriage return and line-feed)   * \r\n as line endings (carriage return and line-feed)
  
-Especially forbidden is the usage of tab indentation or separation. Instead four white spaces are used for indentation and multiple white spaces for separation.+Especially forbidden is the usage of **tab** indentation or separation. Instead four white spaces are used for indentation and multiple white spaces for separation.
  
 ===== Syntax ===== ===== Syntax =====
Line 86: Line 86:
 A comment is started by a double slash ''%%//%%'' and spans the entire line. Comments within a parameter (before a closing ']') are not allowed. All text inside a comment is ignored by the Aerofly FS 2 engine. A comment is started by a double slash ''%%//%%'' and spans the entire line. Comments within a parameter (before a closing ']') are not allowed. All text inside a comment is ignored by the Aerofly FS 2 engine.
  
-> ''/*'' and ''*/'' do not work as comment markings+> ''/*'' and ''*/'' do not work for commenting.
  
  
simulator/text_files.1537439632.txt.gz · Last modified: 2018/09/20 12:33 by jh