User Tools

Site Tools

Urban Games

modding:vehicleadvancedtopics

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
Last revision Both sides next revision
modding:vehicleadvancedtopics [2020/07/16 16:11]
kjell [Fake Bogies]
modding:vehicleadvancedtopics [2020/08/02 20:05]
yoshi [railVehicle]
Line 44: Line 44:
 <span label>2</span> ''innerForwardParts'' is a list of mesh ids that should be only visible if the vehicle is not at the front or back of the whole train consist and driving forward\\ <span label>2</span> ''innerForwardParts'' is a list of mesh ids that should be only visible if the vehicle is not at the front or back of the whole train consist and driving forward\\
 <span label>3</span> ''backForwardParts'' is a list of mesh ids that should be only visible if the vehicle is at the back of the whole train consist and driving forward\\ <span label>3</span> ''backForwardParts'' is a list of mesh ids that should be only visible if the vehicle is at the back of the whole train consist and driving forward\\
-<span label>4</span> ''frontBackwardParts'' is a list of mesh ids that should be only visible if the vehicle is at the front of the whole train consist and driving backward (only if reversible) \\ +<span label>4</span> ''frontBackwardParts'' is a list of mesh ids that should be only visible if the vehicle is at the front of the whole train consist and driving backward (only if consist is reversible) \\ 
-<span label>5</span> ''innerBackwardParts'' is a list of mesh ids that should be only visible if the vehicle is not at the front or back of the whole train consist and driving backward (only if reversible)\\ +<span label>5</span> ''innerBackwardParts'' is a list of mesh ids that should be only visible if the vehicle is not at the front or back of the whole train consist and driving backward (only if consist is reversible)\\ 
-<span label>6</span> ''backBackwardParts'' is a list of mesh ids that should be only visible if the vehicle is at the back of the whole train consist and driving backward (only if reversible)\\+<span label>6</span> ''backBackwardParts'' is a list of mesh ids that should be only visible if the vehicle is at the back of the whole train consist and driving backward (only if consist is reversible)\\
 </div>  </div> 
  
Line 222: Line 222:
   * ''position'' is the position along the lane from the root node of the model. Positive values go to the front of the vehicle, negative values to the end. In the picture, the blue point on the right is positioned where the ''position'' property points <span label>2</span>. At this point, a tangent to the lane is calculated. This is visualized by the blue line.   * ''position'' is the position along the lane from the root node of the model. Positive values go to the front of the vehicle, negative values to the end. In the picture, the blue point on the right is positioned where the ''position'' property points <span label>2</span>. At this point, a tangent to the lane is calculated. This is visualized by the blue line.
   * ''offset'' is the offset from the place where ''position'' points to the actual point on this tangent that is used as the pivot point. In the picture, this is the red point <span label>3</span>   * ''offset'' is the offset from the place where ''position'' points to the actual point on this tangent that is used as the pivot point. In the picture, this is the red point <span label>3</span>
-  * ''upright'' is an optional parameter that can be set to true for models that should always stand upright.+  * ''upright'' is an optional parameter that can be set to true for models that should always stand or hang upright.
  
 It is possible to define up to two fakeBogies per node. If the number of real bogies and fakeBogies exceeds two, the regular bogies are overridden. In the example there is a regular bogies <span label>4</span> beside the fakeBogie explained above. The node will then align along the connection of the two pivot points <span label>5</span>. It is possible to define up to two fakeBogies per node. If the number of real bogies and fakeBogies exceeds two, the regular bogies are overridden. In the example there is a regular bogies <span label>4</span> beside the fakeBogie explained above. The node will then align along the connection of the two pivot points <span label>5</span>.
modding/vehicleadvancedtopics.txt · Last modified: 2020/11/21 18:45 by yoshi