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
Describe the bug
This table is missing certain object model ID => LOD model ID associations.
e.g. ID 3589 (compfukhouse3)'s LOD model is 3592 (LODpfukhouse3)
To Reproduce
The correct LOD model of a world object / building is actually provided in processLineOfSight ("This function casts a ray between two points in the world, and tells you information about the point that was hit, if any."), which is used by the Map Editor in editor_main => client => main.lua @ processCursorLineOfSight() obtaining buildingId and buildingLOD.
Expected behavior
LOD_MAP should include all Object=>LOD model IDs in GTA:SA.
Screenshots
Version
MTA LOD Table [object] = [lodmodel]
Version of Apr 11, 2023 (last change as of submitting this issue)
Additional context
I created a Python script to parse all of the game's IPL files (including the binary IPLs converted to text), and create a dictionary of object model ID => LOD object model ID according to the info in https://gtamods.com/wiki/LOD#GTA_San_Andreas_.26_GTA_IV . I obtained the same LOD_MAP table in this experiment.
I noticed that some LOD Models like LODpfukhouse3 (3592) aren't actually linked by index by any object model in the same IPL file, which is why the script did not find them... Hmm...
EDIT: I understand now, Rockstar separated some LODs into separate binary IPL files :D
The text was updated successfully, but these errors were encountered:
Which resource(s) have this problem?
editor_main => server => mapEditorScriptingExtension_s.lua
mtasa-resources/[editor]/editor_main/server/mapEditorScriptingExtension_s.lua
Line 78 in d4c04db
Describe the bug
This table is missing certain
object model ID => LOD model ID
associations.e.g. ID
3589
(compfukhouse3
)'s LOD model is3592
(LODpfukhouse3
)To Reproduce
The correct LOD model of a world object / building is actually provided in
processLineOfSight
("This function casts a ray between two points in the world, and tells you information about the point that was hit, if any."), which is used by the Map Editor in editor_main => client => main.lua @processCursorLineOfSight()
obtainingbuildingId
andbuildingLOD
.Expected behavior
LOD_MAP should include all Object=>LOD model IDs in GTA:SA.
Screenshots
Version
MTA LOD Table [object] = [lodmodel]
Version of Apr 11, 2023 (last change as of submitting this issue)
Additional context
I created a Python script to parse all of the game's IPL files (including the binary IPLs converted to text), and create a dictionary of object model ID => LOD object model ID according to the info in https://gtamods.com/wiki/LOD#GTA_San_Andreas_.26_GTA_IV . I obtained the same LOD_MAP table in this experiment.
I noticed that some LOD Models like
LODpfukhouse3 (3592)
aren't actually linked by index by any object model in the same IPL file, which is why the script did not find them... Hmm...The text was updated successfully, but these errors were encountered: