Difference between revisions of "ServiceIntervalChanges"

From TTWiki
Jump to navigationJump to search
m (2 revisions)
 
m (Bot: Automated text replacement (--= +==))
Line 1: Line 1:
   
'''''Change the service interval of all your vehicles'''''
 
   
 
=Service interval changes=
 
=Service interval changes=
Line 6: Line 5:
 
Change the service interval of all your vehicles
 
Change the service interval of all your vehicles
   
-=Usage=-
+
==Usage==
   
  +
Cht: ServInt <days> [<types> [<ai>]]
Cht: <nowiki><nowiki>ServInt</nowiki></nowiki> &lt;days&gt; <nowiki><nowiki>[&lt;types&gt; [&lt;ai&gt;]</nowiki></nowiki>]
 
   
-=Description=-
+
==Description==
   
 
With this cheat you can modify the service interval of all existing vehicles. It will be set to the given number of days.
 
With this cheat you can modify the service interval of all existing vehicles. It will be set to the given number of days.
   
If you specify a second number, it will determine what type of vehicle you want to change. &nbsp;It is a bit-coded number, with the bits meaning the following:
+
If you specify a second number, it will determine what type of vehicle you want to change. It is a bit-coded number, with the bits meaning the following:
   
  +
{|
||Bit |Value |Vehicle type
+
!Bit !!Value !!Vehicle type
   
  +
|-
&nbsp;0 | &nbsp; &nbsp;1 |Trains
+
|0 || 1 ||Trains
   
  +
|-
1 | &nbsp; &nbsp;2 |Road Vehicles
+
|1 || 2 ||Road Vehicles
   
  +
|-
2 | &nbsp; &nbsp;4 |Ships
+
|2 || 4 ||Ships
   
  +
|-
&nbsp;3 | &nbsp; &nbsp;8 |Aircraft||
 
  +
|3 || 8 ||Aircraft
  +
|}
   
 
Simply add all the values for the types of vehicles that you want to modify.
 
Simply add all the values for the types of vehicles that you want to modify.

Revision as of 11:21, 15 June 2011


Service interval changes

Change the service interval of all your vehicles

Usage

Cht: ServInt <days> [<types> [<ai>]]

Description

With this cheat you can modify the service interval of all existing vehicles. It will be set to the given number of days.

If you specify a second number, it will determine what type of vehicle you want to change. It is a bit-coded number, with the bits meaning the following:

Bit Value Vehicle type
0 1 Trains
1 2 Road Vehicles
2 4 Ships
3 8 Aircraft

Simply add all the values for the types of vehicles that you want to modify.

If you specify a third number (and it is not zero), you can tell TTDPatch to modify the other players' vehicles as well.