You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,17 +85,17 @@ Functions available are loading and saving Navp and Navp.json, loading Airg and
85
85
# How NavKit generates Navp and Airg files
86
86
NavKit performs the following series of steps to be able to generate Navp files.
87
87
1. Connect to the Editor server of the running Hitman game, and issue commands to: rebuild the entity tree, find the scene's ZGeomEntities, PFBox entities, and PFSeedPoint entities and send their data back to NavKit, where they are saved to `output.nav.json` in the specified output folder.
88
-
1. Extract all the necessary Aloc or Prim files from the rpkg files to the `aloc` or `prim` folder of the specified output folder using glacier2obj (A rust library included in the installer).
89
-
1. Open the blender cli and run the `glacier2obj.py` script to generate an obj by importing all the Aloc or Prim files, copy them the number if times they are used in the scene, and transform each one according to what was sent by the game, and save it to `output.obj` in the specified output folder.
88
+
1. Extract all the necessary Aloc or Prim files from the rpkg files to the `aloc` or `prim` folder of the specified output folder using navkit-rpkg-lib (A rust library included in the installer).
89
+
1. Open the blender cli and run the `glacier2obj.py` script to generate an obj by importing all the Aloc or Prim files, copy them the number if times they are used in the scene, and transform each one according to what was sent by the game, and save it to `output.obj`and / or `output.blend`in the specified output folder.
90
90
1. Load `output.obj` from the specified output folder or another specified Obj file.
91
-
1. At this point, the build Navp section of the menu will be available, and you can customize the parameters with "Settings > Recast Settings" on the menu bar, then press "Build > Build Navp" on the menu bar to call Recast to generate the Navmesh. Then you can save the Navmesh as a Navp or Navp.json file by pressing the Save Navp button.
91
+
1. At this point, the build Navp section of the menu will be available. You can customize the parameters with "Settings > Recast Settings" on the menu bar, then press "Build > Build Navp" on the menu bar to call Recast to generate the Navmesh. Then you can save the Navmesh as a Navp or Navp.json file by pressing the Save Navp button.
92
92
1. At this point, the build Airg section of the menu will be available, and you can customize the parameters, then press build to generate the Airg.
93
93
# Disclaimer
94
-
*NavKit is still a work in progress, and there may be glitches or issues with Obj, Navp, or Airg generation in the current version. If you encounter any problems while running NavKit please create an issue on this GitHub repo.*
94
+
*NavKit is still a work in progress, and there may be glitches or issues with Obj, Blend, Navp, or Airg generation in the current version. If you encounter any problems while running NavKit, please create an issue on this GitHub repo.*
95
95
# Future enhancements
96
96
* Faster Scene generation
97
97
* Linux and macOS support
98
-
* More issues on the Issues tab
98
+
* More planned features are on the Issues tab
99
99
# Building instructions (CLion or Visual Studio)
100
100
1. Clone this repository with the '--recurse-submodules' option
0 commit comments