User Tools

Site Tools

Urban Games

modding:vehiclebasics

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
modding:vehiclebasics [2020/07/03 16:44]
yoshi [Compartment List]
modding:vehiclebasics [2021/06/14 11:14]
yoshi [Emissions]
Line 19: Line 19:
  
 The ''idleEmission'' property is used when the vehicle stands still. ''powerEmission'' defines the emission when the thrust of the engine is at maximum and ''speedEmission'' is the emission when the vehicle is at full speed. For situations between, the values are interpolated. Setting a property to ''-1'', the actual value is automatically computed by using the other provided metadata like speed, availability and power. The ''idleEmission'' property is used when the vehicle stands still. ''powerEmission'' defines the emission when the thrust of the engine is at maximum and ''speedEmission'' is the emission when the vehicle is at full speed. For situations between, the values are interpolated. Setting a property to ''-1'', the actual value is automatically computed by using the other provided metadata like speed, availability and power.
 +
 +The allowed ranges for the three properties are:
 +  * idleEmission: [0.0, 100.0]
 +  * speedEmission: [0.0, 2.0]
 +  * powerEmission: [0.0, 0.0002]
 ===== Player Controlled Vehicles ===== ===== Player Controlled Vehicles =====
 Vehicles that can be bought and controlled by the player all have a general metadata block called ''transport Vehicle'': Vehicles that can be bought and controlled by the player all have a general metadata block called ''transport Vehicle'':
Line 103: Line 108:
           },           },
         },         },
-        toHide = { },+        toHide = { "comp_a", "comp_b", },
       },       },
       ... -- other load configurations       ... -- other load configurations
modding/vehiclebasics.txt · Last modified: 2022/05/09 19:41 by yoshi