-
Notifications
You must be signed in to change notification settings - Fork 4
Home
This repository contains triangle meshes for each zone in the FFXI world, which describe the solid objects in each zone that can not be seen through by players or NPCs.
These files are originally based on the collision meshes from the game itself, and as such may contain barriers near edges and other artifacts that should not always come into play with regards to performing line-of-sight checks.
See how to edit the meshes in Blender here.
The original collision meshes have been preprocessed to reduce the amount of triangles in the mesh by using Blender along with this process_obj.py script. This is done because the collision meshes are massive in size, and contains a lot of detail that isn't necessary when trying just to determine if a sight-line is obstructed or not.
The reduction in the amount of triangles also greatly reduces the memory footprint and time it takes when a program does ray-intersection checks on the model.
In order to contribute, you'll need to clone the repository first. If you're unfamiliar with github, this can be done via the Code button on the main (Code) page of the repository. Clone will be one of the options using either a gui (Github Desktop is pretty user friendly if you're new to things) or directly.
After you've cloned your repo, make sure you create a new branch for the changes. Name the branch after the zone, or region, that you'll be editing. When you're finished with following the blender guide, you'll want to commit your changes to the branch (again, for beginners we recommend an interface like GitHub Desktop as it will make these steps pretty intuitive). After committing, you can submit a pull request to the repo. As part of your PR, please make sure to provide details and PROOF (ideally retail vid or several anecdotes) of the changes you're submitting, and be sure to provide before and after photos as samples. In many cases LoS changes aren't obvious - for instance Jugner forest only allows you to shoot across the river in certain places despite it seeming very obvious that you should be able to.