User Tools

Site Tools


guides:checklist-for-worker-path

Differences

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

Link to this comparison view

Next revision
Previous revision
guides:checklist-for-worker-path [2020/04/22 15:16] – created vjraymonguides:checklist-for-worker-path [2021/03/17 17:37] (current) minotorious
Line 1: Line 1:
-====== Check list for worker path ======+====== Defining Building's Worker Path ======
  
 You can choose a path for a worker when he is going to his workplace. You can choose a path for a worker when he is going to his workplace.
Line 9: Line 9:
 1) The name of this buildingPart should contain "Part". 1) The name of this buildingPart should contain "Part".
  
-2) These path points should be named PATH_x where x is a number. +2) These path points should be named PATH_''x''_''y'' where ''x'' is a letter and ''y'' a number. 
  
 3) The worker goes through these points from the smaller number to the greater number. 3) The worker goes through these points from the smaller number to the greater number.
  
-4) The final orientation of the worker depends on the orientation of the last PATH_x.+4) The final orientation of the worker depends on the orientation of the last PATH_''x''_''y''.
  
 5) Processor 5) Processor
Line 19: Line 19:
 -- Apply building asset processor -- Apply building asset processor
 myMod:registerAssetProcessor("models/myFbxName.fbx", { myMod:registerAssetProcessor("models/myFbxName.fbx", {
- DataType = "BUILDING_ASSET_PROCESSOR"+    DataType = "BUILDING_ASSET_PROCESSOR"
 }) })
 </code> </code>
Line 25: Line 25:
 Note: Note:
  
-1) for a simple building, the game display a green arrow on the first path (PATH_x with the smaller number). +1) For a simple building, the game displays a green arrow on the first path (PATH_''x''_''y'' with the letter that appears first in the alphabet). 
-2) for a monument, no green arrow is displayed (but the worker take although the path)+2) For a monument, no green arrow is displayed (but the worker take although the path)
  
guides/checklist-for-worker-path.1587583019.txt.gz · Last modified: 2020/04/22 15:16 by vjraymon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki