Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

[SA|REL] Automatic LOD Placing


Link2012
 Share

Recommended Posts

fu2M7BNs.png NDB48kZs.png

What is it?

Do you know when you install a little map mod but it only shows the map when you are too close to it? Well, it's not the game's fault but the mapper's fault.
This ASI plugin aims to fix those mappers laziness (or newbiness) on-the-fly

At first it was being designed to be part of modloader but I decided to make it a separated plugin.

How does it work?
It's always good to know how something you are using works.
First, it assumes all custom IPL files are at the end of gta.dat (that's the right thing to do always anyway).
Then it builds a lookup table of all objects X lods based on the files that are being placed by the game (probably by original IPL files) and whenever a object has no lod it tries to find a lod for it based on this table.

Download
http://www.gtagarage.com/mods/show.php?id=25452
Link to comment
Share on other sites

  • 3 weeks later...

Hi
Is it possible to rewrite the code so that the LOD was paired with the object according to the list in a text file, eg:

# OBJ LOD
5000, 5003
4500, 5672
... etc

Link to comment
Share on other sites

  • 4 months later...

 

 

Okay, by using your mod, would this increase FPS? Also, say if you made a mod that loads all the objects at once, would the FPS increase or decrease?

 

Increase

 

do you know of such a mod that can load the whole map?

 

http://gtaforums.com/topic/573478-iiivcsa-project-2dfx/

on bonus scripts

Edited by LINK/2012
Link to comment
Share on other sites

Can this be used instead of Lod Mod or it functions only for the purpose of adding new maps into the game ?

 

---------

I thought I'm looking wrong, but this was started in January. How I didn't know about this or don't remember.

Edited by BLlTZ
Link to comment
Share on other sites

Can this be used instead of Lod Mod or it functions only for the purpose of adding new maps into the game ?

 

---------

I thought I'm looking wrong, but this was started in January. How I didn't know about this or don't remember.

Nope, it just gives LOD to objects without LOD that are supposed to have a LOD.

Mostly like caused by mappers that don't know about LODs or forgot to add them.

Link to comment
Share on other sites

 

 

 

Okay, by using your mod, would this increase FPS? Also, say if you made a mod that loads all the objects at once, would the FPS increase or decrease?

 

Increase

 

do you know of such a mod that can load the whole map?

 

http://gtaforums.com/topic/573478-iiivcsa-project-2dfx/

on bonus scripts

 

Awesome, been searching for that since 2013! Any other mods or fixes you can point me to that would increase fps or gameplay quality?

Edited by maurice96
Link to comment
Share on other sites

  • 2 weeks later...

YES! :lol::santa::cookie:

 

I can confirm this mod gave me 2-4 FPS! Tried it on a low endand mid range laptop!

Link to comment
Share on other sites

You dropped to 2-4 FPS because of some LOD's.. seriously?

Link to comment
Share on other sites

You dropped to 2-4 FPS because of some LOD's.. seriously?

I think he meant the mod increased his framerate by 2-4 fps.

jYzLR2j.png

Link to comment
Share on other sites

 

You dropped to 2-4 FPS because of some LOD's.. seriously?

I think he meant the mod increased his framerate by 2-4 fps.

 

Well that would make no sense since it adds more objects to the map.. maybe it does, who knows.

Link to comment
Share on other sites

He used the word GAVE. So it gave him 2-4 FPS. And it probably gave him a boost in frames due to lower models loading now, instead of the high quality models without LODs.

Link to comment
Share on other sites

He used the word GAVE. So it gave him 2-4 FPS. And it probably gave him a boost in frames due to lower models loading now, instead of the high quality models without LODs.

Thanks for pointing that out, its not like didn't mention it already. Oh, and along with that, the high quality model doesn't load outside of the distance of LOD's, so unless he has LOD's up close (won't happen), he shouldn't be getting an FPS boost and a standard San Andreas model wouldn't take 2-4 FPS anyway.

Edited by TJGM
Link to comment
Share on other sites

No need for the attitude. I'm an adult, sure you are too, so please, respond and speak in such manner.

 

It doesn't, but that could always be a bug when models aren't allowed LODs (by that I mean unoccupied.) when trying to load through files? If that's indeed not the case, I don't get the FPS boost.

Edited by Johnny_D
Link to comment
Share on other sites

  • 1 month later...

 

 

You dropped to 2-4 FPS because of some LOD's.. seriously?

I think he meant the mod increased his framerate by 2-4 fps.

 

Well that would make no sense since it adds more objects to the map.. maybe it does, who knows.

 

Theres improved performance with mods like 2dfx because on my pc, using 2dfx alone LODs would pop into the screen last minute - ultimately causing sudden drops in fps

Link to comment
Share on other sites

  • 4 weeks later...

Hey Link...

 

Could you tell me a bit more about this mod ?

 

Cause I'm doing a Vegetation overhaul for San Andreas, by reducing the polycount of those Oblivion tree models. Also I'm creating ultra-low-poly LOD models for every one of those trees.

 

This job doesn't scare me...what really scare me is re-editing all Binary IPLs. :panic:

 

Any tip to make my life easier ? Can Auto-Lod help me on this task ? If not...Do you know any other easy way of linking Model->LOD without touching binary IPLs ?

 

Thanks.

Edited by pep legal
Link to comment
Share on other sites

I did a modification on auto-lod some time ago to be more friendly for TC creators

https://dl.dropboxusercontent.com/u/35476123/Sources/Modding/GTA/ASI/LODLinker.zip

It searches for models replacing the LOD in the first three letters of the model name, like Vice City.

i.e. nwsnpedhus1_LAS -> LODnpedhus1_LAS

 

I'm not sure if I'm gonna release it individually but feel free to redist on your mod.

Edited by LINK/2012
Link to comment
Share on other sites

I did a modification on auto-lod some time ago to be more friendly for TC creators

.

.

.

 

 

Thank you for answering...it is very kind of you sharing your little tool.

 

But unfortunately that tool cannnot be applied in my situation (maybe not even the original auto-lod, I think).

 

I'm NOT creating NEW trees or NEW placements for trees. I'm just doing new meshes (dff-files) for vanilla trees...and adding low-poly LODs for those trees.

 

Theoretically, I'm supposed to tweak hundreds of lines in several stream IPLs, changing the last index from "-1" (LOD index), to point to the appropiate low-poly mesh. (also, I have to copy the coordinates and paste them as LOD coordinates).

 

That's the job I'm trying to avoid - ( because touching binary IPLs is very dangerous...and I should change so many lines...and I would conflict with other mods that touch binary IPLs as well )

 

Thanks anyway.

 

 

PS.: fico orgulhoso em ver um brasileiro fazendo parte da ELITE de modders desta fantástica comunidade.

Edited by pep legal
Link to comment
Share on other sites

But unfortunately that tool cannnot be applied in my situation (maybe not even the original auto-lod, I think).

 

I'm NOT creating NEW trees or NEW placements for trees. I'm just doing new meshes (dff-files) for vanilla trees...and adding low-poly LODs for those trees.

 

Theoretically, I'm supposed to tweak hundreds of lines in several stream IPLs, changing the last index from "-1" (LOD index), to point to the appropiate low-poly mesh. (also, I have to copy the coordinates and paste them as LOD coordinates).

Yes, that asi will help you into that, you just have to name your low-poly model (in IDEs too ofc) by replacing the first three letters of the non-LOD tree with 'LOD'.

For example, suppose there's a tree named rr_tree78. Now, you just have to name your low-poly tree as LODtree78, register it properly on a IDE, and that's it, no need to modify any LOD.

 

PS.: fico orgulhoso em ver um brasileiro fazendo parte da ELITE de modders desta fantástica comunidade.

Valeu :santa:

Edited by LINK/2012
Link to comment
Share on other sites

I did a modification on auto-lod some time ago to be more friendly for TC creators

https://dl.dropboxusercontent.com/u/35476123/Sources/Modding/GTA/ASI/LODLinker.zip

It searches for models replacing the LOD in the first three letters of the model name, like Vice City.

i.e. nwsnpedhus1_LAS -> LODnpedhus1_LAS

 

I'm not sure if I'm gonna release it individually but feel free to redist on your mod.

Hi: D

I have a problem with this tool, because my object LOD does not disappear

autolod.jpg

Edited by Rafal22
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

Hey, first of all I'm sorry for the massive bump, but I'm having the same problem as the guy above ^, basically the LOD model of some objects will show up at the same time as the normal one, and sometimes it has wrong rotation as well.

 

0z9GmgZ.png

 

If someone can tell me how do I enable the LOD models in the IPL files as a temporary fix, I will be very grateful.

Edited by StrafeBolt

jYzLR2j.png

Link to comment
Share on other sites

Locked on request. Mod will be shown and discussed in Link's workshop instead.

Edited by TJGM
Link to comment
Share on other sites

[23:47:07] LINK 2012: f*ck this mod

Edited by Silent
  • Like 3
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.