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

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
guides:checklist-for-worker-path [2020/04/22 18:29] vjraymonguides:checklist-for-worker-path [2021/02/23 11:55] – title fix minotorious
Line 1: Line 1:
-====== Define building'worker path ======+====== Defining Building'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'' where ''x'' is 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''.
  
 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 display a green arrow on the first path (PATH_''x'' with the smaller number).
 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.txt · Last modified: 2021/03/17 17:37 by minotorious

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki